/* Variables (Add these if you haven't yet) */
:root {
  --soft-linen: #F9F7F2;
  --moss-evergreen: #4A5D4E;
  --terra-cotta: #B07D62;
  --deep-charcoal: #2D2D2D;
  --header-font: 'Playfair Display', serif;
  --body-font: 'Montserrat', sans-serif;
}

/* Fix visibility on beige background */
header {
    color: var(--deep-charcoal) !important;
}

header .nav-container a {
    color: var(--deep-charcoal) !important;
}

/* Ensure the 'Connect' button stays white text on the green background */
header .nav-cta {
    color: white !important;
}

/* Shrink effect for the larger header */
header.scrolled .nav-container {
    padding: 15px 20px !important;
}

header.scrolled .logo a {
    font-size: 1.8rem !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: inherit;
    font-family: var(--body-font);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-cta {
    background-color: var(--moss-evergreen);
    color: white !important;
    padding: 10px 20px;
    border-radius: 2px;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Specific delay for the Hero elements so they feel sequenced */
.hero-content h1 { transition-delay: 0.2s; }
.hero-content p { transition-delay: 0.4s; }
.hero-content div { transition-delay: 0.6s; }

/* --- Floating Sidebar Styles --- */
.side-contact {
    position: fixed; /* Pins it to the screen even when you scroll */
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999; /* Keeps it on top of images */
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-link {
    background: var(--moss-evergreen);
    color: white !important;
    padding: 15px 10px;
    writing-mode: vertical-rl; /* Turns text sideways */
    text-orientation: mixed;
    text-decoration: none;
    font-family: var(--body-font);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px 0 0 4px;
    transition: all 0.3s ease;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.side-link:hover {
    background: var(--terra-cotta);
    padding-right: 20px; /* Slight "pop out" effect on hover */
}


/* Hide on mobile devices so it doesn't cover content */
@media (max-width: 768px) {
    .side-contact { display: none; }
}