/* ==========================================================================
   TOP TEN EXPORT — Master Design System (v8.10)
   ========================================================================== */

:root {
    --primary: #0a1f1c; /* Midnight Green */
    --accent: #d4af37;  /* Metallic Gold */
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --bg-light: #fcfcfc;
    --bg-dark: #0a1f1c;
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --nav-height: 100px;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;800&family=Playfair+Display:ital,wght@0,900;1,900&display=swap');

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

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

/* 1. Navbar Glassmorphism */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    height: var(--nav-height);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(15px);
    background: rgba(10, 31, 28, 0.3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 3rem; list-style: none; }

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
}

.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--accent); }

.btn-contact {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 50px;
    font-size: 0.75rem;
}

/* 2. Flexible Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    min-height: 700px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

/* Dual Hero Support */
.hero.hero-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero-visual-left, .hero-visual-right, .hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero-visual-left, .hero-visual-right { position: relative; }

.hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
    transition: transform 15s ease-out;
}

.hero:hover .hero-img { transform: scale(1.15); }

.hero-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 10;
    pointer-events: none;
}

.hero-tag {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    display: block;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 9rem);
    color: #fff;
    line-height: 0.85;
    margin-bottom: 2rem;
}

.hero-desc {
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
}

/* 3. Content Sections */
.container { padding: 0 5%; max-width: 1600px; margin: 0 auto; }

section { padding: 10rem 0; position: relative; }

.fancy-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 8vw, 10rem);
    align-items: center;
}

.fancy-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 0.95;
    margin-bottom: 2.5rem;
}

.fancy-visual {
    position: relative;
    height: clamp(400px, 60vh, 700px);
}

.fancy-img-main {
    width: 90%; height: 100%;
    object-fit: cover;
    border-radius: 60px;
}

.fancy-img-sub {
    position: absolute;
    bottom: -8%; right: 0;
    width: 45%; height: 55%;
    object-fit: cover;
    border-radius: 40px;
    border: 12px solid #fff;
}

/* 4. Grid Metrics */
.grid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.premium-card {
    background: #fff;
    padding: 5rem 3rem;
    border-radius: 40px;
}

/* 5. Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10,31,28,0.98);
    z-index: 2000;
    display: none;
}

.modal-overlay.active { display: flex; align-items: center; justify-content: center; }

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    width: 90%; max-width: 500px;
    max-height: 85vh;
    border-radius: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 50px 150px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Custom Minimal Scrollbar */
.modal-content::-webkit-scrollbar {
    width: 5px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.modal-visual { display: none; }

.modal-form {
    padding: 5rem 10%;
    text-align: center;
    position: relative;
}

.modal-form input, .modal-form textarea {
    width: 100%;
    padding: 1.2rem 0;
    border: none;
    border-bottom: 2px solid #f0f0f0;
    outline: none;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 0.9rem;
    background: transparent;
    transition: var(--transition);
    text-align: center; /* Centered text for fancy look */
}

.modal-form input:focus, .modal-form textarea:focus {
    border-color: var(--accent);
}

.modal-close {
    position: absolute;
    top: 1.5rem; right: 2rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #000;
    opacity: 0.3;
    transition: var(--transition);
}

.modal-close:hover { opacity: 1; transform: rotate(90deg); }

/* 6. Reveal Animations */
[data-reveal] {
    transform: translateY(40px);
    transition: var(--transition);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero.hero-dual { grid-template-columns: 1fr; }
    .hero-visual-right { display: none; }
    .fancy-split { grid-template-columns: 1fr; }
    .modal-content { grid-template-columns: 1fr; }
}
