/* 1. EXACT COLOR PALETTE FROM IMAGE */
:root {
    --dark-green: #00332c;
    --cream: #f5efe1;
    --tan-btn: #ce9f78;
    --white: #ffffff;
}

/* 2. RESET & BASE */
* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--cream);
    color: var(--dark-green);
    text-align: center;
}

/* 3. NAVBAR - HORIZONTAL & EXACT COLORS */
.main-nav {
    background-color: var(--dark-green);
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Ensuring icons are the CREAM color from the image */
.nav-item svg {
    width: 28px;
    height: 28px;
    stroke: var(--cream); 
}

.nav-logo img {
    height: 50px; /* Adjust based on your logo file */
    display: block;
}

/* Hamburger Cream Lines */
.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--cream);
    margin: 6px 0;
}

/* 4. VIDEO HERO - NO GAPS */
.video-hero {
    width: 100%;
    height: 60vh; /* Set height for the video area */
    background-color: var(--dark-green);
    overflow: hidden;
    line-height: 0; /* Removes tiny bottom gap */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 5. CONTENT SECTIONS */
.dark-bg {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 60px 20px;
}

.light-bg {
    background-color: var(--cream);
    color: var(--dark-green);
    padding: 60px 20px;
}

.hero-logo {
    width: 150px;
    margin: 20px auto;
}

.btn-primary {
    background-color: var(--tan-btn);
    border: none;
    padding: 15px 45px;
    border-radius: 30px;
    color: var(--dark-green);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 25px;
}

h2, h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
}




/* Layout Helpers */
.full-height-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* Menu Styles (Based on Image 3) */
.menu-container {
    width: 100%;
    max-width: 350px;
}

.menu-logo {
    width: 140px;
    margin-bottom: 50px;
}

.close-btn {
    background: var(--tan-btn);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 0 auto 40px auto;
    text-decoration: none;
    color: var(--dark-green);
    font-size: 20px;
    font-weight: bold;
}

.menu-item {
    background-color: var(--cream);
    color: var(--dark-green);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.menu-item.dropdown .arrow {
    position: absolute;
    right: 20px;
    font-size: 12px;
}

/* Login Styles (Based on Image 2) */
.login-card {
    background-color: var(--tan-btn);
    padding: 40px 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 380px;
    color: var(--dark-green);
}

.login-logo {
    width: 120px;
    margin-bottom: 20px;
}

.login-card h2 {
    margin: 0;
    font-size: 1.8rem;
}

.login-subtitle {
    margin: 5px 0 30px 0;
    font-size: 0.95rem;
}

.login-input {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    border: none;
    background-color: var(--cream);
    margin-bottom: 10px;
    font-size: 1rem;
}

.forgot-link {
    display: block;
    text-align: left;
    color: var(--dark-green);
    font-weight: bold;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 40px;
}

.disclaimer {
    font-size: 0.75rem;
    text-align: left;
    line-height: 1.4;
    margin-bottom: 40px;
}

.login-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn-secondary {
    background: var(--cream);
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    color: var(--dark-green);
    font-weight: bold;
    flex: 1;
}

.btn-dark {
    background: var(--dark-green);
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    color: var(--white);
    font-weight: bold;
    flex: 1;
}

/* Search Page Specifics */
.search-page {
    padding: 0;
    text-align: left; /* Search usually feels better left-aligned */
}

.search-header {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
    background-color: var(--dark-green);
    border-bottom: 1px solid rgba(245, 239, 225, 0.1);
}

.back-btn {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.5rem;
}

.search-input-container {
    flex: 1;
    position: relative;
}

.search-input-container input {
    width: 100%;
    background: rgba(245, 239, 225, 0.1); /* Subtle transparent cream */
    border: 1px solid var(--cream);
    border-radius: 25px;
    padding: 12px 20px 12px 45px;
    color: var(--cream);
    font-size: 1rem;
    outline: none;
}

.search-icon-inner {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.search-content {
    padding: 30px 20px;
}

.tagline {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--cream);
    opacity: 0.6;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.chip {
    border: 1px solid var(--cream);
    color: var(--cream);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
}

.chip:hover {
    background: var(--cream);
    color: var(--dark-green);
}

.recent-list {
    list-style: none;
    padding: 0;
}

.recent-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(245, 239, 225, 0.1);
    color: var(--cream);
    font-size: 1rem;
}

.main-footer {
    padding: 0 20px 40px 20px;
    background-color: var(--dark-green);
    color: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The badge that sits half-on/half-off the footer */
.footer-badge-container {
    width: 100%;
    height: 40px; /* Adjust height based on how much it overlaps */
    position: relative;
    margin-bottom: 40px;
}

.footer-badge {
    width: 80px;
    height: 80px;
    background-color: var(--tan-btn);
    border-radius: 50%;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.footer-badge img {
    width: 40px;
}

.footer-world-icon svg {
    width: 35px;
    height: 35px;
    margin-bottom: 15px;
    stroke: var(--cream);
}

.footer-main-links {
    margin-bottom: 30px;
}

.footer-main-links a {
    display: block;
    color: var(--cream);
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 8px;
}

/* Row of icons */
.footer-icons-row {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 35px;
}

.icon-box svg {
    width: 32px;
    height: 32px;
    stroke: var(--cream);
}


/* The Map with Rounded Corners */
.map-wrapper {
    width: 100%;
    max-width: 320px;
    border-radius: 40px; /* High rounding to match footer.JPG */
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(245, 239, 225, 0.2);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 40px;
}

.footer-legal a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-divider {
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(245, 239, 225, 0.3);
    margin-bottom: 20px;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* --- UNIVERSAL RESPONSIVE IMAGE FIX --- */
img {
    max-width: 100%; /* Prevents images from being wider than the screen */
    height: auto;    /* Maintains aspect ratio so they don't look squashed */
    display: block;  /* Removes extra whitespace at the bottom of images */
    margin: 0 auto;  /* Centers images if they are smaller than the container */
}

/* --- SECTION SPECIFIC FIXES --- */

/* Hero Logo (Aura) */
.hero-logo {
    width: 60%;      /* Set a percentage so it scales with the screen */
    max-width: 250px; /* Limits size on desktop */
    margin: 20px auto;
}

/* Main Section Images (Coffee pouring, Coffee beans) */
.section-image, 
.sustainability img,
.roots-section .image-container img {
    width: 100%;     /* Makes them fill the container width */
    max-width: 600px; /* Keeps them from getting too big on tablets/PC */
    border-radius: 10px; /* Optional: adds slight rounding like in your JPGs */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Ensure the container doesn't force a size */
.image-container {
    width: 100%;
    padding: 0 15px; /* Adds a little breathing room on the sides of mobile */
    box-sizing: border-box;
}

/* Footer Badge Fix */
.footer-badge img {
    width: 50px;     /* Fixed size for the small circular icon */
    height: auto;
    margin: 0;       /* Override the centering margin */
}

/* --- IFRAME (MAP) RESPONSIVENESS --- */
.map-wrapper iframe {
    width: 100%;
    border-radius: 40px; /* Keeps your exact "squircle" map shape */
}