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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  color: #1a2947;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn--whatsapp {
  background-color: #25d366;
  color: white;
}

.btn--whatsapp:hover {
  background-color: #1ebe57;
  transform: translateY(-2px);
}

.btn--call {
  background-color: #007bff;
  color: white;
}

.btn--call:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Header - Base Styles (Mobile First) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 41, 71, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
}

/* Logo - Base Styles */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a2947;
  white-space: nowrap;
  max-width: 193px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

.nav__logo i {
  color: #d4af37;
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* Navigation Menu - Base Styles (Hidden on Mobile) */
.nav__menu {
  display: none; /* Hidden on mobile by default */
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  box-shadow: none;
  z-index: auto;
  right: auto;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-direction: row;
  text-align: left;
  width: auto;
  padding: 0;
  margin: 0;
}

.nav__link {
  font-weight: 500;
  color: #2c3e50;
  position: relative;
  font-size: 1rem;
  padding: 0.5rem 0;
  display: block;
  border-radius: 0;
  transition: all 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.nav__link:hover {
  background-color: transparent;
  color: #d4af37;
}

.nav__link:hover::after {
  width: 100%;
}

/* Mobile Toggle Button - Base Styles */
.nav__toggle {
  display: block;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.nav__toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Mobile Menu Styles (Default for Mobile) */
.nav__menu.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  height: 100vh;
  background: white;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 5rem;
  transition: right 0.3s ease;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  display: flex; /* Show menu when active */
}

.nav__menu.show {
  right: 0;
}

.mobile-menu .nav__list {
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  width: 100%;
  padding: 0 1rem;
}

.mobile-menu .nav__link {
  font-size: 1.125rem;
  padding: 0.75rem 1rem;
  display: block;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.mobile-menu .nav__link:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

.nav__close {
  display: block;
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.nav__close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Sections */
.section {
  padding: 3rem 0;
}

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

.section__title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f5a623);
  border-radius: 2px;
}

.section__subtitle {
  font-size: 1rem;
  color: #6c757d;
  max-width: 500px;
  margin: 0 auto;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(26, 41, 71, 0.9), rgba(44, 62, 80, 0.9));
  color: white;
  text-align: center;
  position: relative;
  padding: 5rem 0 2rem;
}

.hero__container {
  width: 100%;
  padding: 0 1rem;
}

.hero__title {
  font-size: 1.75rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: white;
}

.hero__title--highlight {
  color: #d4af37;
}

.hero__description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero__badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.hero__badge i {
  color: #d4af37;
}

.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

.hero__buttons .btn {
  width: 100%;
  max-width: 280px;
  justify-content: center;
}

/* Services */
.services {
  background: #f8f9fa;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service__card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #d4af37, #f5a623);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.service__icon i {
  font-size: 1.75rem;
  color: white;
}

.service__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service__description {
  color: #6c757d;
  line-height: 1.6;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.about__item {
  text-align: center;
  padding: 1.5rem;
}

.about__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.about__icon i {
  font-size: 1.75rem;
  color: #d4af37;
}

.about__number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a2947;
}

.about__title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.about__description {
  color: #6c757d;
  line-height: 1.6;
}

/* Contact */
.contact {
  background: #f8f9fa;
}

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

.contact__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  text-align: center;
  gap: 0.75rem;
}

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #d4af37;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact__icon i {
  color: white;
  font-size: 1.25rem;
}

.contact__title {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.contact__text {
  color: #6c757d;
}

.contact__text a {
  color: #d4af37;
  font-weight: 500;
}

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

.contact__actions .btn {
  width: 100%;
  justify-content: center;
}

/* Footer */
.footer {
  background: #1a2947;
  color: white;
  padding: 2rem 0 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__logo i {
  color: #d4af37;
  font-size: 1.75rem;
}

.footer__description {
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.3s ease;
}

.footer__social-link:hover {
  background: #d4af37;
}

.footer__title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: #d4af37;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 0.5rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #d4af37;
}

.footer__list li i {
  margin-right: 0.5rem;
  color: #d4af37;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
}

.footer__copy {
  opacity: 0.7;
  font-size: 0.875rem;
}

/* Sticky Buttons */
.sticky-buttons {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.sticky-btn--whatsapp {
  background: #25d366;
}

.sticky-btn--whatsapp:hover {
  background: #1ebe57;
  transform: scale(1.1);
}

.sticky-btn--call {
  background: #007bff;
}

.sticky-btn--call:hover {
  background: #0056b3;
  transform: scale(1.1);
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 45px;
  height: 45px;
  background: #d4af37;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #f5a623;
  transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ========================================== */

/* Tablet Styles (769px and up) */
@media screen and (min-width: 769px) {
  .container {
    padding: 0 2rem;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.375rem; }

  .hero__title {
    font-size: 2.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  /* Navigation for Tablet */
  .nav {
    padding: 1rem;
  }

  .nav__logo {
    font-size: 1.25rem;
    max-width: 200px;
  }

  .nav__logo i {
    font-size: 1.5rem;
  }

  /* Services Grid for Tablet */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

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

  /* Contact for Tablet */
  .contact__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* Hero for Tablet */
  .hero__buttons .btn {
    max-width: 250px;
  }
}

/* Desktop Styles (1025px and up) */
@media screen and (min-width: 1025px) {
  .container {
    padding: 0 2rem;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }

  .hero__title {
    font-size: 2.75rem;
  }

  .section {
    padding: 5rem 0;
  }

/* Desktop Navigation - Enable Horizontal Menu */
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    height: auto;
  }

  .nav__logo {
    font-size: 1.25rem;
    max-width: 275px;
    white-space: nowrap;
    line-height: 1.2;
    flex-shrink: 0;
  }

  .nav__logo i {
    font-size: 1.5rem;
  }

  /* Hide mobile toggle on desktop */
  .nav__toggle {
    display: none;
  }

  /* Show desktop navigation menu */
  .nav__menu {
    display: flex !important;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    box-shadow: none;
    z-index: auto;
    right: auto;
  }

  .nav__list {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    text-align: center;
    width: auto;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .nav__link {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 0;
    display: block;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    min-width: 80px;
    text-align: center;
  }

  .nav__link:hover {
    background-color: transparent;
    color: #d4af37;
  }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
  }

  .nav__link:hover::after {
    width: 80%;
  }

  .nav__close {
    display: none;
  }

  /* Desktop Layouts */
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

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

  .contact__content {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .contact__info {
    grid-template-columns: 1fr;
  }

  .contact__card {
    flex-direction: row;
    text-align: left;
  }

  .contact__actions .btn {
    width: auto;
  }

  .footer__content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }

  .hero__buttons {
    flex-direction: row;
  }

  .hero__buttons .btn {
    width: auto;
    min-width: 220px;
  }

  .hero__badges {
    flex-direction: row;
  }

  .hero {
    padding: 0;
    min-height: 100vh;
  }

  .hero__title {
    font-size: 2.75rem;
  }
}

/* Small Mobile (under 480px) */
@media screen and (max-width: 479px) {
  .container {
    padding: 0 0.75rem;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.125rem; }

  .section {
    padding: 2rem 0;
  }

  .nav__menu {
    width: 90%;
  }

  .hero {
    min-height: 85vh;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__description {
    font-size: 0.9rem;
  }

  .hero__buttons .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }

  .service__card,
  .about__item {
    padding: 1.5rem;
  }

  .contact__card {
    padding: 1rem;
  }

  .sticky-buttons {
    bottom: 1rem;
    right: 1rem;
  }

  .sticky-btn {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .scroll-top {
    bottom: 5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
  .service__card,
  .about__item,
  .contact__card {
    animation: fadeInUp 0.6s ease-out;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Focus styles for accessibility */
button:focus,
a:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .sticky-buttons,
  .scroll-top,
  .nav__toggle,
  .nav__close {
    display: none !important;
  }

  .hero {
    background: none !important;
    color: black !important;
    min-height: auto;
  }

  .hero__title,
  .section__title {
    color: black !important;
  }
}

