/* --- CSS Variables & Reset --- */
:root {
    --color-midnight: #0f172a;
    --color-mint: #34d399;
    --color-mint-light: #d1fae5;
    --color-white: #ffffff;
    --color-off-white: #f8fafc;
    --color-gray: #64748b;
    --color-border: #e2e8f0;
    
    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --container-width: 1200px;
    --spacing-section: 120px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-midnight);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-mint);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.body-text {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 500px;
    margin-bottom: 1.5rem;
}

/* --- Layout Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--spacing-section) 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-midnight);
    color: var(--color-mint);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-midnight);
    color: var(--color-midnight);
}

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

.btn-full {
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.dot {
    color: var(--color-mint);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 400;
}

.nav-links a:not(.btn):hover {
    color: var(--color-mint);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-midnight);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
}

/* --- Hero Section --- */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background-color: var(--color-off-white);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.headline {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    color: var(--color-midnight);
}

.highlight {
    color: var(--color-mint);
    font-style: italic;
}

.subhead {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.float-card {
    position: absolute;
    background-color: var(--color-white);
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    bottom: 40px;
    left: -30px;
    animation-delay: 0s;
}

.card-2 {
    top: 60px;
    right: -20px;
    animation-delay: 3s;
}

.card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray);
    margin-bottom: 4px;
}

.card-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-midnight);
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- Philosophy Section --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-block img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- Offerings Section --- */
.offerings {
    background-color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card {
    background-color: var(--color-off-white);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.card-img {
    height: 240px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-content {
    padding: 32px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* --- Gallery Section --- */
.gallery {
    padding: 0 0 var(--spacing-section) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 24px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item.large {
    grid-row: 1 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* --- Visit Section --- */
.visit {
    background-color: var(--color-midnight);
    color: var(--color-white);
}

.visit-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.visit .section-title {
    color: var(--color-white);
}

.contact-details {
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 48px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.detail-row .label {
    color: var(--color-mint);
    font-weight: 500;
}

.detail-row .value {
    color: var(--color-white);
    text-align: right;
}

.detail-row a.value:hover {
    color: var(--color-mint);
}

.visit-form-wrapper {
    background-color: var(--color-white);
    padding: 48px;
    border-radius: 16px;
    color: var(--color-midnight);
}

.visit-form-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-mint);
}

.form-status {
    margin-top: 16px;
    font-size: 0.9rem;
    text-align: center;
}

.form-status.success {
    color: var(--color-mint);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 48px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-top: 8px;
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    font-size: 0.95rem;
    color: var(--color-gray);
}

.footer-right a:hover {
    color: var(--color-mint);
}

/* --- Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container,
    .split-layout,
    .visit-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-visual {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item.large {
        grid-row: auto;
    }
    
    .gallery-item {
        height: 300px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .headline {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .float-card {
        display: none;
    }
    
    .visit-wrapper {
        gap: 48px;
    }
    
    .visit-form-wrapper {
        padding: 32px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}
