/* Global styles for the DevBizPro website */

:root {
  /* Color variables based on the reference website */
  --primary-bg: #0d0d0d;
  --secondary-bg: #111111;
  --text-color: #ffffff;
  --primary-accent: #4285f4;
  --secondary-accent: #8a56e2;
  --tertiary-accent: #ff4081;
  --business-color: #ff6b6b;
  --webapp-color: #8a56e2;
  --integration-color: #ff9f43;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--primary-bg);
  color: var(--text-color);
  line-height: 1.6;
}

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.0rem;
}

h3 {
  font-size: 1.70rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-accent);
}

button {
  cursor: pointer;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Category badges */
.category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.category-badge.business {
  background-color: var(--business-color);
}

.category-badge.webapp {
  background-color: var(--webapp-color);
}

.category-badge.integration {
  background-color: var(--integration-color);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-accent);
  color: white;
}

.btn-primary:hover {
  background-color: #3b77db;
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-accent);
  color: var(--primary-accent);
}

.btn-outline:hover {
  background-color: var(--primary-accent);
  color: white;
}

/* Loading spinner */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top: 4px solid var(--primary-accent);
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Error message */
.error-message {
  background-color: rgba(255, 0, 0, 0.1);
  color: #ff6b6b;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
  text-align: center;
}

/* Header styles */
.header {
  background-color: var(--primary-bg);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--primary-accent);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-accent);
}

/* Hero Section */
.hero-section {
  padding: 6rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.4rem;
}

.hero-title-white {
  color: var(--text-color);
}

.hero-title-blue {
  color: var(--primary-accent);
}

.hero-title-purple {
  color: var(--secondary-accent);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-block;
  background-color: var(--primary-accent);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-cta:hover {
  background-color: #3b77db;
  color: white;
  transform: translateY(-2px);
}

/* Featured Projects Section */
.featured-projects-section {
  padding: 5rem 0;
  background-color: var(--secondary-bg);
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.featured-project-card {
  background-color: var(--primary-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.featured-project-card:hover {
  transform: translateY(-5px);
}

.featured-project-image {
  height: 250px;
  overflow: hidden;
}

.featured-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-project-card:hover .featured-project-image img {
  transform: scale(1.05);
}

.featured-project-content {
  padding: 1.5rem;
}

.featured-project-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.featured-project-byline {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.featured-project-description {
  margin-bottom: 1.5rem;
}

.featured-project-link {
  display: inline-block;
  color: var(--primary-accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-project-link:hover {
  color: #3b77db;
}

/* All Projects Section */
.all-projects-section {
  padding: 5rem 0;
}

.view-all-projects {
  text-align: center;
  margin-top: 2rem;
}

.view-all-link {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-accent);
  border: 2px solid var(--primary-accent);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.view-all-link:hover {
  background-color: var(--primary-accent);
  color: white;
}

/* Footer styles */
.footer {
  background-color: var(--secondary-bg);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo a {
  color: var(--primary-accent);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-accent);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--primary-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Projects Page */
.projects-page {
  background-color: var(--primary-bg);
}

.projects-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.category-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.category-filter {
  background-color: transparent;
  border: 2px solid var(--primary-accent);
  color: var(--primary-accent);
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-filter.active,
.category-filter:hover {
  background-color: var(--primary-accent);
  color: white;
}

.projects-grid-section {
  padding: 2rem 0 5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: var(--secondary-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
}

/* Clickable card styles */
.clickable-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.clickable-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(66, 133, 244, 0.2);
}

.clickable-card .project-link {
  color: var(--primary-accent);
  font-weight: 600;
  margin-top: auto;
  padding-top: 1rem;
}

.project-image {
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Project detail page specific styling */
.project-detail-page .project-title {
  font-size: 1.75rem;
  margin: 0.4rem 0;
}

.project-byline {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

/* Project detail page specific styling */
.project-detail-page .project-byline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.project-category {
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.project-link {
  display: inline-block;
  color: var(--primary-accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.project-link:hover {
  color: #3b77db;
}

.no-projects {
  text-align: center;
  padding: 3rem 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Project Detail */
.project-detail-page {
  background-color: var(--primary-bg);
}

.project-hero {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.project-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
}

.project-hero-content {
  position: relative;
  padding-bottom: 3rem;
}

.project-content-section {
  padding: 4rem 0;
}

.project-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.project-description {
  margin-bottom: 3rem;
}

.project-description h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.project-description p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-description ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.project-description li {
  margin-bottom: 0.5rem;
}

.project-key-features {
  margin-bottom: 3rem;
}

.project-key-features h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-key-features ul {
  list-style-type: none;
  padding: 0;
}

.project-key-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.project-key-features li::before {
  content: '✓';
  color: var(--primary-accent);
  margin-right: 0.75rem;
  font-weight: bold;
}

/* Project URL Section */
.project-url-section {
  margin-bottom: 3rem;
}

.project-url-card {
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--secondary-accent) 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3);
  transition: all 0.3s ease;
}

.project-url-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(66, 133, 244, 0.4);
}

.project-url-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.project-url-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.project-url-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  color: var(--primary-accent);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-url-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: var(--primary-accent);
  text-decoration: none;
}

.project-url-button i {
  font-size: 1.2rem;
}

/* Project Hero Button */
.project-hero-actions {
  margin-top: 2rem;
  text-align: center;
}

/* Subtle hero link */
.project-hero-link {
  margin-top: 1.5rem;
  text-align: center;
}

.project-hero-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.project-hero-link a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}


.hero-link-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.project-hero-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--secondary-accent) 100%);
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.project-hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(66, 133, 244, 0.5);
  color: white;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.2);
}

.project-hero-button i {
  font-size: 1.3rem;
}

.project-hero-button .fa-rocket {
  color: #ffd700;
}

/* Project Navigation Button */
.project-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.project-navigation-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--secondary-accent) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.project-navigation-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
  color: white;
  text-decoration: none;
}

.project-navigation-button i {
  font-size: 1.2rem;
}

.back-to-projects {
  display: inline-block;
  background-color: var(--primary-accent);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.back-to-projects:hover {
  background-color: #3b77db;
  color: white;
  transform: translateY(-2px);
}

/* About Page */
.about-page {
  background-color: var(--primary-bg);
}

.about-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.stats-section {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-card {
  background-color: var(--secondary-bg);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.stat-icon {
  color: var(--primary-accent);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
}

.expertise-section {
  padding: 4rem 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.expertise-card {
  background-color: var(--secondary-bg);
  border-radius: 8px;
  padding: 2rem;
}

.expertise-title {
  color: var(--primary-accent);
  margin-bottom: 1.5rem;
}

.expertise-content {
  margin-bottom: 0;
}

/* Contact Page */
.contact-page {
  background-color: var(--primary-bg);
}

.contact-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.contact-form-section {
  padding: 2rem 0 5rem;
}

.contact-form {
  background-color: var(--secondary-bg);
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-accent);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  background-color: var(--primary-accent);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background-color: #3b77db;
  transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2Srem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .featured-projects-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .project-hero {
    height: 300px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .category-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .category-filter {
    width: 100%;
    max-width: 200px;
  }
}

/* Admin styles */
.admin-login {
  max-width: 400px;
  margin: 100px auto;
  padding: 2rem;
  background-color: var(--secondary-bg);
  border-radius: 8px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-title {
  margin-bottom: 0;
}

.admin-sidebar {
  width: 250px;
  background-color: var(--secondary-bg);
  padding: 1.5rem;
  height: calc(100vh - 70px);
  position: fixed;
  top: 70px;
  left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-main {
  margin-left: 250px;
  padding: 2rem;
}

.admin-nav {
  list-style: none;
}

.admin-nav-item {
  margin-bottom: 0.5rem;
}

.admin-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-accent);
}

.admin-card {
  background-color: var(--secondary-bg);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.admin-form-group {
  margin-bottom: 1.5rem;
}

.admin-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table th {
  background-color: rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.admin-table tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.admin-action-btn {
  background-color: transparent;
  color: var(--primary-accent);
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.admin-action-btn:hover {
  color: #3b77db;
}

/* Project Gallery Styles */
.project-gallery {
  margin: 3rem 0;
}

.project-gallery h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 100%;
}

.gallery-thumbnail {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  aspect-ratio: 16/9;
  max-width: 100%;
  max-height: 200px;
  width: 100%;
  height: auto;
}

.gallery-thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.gallery-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease;
  max-width: 100% !important;
  max-height: 100% !important;
}

.gallery-thumbnail:hover img {
  transform: scale(1.05);
}

/* Lightbox Modal Styles */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-image-container {
  position: relative;
  max-width: 100%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  /* Responsive maximum sizes based on screen size */
  max-width: min(90vw, 1200px);
  max-height: min(70vh, 800px);
}

.lightbox-info {
  margin-top: 1rem;
  text-align: center;
}

.lightbox-counter {
  color: white;
  font-size: 1rem;
  font-weight: 500;
}

.lightbox-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.lightbox-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.lightbox-thumbnail:hover,
.lightbox-thumbnail.active {
  opacity: 1;
  transform: scale(1.1);
}

.lightbox-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Gallery */
@media (max-width: 1200px) {
  .lightbox-image {
    max-width: min(85vw, 1000px);
    max-height: min(65vh, 700px);
  }
}

@media (max-width: 768px) {
  .gallery-thumbnails {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  
  .lightbox-image {
    max-width: min(95vw, 600px);
    max-height: min(60vh, 500px);
  }
  
  .lightbox-nav {
    font-size: 1.2rem;
    padding: 0.75rem;
    width: 50px;
    height: 50px;
  }
  
  .lightbox-prev {
    left: 1rem;
  }
  
  .lightbox-next {
    right: 1rem;
  }
  
  .lightbox-close {
    top: -40px;
    font-size: 1.2rem;
    padding: 0.4rem;
  }
  
  .lightbox-thumbnails {
    gap: 0.25rem;
  }
  
  .lightbox-thumbnail {
    width: 50px;
    height: 50px;
  }
}

/* About Section Styles */
.about-section {
  padding: 4rem 0;
  background: var(--primary-bg);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-heading {
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  text-align: left;
}

.about-divider {
  width: 100%;
  height: 1px;
  background: var(--text-color);
  border: none;
  margin: 0 0 2rem 0;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 3rem;
  text-align: left;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.skill-card {
  background: var(--secondary-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.skill-icon {
  margin-bottom: 1.5rem;
}

.skill-icon i {
  font-size: 2rem;
  color: var(--primary-accent);
}

.skill-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.skill-description {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
  .about-section {
    padding: 3rem 0;
  }
  
  .about-heading {
    font-size: 2rem;
  }
  
  .about-text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .skill-card {
    padding: 1.5rem;
  }
  
  .skill-icon i {
    font-size: 1.5rem;
  }
  
  .skill-title {
    font-size: 1.1rem;
  }
  
  .skill-description {
    font-size: 0.95rem;
  }
} 