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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #090802;
    color: #F4F4F4;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --bg-primary: #090802;
    --bg-secondary: rgba(9, 8, 2, 0.5);
    --bg-tertiary: rgba(9, 8, 2, 0.8);
    --primary: #BF983A;
    --primary-dark: #614E23;
    --primary-light: #D4B771;
    --text-primary: #F4F4F4;
    --text-secondary: rgba(244, 244, 244, 0.7);
    --text-muted: rgba(244, 244, 244, 0.5);
    --border: rgba(191, 152, 58, 0.2);
    --border-hover: rgba(191, 152, 58, 0.4);
    --shadow: rgba(191, 152, 58, 0.25);
    --shadow-light: rgba(191, 152, 58, 0.1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .container {
        padding-left: calc(24px + env(safe-area-inset-left));
        padding-right: calc(24px + env(safe-area-inset-right));
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: calc(32px + env(safe-area-inset-left));
        padding-right: calc(32px + env(safe-area-inset-right));
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 3rem;
    }
}

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

.btn-primary {
    background: var(--primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Shimmer Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 183, 113, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
    padding-left: calc(env(safe-area-inset-left));
    padding-right: calc(env(safe-area-inset-right));
}

.header.scrolled {
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 5rem;
    max-width: 5rem;
    height: 4rem;
    max-height: 4rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav-desktop {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(191, 152, 58, 0.1);
}

.header-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .header-actions {
        display: flex;
    }
}

.lang-switcher {
    display: flex;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    padding: 0.25rem;
    gap: 0.25rem;
}

.lang-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.lang-btn.active {
    background: var(--primary);
    color: var(--bg-primary);
}

.lang-btn:hover:not(.active) {
    color: var(--primary);
    background: rgba(191, 152, 58, 0.1);
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile {
    display: none;
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 1rem;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile .nav-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-mobile .nav-link:last-child {
    border-bottom: none;
}

.mobile-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: radial-gradient(circle at 1px 1px, rgba(191, 152, 58, 0.1) 1px, transparent 0); */
    /* background-size: 20px 20px; */
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    max-width: auto;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-logo {
    text-align: center;
}

.logo-large {
    /* background: var(--primary); */
    color: var(--bg-primary);
    /* border-radius: 1rem; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 3rem;
    margin: 2rem auto 1.5rem;
    max-width: 100%;
}

    @media (max-width: 640px) {
        .logo-large {                         /* kill the negative margin on small screens */
          margin: 1.5rem auto;
        }
      }
      /* 2) make the logo image/SVG fully responsive and not cropped */
.logo-large img,
.logo-large svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    width: clamp(200px, 70vw, 520px);
    object-fit: contain;
}

/* 3) if you used the logo as a *background-image* anywhere, stop it from cropping */
.hero-logo,
.logo-large {
  background-position: center;
  background-repeat: no-repeat;
  /* If you are using a background logo, use contain (no crop) */
  background-size: contain;             /* NOT cover for logos with text */
}

/* 4) avoid tiny horizontal shifts on iOS */
.container, .hero, .logo-large {
  box-sizing: border-box;
}

@supports (padding: max(0px)) {
  .container, .hero {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}

/* 5) prevent accidental cropping by a parent */
.hero, .hero-logo, .logo-large {
  overflow: visible;                     /* make sure nothing clips the logo */
}

/* 6) common iOS fix: avoid 100vw containers that push content sideways */
.wrapper, .hero {
  width: 100%;                           /* prefer 100% over 100vw */
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: auto;
    margin-left: auto;
    margin-right: auto;
}

.hero-location {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

/* .map-wrap {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.map-wrap iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
    border-radius: 0.5rem;
}

@media (min-width: 768px) {
    .map-wrap iframe {
        height: 400px;
    }
} */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid var(--primary);
    border-radius: 1rem;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0.75rem;
    background: var(--primary);
    border-radius: 1px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    /*grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));*/
    gap: 0.5rem;
    justify-items: center;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 250%;
    /* width: 400px; */
    width: min(100%, 360px);
    margin-inline: auto;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px var(--shadow-light);
}

.service-icon {
    display: flex;
    width: 4rem;
    height: 4rem;
    background: rgba(191, 152, 58, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(191, 152, 58, 0.2);
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    color: var(--text-secondary);
}

/* Process Section */
.process {
    background: var(--bg-secondary);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(191, 152, 58, 0.5), var(--primary));
}

@media (min-width: 768px) {
    .process-timeline::before {
        left: 4rem;
    }
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 0;
}

@media (max-width: 767px) {
    .process-step {
        gap: 1rem;
        margin-bottom: 2rem;
    }
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 10px 25px var(--shadow);
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
}

.step-content {
    flex: 1;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    min-width: 0;
}

@media (max-width: 767px) {
    .step-content {
        padding: 1rem;
    }
}

.step-content:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px var(--shadow-light);
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

@media (max-width: 767px) {
    .step-content h3 {
        font-size: 1.125rem;
    }
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Packages Section */
.packages {
    background: var(--bg-primary);
}

.packages-grid {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.package-card {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    margin-inline: auto;
    width: min(100%, 360px);
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px var(--shadow-light);
}

.package-card.popular::after hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 40px var(--shadow);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 60%;
    transform: translateX(-40%);
    background: var(--primary);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.package-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.package-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Before/After Section */
.before-after {
    background: var(--bg-secondary);
}

.compare-container {
    max-width: 1100px;
    margin: auto;
    padding-inline: 24px;
}

.compare-slider {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow);
    cursor: col-resize;
    user-select: none;
}

.compare-before,
.compare-after {
    position: relative;
    height: 400px;
}

.compare-before img,
.compare-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.compare-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
}

.compare-label {
    position: absolute;
    top: 1rem;
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.before-label {
    left: 1rem;
}

.after-label {
    right: 1rem;
}

.compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    left: 50%;
    transform: translateX(-50%);
    cursor: col-resize;
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 5px 15px var(--shadow);
}

.handle-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.75rem;
    height: 0.75rem;
    background: var(--bg-primary);
    border-radius: 50%;
}

.compare-instructions {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px var(--shadow-light);
}

.testimonial-stars {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--primary);
    font-weight: 600;
}

/* Gallery Section */
.gallery {
    background: var(--bg-secondary);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 0.25rem;
    display: inline-flex;
    margin-left: 0;
    transform: none;
    justify-content: center; 
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.filter-btn.active {
    background: var(--primary);
    color: var(--bg-primary);
}

.filter-btn:hover:not(.active) {
    color: var(--primary);
    background: rgba(191, 152, 58, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-light);
}

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

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

/* Direct image styling for gallery */
.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px var(--shadow-light);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--bg-tertiary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-tag {
    background: rgba(191, 152, 58, 0.9);
    backdrop-filter: blur(10px);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: capitalize;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    }
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-item {
    display: grid;
    align-items: start;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    min-width: 0;
}

@media (max-width: 480px) {
    .contact-item { grid-template-columns: 1fr; }
  }

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(191, 152, 58, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item p {
    margin: 0 0 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}
/* @media (min-width: 300px)
{
    .contact-link,
    .contact.phoneLabel {
        align-items: start;
        margin-left: -280%;
    }
} */
.contact-link:hover {
    color: var(--primary-light);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    margin-left: 0;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .contact-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.contact-number {
    width: auto;
    min-width: 0;
}

@media (min-width: 300px) {
    .contact-number {
        align-items: start;
    }
}

.contact-form {
    display: grid;
    gap: 1rem;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

.contact-form h3 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    min-width: 0; 
}
.contact-form input,
.contact-form textarea,
.contact-form select,
.contact-form button {
  width: 100%;
  box-sizing: border-box;
  display: block;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(191, 152, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    /* padding: 2rem 0; */
    padding-left: calc(env(safe-area-inset-left));
    padding-right: calc(env(safe-area-inset-right));
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 0.5rem 0 0 0;
}

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

@media (min-width: 640px) {
    .footer-contact {
        flex-direction: row;
        gap: 2rem;
    }
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.875rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

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

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    font-weight: 700;
}

.lightbox-close {
    top: -1rem;
    right: -1rem;
}

.lightbox-prev {
    left: -4rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: -4rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    color: var(--bg-primary);
    border-color: var(--primary);
}

.lightbox-info {
    position: absolute;
    bottom: -3rem;
    left: 0;
    right: 0;
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.lightbox-tag {
    color: var(--primary);
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 0.5rem;
}

.lightbox-caption {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.contact-content {
    max-width: 1000px;
    grid-template-columns: 1fr;
    gap: 2rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-icon,
.contact-number {
    justify-items: start;
}

.contact-number {
    width: auto;
    min-width: 0;
}

@media (min-width: 300px) {
    .contact-number {
        align-items: start;
    }
}
/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
        justify-items: center;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .package-card.popular {
        transform: none;
    }
    
    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
    
    /* iPhone specific fixes */
    .services-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .service-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .packages-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .package-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-grid img {
        height: 200px;
    }
    
    .compare-slider {
        height: 300px;
    }
    
    .compare-before,
    .compare-after {
        height: 300px;
    }
}

/* iPhone landscape and small tablets */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 80vh;
    }
    
    .logo-large img {
        width: clamp(150px, 50vw, 300px);
    }
}

/* iPhone portrait */
@media (max-width: 414px) {
    .hero-tagline {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .logo-large img {
        width: clamp(180px, 60vw, 250px);
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .package-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .gallery-grid img {
        height: 180px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .lightbox {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
