/* ===========================
   EDITORIAL / LIFESTYLE REDESIGN
   Palette: Deep Olive, Warm Sand, Charcoal
   =========================== */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Prata&family=Montserrat:wght@300;400;500;600&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
    background-color: var(--warm-sand);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4 {
    font-family: 'Prata', serif;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: var(--brand-accent);
}

/* Color Variables */
:root {
    --brand-accent: #006D77;
    /* Aegean Teal (Sea, Pine, Intimacy) */
    --warm-sand: #F7F3E8;
    /* Warm Limestone (Sun-bleached Stone) */
    --charcoal: #1D2D35;
    /* Deep Sea Charcoal */
    --stone: #8D99A0;
    --off-white: #FFFFFF;
}

/* Navbar */
.navbar {
    background-color: rgba(244, 241, 234, 0.85);
    padding: 2rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(244, 241, 234, 0.85);
    padding: 1rem 0;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--charcoal) !important;
    font-weight: 600;
    margin: 0 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--brand-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-brand img {
    height: 40px;
    /* Smaller, more discreet logotype */
}

/* Buttons */
.btn-editorial {
    background-color: var(--brand-accent);
    border: 1px solid var(--brand-accent);
    color: #fff;
    border-radius: 0;
    padding: 1rem 3rem;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-editorial:hover {
    background-color: transparent;
    border-color: var(--brand-accent);
    color: var(--brand-accent);
    text-decoration: none;
}

.btn-link-editorial {
    color: var(--charcoal);
    text-decoration: none;
    font-family: 'Prata', serif;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--charcoal);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.btn-link-editorial:hover {
    color: var(--deep-olive);
    border-color: var(--brand-accent);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 20vh;
    padding-bottom: 10vh;
    position: relative;
    overflow: hidden;
}

.hero-img-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Placeholder - replace with actual adventurous/editorial image */
    background: url('../images/hero_cartoon.png') center/cover no-repeat;
    opacity: 0.9;
}

.hero-content {
    padding-left: 5vw;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: var(--brand-accent);
    margin-bottom: 2rem;
    display: block;
}

/* Layout Elements */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    padding: 10vh 5vw;
}

.feature-img-full {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    filter: brightness(0.9);
}

/* Text Styling */
.drop-cap {
    float: left;
    font-family: 'Prata', serif;
    font-size: 4rem;
    line-height: 0.8;
    margin-right: 1rem;
    color: var(--brand-accent);
}

.quote-citation {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1rem;
    display: block;
    color: var(--stone);
}

/* Magazine Layout Sections */
.story-section {
    padding: 8rem 0;
}

.story-content {
    position: relative;
    z-index: 2;
}

.number-marker {
    font-family: 'Prata', serif;
    font-size: 6rem;
    color: rgba(74, 93, 35, 0.2);
    /* Slightly increased opacity */
    position: absolute;
    top: -6.5rem;
    left: 7px;
    /* Aligned with text content (optical adjustment) */
    z-index: 1;
}

/* Footer */
footer {
    background-color: var(--charcoal);
    /* Deep Sea Charcoal */
    color: var(--warm-sand);
    padding: 7rem 0 4rem 0;
}

footer .hero-subtitle {
    color: var(--warm-sand);
}

footer a {
    color: var(--warm-sand);
    text-decoration: none;
    opacity: 0.7;
}

footer a:hover {
    opacity: 1;
}

.custom-footer-list li {
    margin-bottom: 0.75rem;
}

.custom-footer-list a {
    color: var(--warm-sand);
    text-decoration: none;
    opacity: 0.9;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
}

.custom-footer-list a:hover {
    border-bottom-color: var(--warm-sand);
    opacity: 0.9;
}

.contact-link-footer {
    font-family: 'Prata', serif;
    font-size: 1.1rem;
    color: var(--warm-sand);
    text-decoration: none;
    border-bottom: 1px solid rgba(247, 243, 232, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.contact-link-footer:hover {
    border-color: var(--warm-sand);
}

/* Contact Page Specifics */
.contact-minimal {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-email {
    font-family: 'Prata', serif;
    font-size: 2rem;
    color: var(--charcoal);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.contact-email:hover {
    border-bottom-color: var(--brand-accent);
    color: var(--brand-accent);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-img-container {
        width: 100%;
        height: 60vh;
        top: 0;
        position: relative;
    }

    .hero-section {
        padding-top: 0;
        min-height: auto;
        flex-direction: column;
    }

    .hero-content {
        padding: 4rem 5vw;
    }

    .story-content {
        border-left: none;
        padding-left: 0;
        margin-top: 2rem;
    }

    .contact-email {
        font-size: 1.5rem;
    }

    /* Mobile Nav: Larger tap targets, no underscore */
    .nav-link {
        font-size: 1.3rem;
        padding: 15px 0;
        text-align: center;
    }

    .nav-link::after {
        display: none !important;
    }
}

/* Utilities */
.ls-1 {
    letter-spacing: 1px !important;
}