:root {
    --bg-cream: #f4f4f0;
    --text-green: #3a533d;
    --accent-yellow: #f3c035;
    --accent-neon: #d6f765;
    --line-color: #3a533d;
    --border-width: 2px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-green);
    font-family: 'Space Mono', monospace;
    position: relative;
    overflow-x: hidden;
}

/* Subtle noise texture over everything */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, h4, .anton-font {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- HEADER --- */
.top-header {
    display: flex;
    border-bottom: var(--border-width) solid var(--line-color);
    background-color: var(--bg-cream);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.28s ease;
    will-change: transform;
}

.top-header.header-hidden {
    transform: translateY(-100%);
}

.brand-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-right: var(--border-width) solid var(--line-color);
    gap: 15px;
}

.logo {
    max-height: 40px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-weight: bold;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 4px 0;
    border-radius: 999px;
    background-color: var(--text-green);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-section {
    flex: 1;
    display: flex;
}

.nav-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: var(--border-width) solid var(--line-color);
}
.nav-col:last-child {
    border-right: none;
}

.nav-col a {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-green);
    font-weight: bold;
    font-size: 13px;
    border-bottom: var(--border-width) solid var(--line-color);
    transition: background 0.2s;
}
.nav-col a:last-child {
    border-bottom: none;
}
.nav-col a:hover {
    background-color: var(--accent-neon);
}

/* --- HERO --- */
.hero {
    text-align: center;
    padding: 60px 20px 80px 20px;
    position: relative;
}

.hero-icons {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 40px;
}
.icon-star { color: var(--accent-yellow); }
.icon-circle { color: var(--text-green); }

/* Update the existing .hero h1 and add .hero-logo */

.hero h1 {
    font-size: clamp(60px, 12vw, 150px);
    line-height: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Adds space between the words and the house icon */
    flex-wrap: wrap; /* Keeps it looking good on mobile */
}

.hero h1 i {
    font-size: 0.8em; /* Scales the house icon slightly so it perfectly matches the text height */
    color: var(--text-green);
}

.hero-logo {
    width: 100%;
    max-width: 500px; /* Adjust this number to make the logo bigger or smaller */
    height: auto;
    margin-top: 30px;
    object-fit: contain;
}
.hero h2 {
    font-size: clamp(40px, 8vw, 100px);
    line-height: 1;
    margin-top: 10px;
}
.hero h2 span {
    color: var(--bg-cream);
    -webkit-text-stroke: 2px var(--text-green);
}

/* --- TORN PAPER DIVIDER --- */
.torn-paper {
    height: 40px;
    background-color: var(--text-green);
    mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 1200 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,40 L1200,40 L1200,0 C1150,15 1100,-5 1050,15 C1000,35 950,5 900,15 C850,25 800,-5 750,15 C700,35 650,5 600,15 C550,25 500,-5 450,15 C400,35 350,5 300,15 C250,25 200,-5 150,15 C100,35 50,5 0,15 Z' fill='%23000'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 1200 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,40 L1200,40 L1200,0 C1150,15 1100,-5 1050,15 C1000,35 950,5 900,15 C850,25 800,-5 750,15 C700,35 650,5 600,15 C550,25 500,-5 450,15 C400,35 350,5 300,15 C250,25 200,-5 150,15 C100,35 50,5 0,15 Z' fill='%23000'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    margin-bottom: -2px;
}

/* --- FEATURED ITEMS CAROUSEL --- */
.featured-section {
    background-color: var(--text-green);
    color: var(--bg-cream);
    padding: 60px 20px;
    text-align: center;
}

.section-title h3 {
    font-size: 40px;
    margin-bottom: 40px;
    color: var(--accent-neon);
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.carousel-content {
    flex: 1;
    background: var(--bg-cream);
    color: var(--text-green);
    border: 4px solid var(--text-green);
    box-shadow: 8px 8px 0px var(--accent-yellow);
    overflow: hidden;
}

.carousel-content img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-bottom: 4px solid var(--text-green);
}

.item-info {
    padding: 20px;
    text-align: left;
}

.item-info h4 {
    font-size: 30px;
    margin-bottom: 10px;
}

.nav-btn {
    background-color: var(--accent-neon);
    color: var(--text-green);
    border: 4px solid var(--text-green);
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--bg-cream);
    transition: transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px var(--bg-cream);
}
.left-btn { background-color: var(--accent-yellow); }

/* --- ACTIONS SECTION --- */
.actions-section {
    display: flex;
    flex-wrap: wrap;
    border-bottom: var(--border-width) solid var(--line-color);
}

.action-btn {
    flex: 1;
    text-align: center;
    padding: 40px 20px;
    font-family: 'Anton', sans-serif;
    font-size: 32px;
    text-decoration: none;
    color: var(--text-green);
    border-right: var(--border-width) solid var(--line-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.action-btn:last-child {
    border-right: none;
}
.menu-btn { background-color: var(--accent-yellow); }
.reserve-btn { background-color: var(--accent-neon); }

.action-btn:hover {
    filter: brightness(0.9);
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 60px 20px;
    border-bottom: var(--border-width) solid var(--line-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.socials h3 {
    font-size: 40px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--bg-cream);
    color: var(--text-green);
    border: 3px solid var(--text-green);
    font-size: 30px;
    text-decoration: none;
    box-shadow: 4px 4px 0px var(--text-green);
    transition: transform 0.1s;
}
.social-icons a:hover {
    background-color: var(--text-green);
    color: var(--bg-cream);
}
.social-icons a:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px var(--text-green);
}

.map-container {
    height: 300px;
    border: 3px solid var(--text-green);
    box-shadow: 6px 6px 0px var(--text-green);
}

/* --- FOOTER --- */
footer {
    padding: 30px 20px;
    text-align: center;
    background-color: var(--text-green);
    color: var(--bg-cream);
    font-weight: bold;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.agency-credit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    opacity: 0.8;
}

.carey-logo {
    height: 30px;
    filter: brightness(0) invert(1); /* Makes logo white to fit dark footer */
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
    }
    .brand-section {
        border-right: none;
        justify-content: flex-start;
    }
    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
    }
    .nav-section {
        display: none;
        flex-direction: column;
        border-top: var(--border-width) solid var(--line-color);
    }
    .top-header.menu-open .nav-section {
        display: flex;
    }
    .nav-col {
        border-right: none;
        border-bottom: var(--border-width) solid var(--line-color);
    }
    .nav-col:last-child { border-bottom: none; }
    .carousel-container { flex-direction: column; }
    .actions-section { flex-direction: column; }
    .action-btn { border-right: none; border-bottom: var(--border-width) solid var(--line-color); }
    .contact-grid { grid-template-columns: 1fr; }
}
