/* --- CSS RESET & VARIABLES --- */
:root {
    --primary: #d4af37; /* Gold */
    --primary-dark: #b5952f;
    --primary-light: #f3e5ab;
    --secondary: #0a1f18; /* Deep tropical green */
    --secondary-light: #183a2d;
    --dark: #0a0a0a;
    --dark-grey: #1a1a1a;
    --light: #faf8f5;
    --light-grey: #f0eee9;
    --text: #2c2c2c;
    --text-light: #666666;
    --bg: #ffffff;
    --sunset-orange: #e07a5f;
    --sunset-red: #8f250c;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.2);
    
    --header-height: 80px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-dark);
    transition: var(--transition);
}

a:hover { color: var(--secondary); }

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

/* --- TYPOGRAPHY & UTILITIES --- */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.p-section { padding: 6rem 5%; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* --- HEADER & NAVIGATION --- */
header {
    background-color: var(--secondary);
    padding: 0 5%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(10, 31, 24, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.logo svg { width: 36px; height: 36px; fill: var(--primary); }

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--light);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

.menu-toggle {
    display: none;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background-color: var(--primary);
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border: 1px solid var(--primary);
    border-radius: 0;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}

.btn:hover { color: var(--primary); border-color: var(--secondary); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10,31,24,0.6), rgba(0,0,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--light);
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeUp 1s ease forwards;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--light);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero h1 span { color: var(--primary); font-style: italic; }

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--light-grey);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- SECTION TITLES --- */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-title .subtitle {
    font-family: var(--font-body);
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

/* --- GRIDS & LAYOUTS --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.offset-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: center;
}

/* --- CARDS (LUXURY STYLE) --- */
.card {
    background-color: var(--bg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.card-content {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--light);
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* --- IMAGE WRAPPER (OFFSET BORDER) --- */
.image-wrapper {
    position: relative;
    padding: 2rem;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 80%; height: 80%;
    border: 2px solid var(--primary);
    z-index: 0;
}

.image-wrapper img {
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* --- NICHE SECTIONS --- */
.dark-section {
    background-color: var(--secondary);
    color: var(--light);
}

.dark-section h2, .dark-section h3 { color: var(--primary); }
.dark-section p { color: #a0b0a8; }
.dark-section .card { background-color: var(--secondary-light); border-color: rgba(255,255,255,0.05); }
.dark-section .card-content { background-color: transparent; }

/* --- FOOTER --- */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 5rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col h4 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-body);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #888; font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }

.copyright { text-align: center; color: #666; font-size: 0.9rem; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .offset-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero h1 { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

@media (max-width: 768px) {
    :root { var(--header-height): 70px; }
    .p-section { padding: 4rem 1.5rem; }
    nav ul {
        display: flex; flex-direction: column; position: fixed;
        top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px);
        background-color: var(--secondary); padding: 2rem; transition: var(--transition);
        align-items: center; justify-content: flex-start; gap: 1.5rem;
    }
    nav ul.show { left: 0; }
    nav ul li a { font-size: 1.2rem; }
    .menu-toggle { display: block; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .section-title h2 { font-size: 2.2rem; }
    .image-wrapper { padding: 1rem; }
    .image-wrapper::before { width: 90%; height: 90%; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .btn { width: 100%; text-align: center; }
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
