@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
    --bg: #FAF8F5;
    --bg-alt: #F0EDE8;
    --primary: #1B1B1B;
    --accent: #B8956A;
    --accent-dark: #96754D;
    --accent-light: #D4BC9A;
    --text: #2D2D2D;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --dark: #111111;
    --border: #E0DCD6;
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.75;
    font-weight: 400;
    font-size: 1.125rem;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.25;
    color: var(--primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1.25rem; }

a {
    color: var(--accent-dark);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    position: relative;
    z-index: 1001;
}

.lang-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.25rem;
}

.lang-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.nav-brand:hover { color: var(--accent-dark); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.35rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-sm {
    height: 45vh;
    min-height: 320px;
    max-height: 500px;
}

/* ============================================
   PAGE HEADER (for inner pages without hero image)
   ============================================ */
.page-header {
    background: var(--bg-alt);
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    margin-bottom: 0.75rem;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--text-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumbs a {
    color: var(--text-light);
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 0.4rem; opacity: 0.5; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-dark {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 1.5rem auto 0;
}

.section-title-left {
    text-align: left;
}
.section-title-left::after {
    margin-left: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184,149,106,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--border);
}
.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   GRID
   ============================================ */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.grid-auto {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 2.5rem;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: block;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card p:last-child {
    margin-bottom: 0;
}

/* ============================================
   FEATURE STATS
   ============================================ */
.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 3rem 0;
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    display: block;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 0.5rem;
    display: block;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    padding: 2rem 1rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .caption {
    transform: translateY(0);
}

/* Gallery Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal-overlay.active {
    display: flex;
}

.modal-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}
.modal-close:hover { opacity: 1; }

.modal-caption {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col-text h2 {
    margin-bottom: 1.5rem;
}

.two-col img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ============================================
   MAP
   ============================================ */
.map-container {
    width: 100%;
    height: 450px;
    border: 1px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.form-control {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,149,106,0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* ============================================
   LISTS
   ============================================ */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--accent);
    transform: translateY(-50%) rotate(45deg);
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 2rem 0;
}

.divider-center {
    margin: 2rem auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    padding: 3.5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--white);
    display: block;
    margin-bottom: 1rem;
}

.site-footer p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
}
.footer-bottom a:hover { color: var(--accent-light); }

/* ============================================
   PROXIMITY BADGES
   ============================================ */
.proximity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.proximity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.proximity-item:hover {
    box-shadow: var(--shadow);
}

.proximity-icon {
    font-size: 1.5rem;
    color: var(--accent);
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.proximity-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    line-height: 1.4;
}

.proximity-text strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.15rem;
}

/* ============================================
   TABLE
   ============================================ */
.table-elegant {
    width: 100%;
    border-collapse: collapse;
}

.table-elegant th {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--border);
}

.table-elegant td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .two-col { gap: 2.5rem; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        padding: 0.75rem 2rem;
        width: 100%;
    }

    .nav-toggle { display: block; }

    .hero { height: 65vh; }
    .hero-sm { height: 35vh; }

    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }

    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats { gap: 2rem; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .section { padding: 3.5rem 0; }

    .container { padding: 0 1.25rem; }
}

@media (max-width: 480px) {
    .hero { height: 55vh; min-height: 400px; }
    .hero-content p { font-size: 1.1rem; }
    .stats { gap: 1.5rem; }
    .stat-value { font-size: 2rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-light { color: var(--text-light); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   ANIMATIONS (subtle, luxury feel)
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Print styles */
@media print {
    .lang-bar, .site-nav, .site-footer { display: none; }
    .hero { height: auto; min-height: 0; background: none !important; color: var(--text); padding: 2rem 0; }
    .hero-bg { display: none; }
    .hero-content h1 { color: var(--primary); text-shadow: none; }
    body { font-size: 12pt; }
}
