/* ==========================================================================
   SAC Engineers - Professional Civil Engineering & Property Valuation
   Corporate Engineering Website Stylesheet
   ========================================================================== */

/* CSS Variables - Corporate Engineering Color Palette */
:root {
    /* Primary Colors - Navy Professional */
    --primary-900: #0a1628;
    --primary-800: #0f2440;
    --primary-700: #1a3656;
    --primary-600: #234a75;
    --primary-500: #2d5f94;
    --primary-400: #4a7bb3;
    --primary-300: #7a9fc9;
    
    /* Accent Colors */
    --accent-gold: #c9a227;
    --accent-gold-light: #e0c35e;
    
    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Semantic Colors */
    --color-success: #10b981;
    --color-whatsapp: #25d366;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --section-padding: 6rem;
    --section-padding-mobile: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.btn .icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 4.5rem;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-700);
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--primary-700);
    transition: all var(--transition-base);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile Menu */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 4.5rem;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

/* Desktop Navigation */
@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 50%, var(--primary-600) 100%);
    padding-top: 4.5rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--accent-gold-light);
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 4rem;
}

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

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-top: 0.5rem;
}

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

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-base);
}

.scroll-indicator:hover {
    color: white;
}

.scroll-indicator svg {
    width: 1.5rem;
    height: 1.5rem;
    animation: bounce 2s infinite;
}

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

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
    padding: var(--section-padding-mobile) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--section-padding) 0;
    }
}

.section-dark {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-800);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-500);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    display: inline-block;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-height: 400px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -3rem;
    right: -3.5rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: var(--primary-900);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease;
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-text h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-700);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.about-features {
    margin: 1.5rem 0 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
    color: var(--gray-700);
}

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

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@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: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-600);
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--primary-800);
    margin-bottom: 0.75rem;
}

.service-description {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

.service-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-600);
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

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

.why-us-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.why-us-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.why-us-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.why-us-icon svg {
    width: 2rem;
    height: 2rem;
}

.why-us-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--primary-800);
    margin-bottom: 0.75rem;
}

.why-us-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

/* ==========================================================================
   Service Areas Section
   ========================================================================== */
.areas-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.areas-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

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

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

.area-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.area-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    background: var(--primary-600);
    color: white;
}

.area-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.area-item:hover .area-icon {
    color: white;
}

.area-item span {
    font-weight: 500;
}

/* ==========================================================================
   Certifications Section
   ========================================================================== */
.certifications-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.certifications-intro {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

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

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

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

.certification-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.certification-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-gold);
}

.certification-icon {
    width: 3rem;
    height: 3rem;
    background: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.certification-card h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--primary-800);
    margin-bottom: 0.5rem;
}

.certification-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.team-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

.team-img-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition-slow);
}

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

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

.team-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 0.25rem;
}

.team-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: 0.5rem;
}

.team-qualification {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.team-role {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent-gold);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    display: inline-block;
}

/* ==========================================================================
   Gallery Carousel
   ========================================================================== */
.gallery-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.gallery-carousel-container {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background: var(--gray-900);
}

.gallery-carousel-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.gallery-carousel-item {
    min-width: 100%;
    height: 500px;
    position: relative;
}

@media (min-width: 768px) {
    .gallery-carousel-item {
        min-width: 50%;
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .gallery-carousel-item {
        min-width: 33.333%;
        height: 350px;
    }
}

.gallery-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    z-index: 10;
}

.gallery-carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-carousel-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-700);
}

.gallery-carousel-btn.prev {
    left: 1rem;
}

.gallery-carousel-btn.next {
    right: 1rem;
}

.gallery-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.gallery-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-400);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.gallery-carousel-dot.active {
    background: var(--primary-600);
    border-color: var(--primary-600);
}

.gallery-carousel-dot:hover {
    background: var(--primary-400);
}

/* ==========================================================================
   Gallery Section (Legacy Grid - kept for reference if needed)
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--primary-800);
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
}

.contact-value:hover {
    color: var(--primary-600);
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 350px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--primary-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 2.5rem;
    width: auto;
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.footer-description {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-services a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent-gold);
}

.footer-contact p {
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.footer-contact a {
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--accent-gold);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-whatsapp);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
}

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

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .navbar,
    .hero-scroll,
    .contact-buttons,
    .footer {
        display: none;
    }
    
    .section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
}
