/* Global Theme & Variables */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* Brand Colors extracted from Logo */
    --primary-color: #D9368B;
    /* Pink/Magenta */
    --primary-hover: #C2185B;
    --secondary-color: #FFD700;
    /* Sunset Yellow */
    --secondary-hover: #FFC107;
    --accent-color: #00BFFF;
    /* Ocean Blue */
    --accent-hover: #009ACD;

    /* Neutrals */
    --text-main: #2c3e50;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --footer-bg: #1a1a1a;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-headings: 'Playfair Display', serif;
    /* Elegant Serif */
    --font-alt: 'Outfit', sans-serif;
    /* Keep for small UI elements if needed */
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    color: var(--text-main);
    font-weight: 700;
}

/* ... (rest of standard styles) ... */

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.container {
    max-width: 1430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-alt, sans-serif);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(217, 54, 139, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 54, 139, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
}

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

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

/* --- Minimalist Header --- */
.site-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    /* More breathing room */
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle separation */
}

.site-header.transparent-header {
    background-color: rgba(255, 255, 255, 0.95);
    /* Light background for visibility */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    /* Stays at top when scrolling */
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Subtle shadow when scrolling */
}

.transparent-header .nav-link {
    color: var(--primary-color);
    /* Logo Pink - visible on light background */
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.transparent-header .nav-link:hover,
.transparent-header .nav-link.active {
    color: var(--primary-hover);
    /* Darker pink on hover */
    opacity: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    /* Let padding define height */
}

.logo-container img {
    height: 90px;
    /* Increased for better visibility */
    width: auto;
}

.transparent-header .logo-container img {
    /* No filter needed - logo displays in original colors on light background */
}

.nav-menu {
    display: flex;
    gap: 3rem;
    /* Wider spacing */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--primary-color);
    /* Logo Pink */
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Luxury spacing */
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-hover);
    /* Darker pink on hover */
    opacity: 1;
}

/* --- Minimalist Hero --- */
.hero-wrapper {
    position: relative;
    min-height: 90vh;
    /* Immersive */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    /* Prevent video/image overflow */
    /* No padding-bottom for wave */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-wrapper.hero-small {
    min-height: 60vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Flat, clean darkening */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 4.5rem;
    font-weight: 400;
    /* Lighter weight for elegance */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    /* Tighter for serif headlines */
}

.hero-subtitle {
    font-size: 1.1rem;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Video Background Styles */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* --- Minimalist Cards --- */
.section-intro {
    text-align: center;
    margin-bottom: 6rem;
    /* More whitespace */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    display: block;
}

.section-heading {
    font-size: 3rem;
    color: var(--text-main);
    font-family: var(--font-headings);
    font-weight: 400;
    line-height: 1.2;
}

.tour-card-minimal {
    background: white;
    padding-bottom: 1rem;
    position: relative;
    /* No shadow, no border radius */
    transition: all 0.3s ease;
    cursor: pointer;
}

.tour-card-minimal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 61, 142, 0.15);
}

.tour-card-image-wrapper {
    position: relative;
    height: 400px;
    /* Tall, portrait images */
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.tour-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.tour-card-minimal:hover .tour-card-image-wrapper img {
    transform: scale(1.05);
    /* Subtle zoom */
}

.tour-meta-minimal {
    font-size: 0.75rem;
    color: var(--accent-color);
    /* Logo Blue */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tour-title-minimal {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    /* Logo Pink */
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.tour-card-minimal:hover .tour-title-minimal {
    color: var(--primary-hover);
}

.tour-price-minimal {
    font-family: var(--font-main);
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 700;
}

.tour-card-minimal a {
    z-index: 10;
}

.tour-card-minimal a span {
    transition: all 0.3s ease;
}

.tour-card-minimal:hover a span {
    background: var(--primary-hover);
    transform: translateX(5px);
}

/* ============================================================================
   ENHANCED TOUR CARDS
   ============================================================================ */

/* Tours Grid - Responsive */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

/* Enhanced Tour Card */
.tour-card-enhanced {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tour-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(217, 54, 139, 0.2);
}

.tour-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Tour Card Image */
.tour-card-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f0f0f0;
}

.tour-card-enhanced .tour-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tour-card-enhanced:hover .tour-card-image-wrapper img {
    transform: scale(1.1);
}

.tour-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #aaa;
    gap: 1rem;
}

.tour-image-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

/* Duration Badge */
.tour-duration-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Tour Card Content */
.tour-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Meta Badges */
.tour-meta-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tour-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.tour-badge svg {
    flex-shrink: 0;
}

.tour-badge-guests {
    color: var(--accent-color);
}

/* Tour Card Title */
.tour-card-title {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.tour-card-enhanced:hover .tour-card-title {
    color: var(--primary-color);
}

/* Tour Card Description */
.tour-card-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    min-height: 3rem;
}

/* Tour Card Footer */
.tour-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Price Display */
.tour-price-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.tour-price-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.tour-price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-headings);
}

.tour-price-unit {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* CTA Button */
.tour-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(217, 54, 139, 0.3);
}

.tour-cta-button:hover {
    background: var(--primary-hover);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(217, 54, 139, 0.4);
}

.tour-cta-button svg {
    transition: transform 0.3s ease;
}

.tour-cta-button:hover svg {
    transform: translateX(3px);
}

/* Additional responsive grid utilities */
.responsive-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.responsive-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.responsive-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .tour-card-image-wrapper {
        height: 250px;
    }

    .tour-card-content {
        padding: 1.5rem;
    }

    .tour-card-title {
        font-size: 1.5rem;
    }

    .tour-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .tour-price-display {
        justify-content: center;
    }

    .tour-cta-button {
        width: 100%;
        justify-content: center;
    }

    /* Fix all two-column layouts for mobile */
    .responsive-grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .responsive-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    /* Inline grid fixes for templates */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    [style*="grid-template-columns: repeat(auto-fill, minmax(350px, 1fr))"],
    [style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    [style*="grid-template-columns: repeat(auto-fill, minmax(300px, 1fr))"],
    [style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns: repeat(auto-fill, minmax(280px, 1fr))"] {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        gap: 1rem !important;
    }

    [style*="grid-template-columns: repeat(auto-fill, minmax(250px, 1fr))"] {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        gap: 1rem !important;
    }

    /* Container padding adjustments */
    .container[style*="padding: 6rem 0"],
    .container[style*="padding: 8rem 0"] {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Section padding adjustments */
    div[style*="padding: 6rem 0"],
    div[style*="padding: 8rem 0"] {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Card and form padding */
    div[style*="padding: 4rem"] {
        padding: 2rem !important;
    }

    div[style*="padding: 2rem"] {
        padding: 1.5rem !important;
    }

    /* Text size adjustments */
    .rich-text-content[style*="font-size: 1.5rem"] {
        font-size: 1.2rem !important;
    }

    .section-heading {
        font-size: 2rem !important;
    }

    /* Max width containers on mobile */
    .container[style*="max-width: 800px"] {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .tours-grid {
        gap: 1.5rem;
    }

    .tour-card-image-wrapper {
        height: 220px;
    }

    .tour-card-content {
        padding: 1.25rem;
    }

    .tour-card-title {
        font-size: 1.35rem;
    }

    .tour-price-amount {
        font-size: 1.5rem;
    }

    .tour-duration-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.85rem;
    }

    .tour-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }

    .tour-title-minimal {
        font-size: 1.5rem;
    }

    .tour-meta-minimal {
        font-size: 0.7rem;
    }

    /* Further reduce gallery grid minimum */
    .responsive-gallery-grid,
    [style*="grid-template-columns: repeat(auto-fill, minmax(280px, 1fr))"],
    [style*="grid-template-columns: repeat(auto-fill, minmax(250px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    /* Reduce section padding even more on very small screens */
    .container[style*="padding: 6rem 0"],
    .container[style*="padding: 8rem 0"],
    div[style*="padding: 6rem 0"],
    div[style*="padding: 8rem 0"] {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    div[style*="padding: 4rem"] {
        padding: 1.5rem !important;
    }

    div[style*="padding: 2rem"] {
        padding: 1rem !important;
    }

    /* Button adjustments */
    .btn-primary[style*="padding: 1rem 3rem"] {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.85rem !important;
    }

    .section-heading {
        font-size: 1.75rem !important;
    }

    /* Heading adjustments */
    h1[style*="font-size: 3.5rem"],
    .hero-title[style*="font-size: 3.5rem"] {
        font-size: 2rem !important;
    }

    h2[style*="font-size: 2.5rem"] {
        font-size: 1.75rem !important;
    }

    h3[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
}

/* Hide wave separator completely if present in HTML */
.wave-separator {
    display: none;
}

/* ============================================================================
   STREAMFIELD CONTENT BLOCKS
   ============================================================================ */

/* Rich Text Content Styling */
.rich-text-content,
.content-body {
    line-height: 1.8;
    color: var(--text-main);
}

.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.rich-text-content p,
.content-body p {
    margin-bottom: 1.5rem;
}

.rich-text-content ul,
.rich-text-content ol,
.content-body ul,
.content-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.rich-text-content li,
.content-body li {
    margin-bottom: 0.75rem;
}

.rich-text-content a,
.content-body a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s;
}

.rich-text-content a:hover,
.content-body a:hover {
    color: var(--primary-hover);
}

.rich-text-content img,
.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.rich-text-content blockquote,
.content-body blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* StreamField Block Containers */
.block-heading {
    margin: 3rem 0 1.5rem;
}

.block-heading h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
}

.block-heading h3 {
    font-size: 2rem;
    color: var(--text-main);
    margin: 0;
}

.block-paragraph {
    margin: 2rem 0;
}

.block-image {
    margin: 3rem 0;
    text-align: center;
}

.block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Two Column Block */
.block-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .block-two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
}

/* Call to Action Block */
.block-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(217, 54, 139, 0.3);
}

.block-cta h2,
.block-cta h3 {
    color: white !important;
    margin-bottom: 1rem;
}

.block-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.block-cta .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 3rem;
    font-size: 1rem;
}

.block-cta .btn:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .block-cta {
        padding: 3rem 2rem;
    }

    .block-cta h2 {
        font-size: 1.75rem !important;
    }
}

/* Gallery Block */
.block-gallery {
    margin: 4rem 0;
}

.block-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.block-gallery .gallery-item {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

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

@media (max-width: 768px) {
    .block-gallery .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .block-gallery .gallery-item {
        height: 200px;
    }
}

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

/* Embed Block (Video/iFrame) */
.block-embed {
    margin: 3rem 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.block-embed iframe,
.block-embed object,
.block-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Team Member Grid - Enhanced Design */
.team-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    padding: 2rem 1rem;
}

.team-card-enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-card-enhanced:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(217, 54, 139, 0.25);
}

.team-card-image-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.team-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card-enhanced:hover .team-card-image-wrapper img {
    transform: scale(1.08);
}

.team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e0;
}

.team-role-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(217, 54, 139, 0.4);
}

.team-card-content {
    padding: 2rem;
}

.team-card-name {
    color: var(--text-main);
    font-size: 1.75rem;
    margin: 0 0 1rem 0;
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
}

.team-card-bio {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    min-height: 60px;
}

.team-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.team-member-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.team-member-social .social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-member-social .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(217, 54, 139, 0.3);
}

.team-member-social .social-link svg {
    width: 20px;
    height: 20px;
}

.team-member-social a {
    font-size: 1.5rem;
    transition: transform 0.2s;
    display: inline-block;
}

.team-member-social a:hover {
    transform: scale(1.2);
}

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */

.contact-container {
    margin-top: -4rem;
    padding-bottom: 4rem;
}

.contact-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-form-section {
    padding: 4rem;
}

.contact-info-section {
    background: #f8f9fa;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-section-title {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* ============================================================================
   ABOUT PAGE
   ============================================================================ */

.about-section {
    padding: 6rem 0;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-section-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about-story-content {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

.about-story-image img.story-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--secondary-color);
}

.about-mission-section {
    background-color: #f8f9fa;
    padding: 6rem 0;
}

.about-mission-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member-photo {
        height: 250px;
    }

    .team-member-info {
        padding: 1.5rem;
    }

    /* Contact Page Mobile */
    .contact-container {
        margin-top: -2rem;
        padding-bottom: 2rem;
    }

    .contact-card {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 2rem 1.5rem;
    }

    .contact-section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-wrapper.hero-small {
        min-height: 40vh;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    /* About Page Mobile */
    .about-section {
        padding: 3rem 0;
    }

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

    .about-story-image {
        order: -1;
    }

    .about-story-image img.story-img {
        box-shadow: 10px 10px 0 var(--secondary-color);
    }

    .about-section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .about-story-content {
        font-size: 1rem;
    }

    .about-mission-section {
        padding: 3rem 0;
    }

    .about-mission-text {
        font-size: 1.05rem;
    }
}

/* Content Cards */
.content-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.content-card h2,
.content-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .content-card {
        padding: 2rem 1.5rem;
    }
}

/* --- Footer (Existing) --- */
.site-footer {
    background-color: var(--footer-bg);
    color: #cccccc;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
}

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

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-alt, sans-serif);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

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

.social-icon:hover {
    background: var(--primary-color);
    color: white;
}

.copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* --- Mobile Menu Toggle Button --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Form Controls - Mobile Friendly */
.form-control {
    font-size: 16px !important; /* Prevents zoom on iOS */
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
    font-size: 16px; /* Prevents zoom on iOS */
}

/* Touch-friendly button sizing */
@media (max-width: 768px) {
    .btn {
        min-height: 44px; /* Apple's recommended touch target size */
        padding: 0.75rem 1.5rem;
    }

    /* Ensure forms are full width on mobile */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    textarea,
    select {
        max-width: 100%;
    }
}

/* --- Responsive Helpers --- */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    /* Move nav-container when menu is active */
    body.menu-open .nav-container {
        right: 0;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 0;
        margin: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1.2rem 0;
        font-size: 1rem;
        color: var(--text-main);
    }

    /* Overlay for mobile menu */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    /* Hide nav-actions on mobile - they can be added to mobile menu if needed */
    .nav-actions {
        display: none;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        height: 70px;
        padding: 1rem 0;
    }

    .logo-container img {
        max-height: 90px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .hero-wrapper {
        min-height: 70vh;
    }

    .hero-wrapper.hero-small {
        min-height: 50vh;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ============================================================================
   WHATSAPP FLOATING BUTTON
   ============================================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 25px rgba(37, 211, 102, 0.5);
    width: 140px;
    border-radius: 30px;
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.whatsapp-text {
    font-size: 16px;
    font-weight: 600;
    margin-left: 8px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    font-family: var(--font-main);
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    animation: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        z-index: 998;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }

    .whatsapp-float:hover {
        width: 55px;
        border-radius: 50px;
    }

    .whatsapp-text {
        display: none;
    }
}