/* Modern CSS Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #f39c12;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #ecf0f1;
  --bg-white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* Smooth scrolling and animations */
html {
  scroll-behavior: smooth;
}

/* Header - Modern Hero Section */
.header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  pointer-events: auto;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__logo a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.header__logo a:hover {
  transform: scale(1.05);
}

.header__logo a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.header__logo a:active {
  transform: scale(0.98);
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__nav {
  margin: 0;
}

.nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav__link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav__link:hover {
  color: var(--accent-color);
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: var(--bg-white);
  text-align: center;
  padding: 120px 2rem 80px;
  margin-top: 80px;
}

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

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: 1.3rem;
  margin: 0 0 2rem;
  opacity: 0.9;
  font-weight: 300;
}

.hero__cta {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.hero__cta:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Main Content Sections */
.main-content {
  background: var(--bg-white);
  padding: 2rem 0;
}

.section {
  padding: 5rem 10%;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-light);
}

.section__title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  text-align: center;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about__text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.about__image {
  border-radius: 20px !important;
  overflow: visible !important;
  box-shadow: var(--shadow) !important;
  transition: transform 0.3s ease !important;
  display: inline-block !important;
}

.about__image:hover {
  transform: scale(1.05);
}

.about__image img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 20px !important;
}

/* Services Section */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.service-card__icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.service-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card__description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Gallery Section */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery__item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery__item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.gallery__item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery__item:hover .gallery__overlay {
  transform: translateY(0);
}

.gallery__item-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery__item-description {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Testimonials Section */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 4rem;
  color: var(--accent-color);
  font-family: serif;
}

.testimonial-card__quote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.testimonial-card__author {
  font-weight: 600;
  color: var(--secondary-color);
}

/* Contact Section */
.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info__card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-info__item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.contact-info__item:hover {
  background: var(--bg-light);
}

.contact-info__icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: white;
  font-size: 1.2rem;
}

.contact-info__text {
  flex: 1;
}

.contact-info__label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  color: var(--text-light);
}

.contact-info__link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info__link:hover {
  color: var(--accent-color);
}

/* Contact Form */
.contact-form {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-form__field {
  margin-bottom: 1.5rem;
}

.contact-form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-light);
}

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__select:focus {
  outline: none;
  border-color: var(--accent-color);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__button {
  background: var(--gradient-secondary);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  width: 100%;
}

.contact-form__button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Messages */
.contact-form__messages {
  margin-bottom: 1.5rem;
}

.message {
  padding: 1rem;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
}

.message--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 5rem;
}

.footer__text {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header__title {
    font-size: 2.5rem;
  }

  .header__subtitle {
    font-size: 1.2rem;
  }

  .section {
    padding: 3rem 5%;
  }

  .section__title {
    font-size: 2.5rem;
  }

  .about__content,
  .contact__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav__list {
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1003;
  }

  .header__nav {
    top: 1rem;
    right: 1rem;
  }

  .mobile-menu-toggle {
    display: block;
    position: relative;
    z-index: 1003;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1002;
    padding: 80px 2rem 2rem;
    pointer-events: auto;
  }

  .header__nav.active {
    right: 0;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 1rem;
  }

  .nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1003;
    cursor: pointer;
  }

  .nav__link:hover {
    background: #f8f9fa;
    margin: 0 -2rem;
    padding: 1rem 2rem;
  }

  /* Overlay when menu is open */
  .mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .mobile-overlay.active {
    display: block;
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .header__title {
    font-size: 2rem;
  }

  .section {
    padding: 2rem 3%;
  }

  .section__title {
    font-size: 2rem;
  }

  .services__grid,
  .gallery__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Service Areas Section */
.service-areas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.service-area__item {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.service-area__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-area__item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-area__item p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

.service-areas__cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 15px;
}

.service-areas__cta p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.hero__location {
  font-size: 1rem;
  margin: 0 0 2rem;
  opacity: 0.8;
  font-weight: 400;
}

/* Lightbox Styles - Global Image Popup */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox__content {
  position: relative;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: -70px;
  right: 0;
  color: #f1f1f1;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox__close:hover,
.lightbox__close:focus {
  color: #bbb;
  text-decoration: none;
}

.lightbox__caption {
  margin-top: 20px;
  color: white;
  text-align: center;
}

.lightbox__caption h3 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.lightbox__caption p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  padding: 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox__nav--prev {
  left: -60px;
}

.lightbox__nav--next {
  right: -60px;
}

/* Make all gallery images clickable for lightbox, except logo */
img[src*="gallery/"]:not([src*="logo.png"]) {
  cursor: pointer;
  transition: transform 0.3s ease;
}

img[src*="gallery/"]:not([src*="logo.png"]):hover {
  transform: scale(1.02);
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery__item:hover .gallery__overlay {
  transform: translateY(0);
}

.gallery__overlay h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.gallery__overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Responsive adjustments for lightbox */
@media (max-width: 768px) {
  .lightbox__nav {
    padding: 10px;
    font-size: 18px;
  }

  .lightbox__nav--prev {
    left: 10px;
  }

  .lightbox__nav--next {
    right: 10px;
  }

  .lightbox__close {
    top: -30px;
    right: 10px;
  }
}

/* Gallery Grid Layout */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.gallery__item {
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery__item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gallery__item:hover img {
  transform: scale(1.05);
}
