/* ===== BALD EAGLE FARM MAIN STYLES ===== */

/* ===== BASE STYLES ===== */
body {
    font-family: 'Noto Serif', serif;
    background-color: #41581A;
}

/* ===== TYPOGRAPHY ===== */
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* ===== LAYOUT CLASSES ===== */
.hidden {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero-parallax {
    height: 65vh;
    min-height: 400px;
    overflow: hidden;
    position: relative;
}

.hero-parallax img {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
    will-change: transform;
}

/* ===== MOBILE HEADER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #C9CE8C;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(-45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(45deg);
}

.menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
}

.menu-backdrop.active {
    display: block;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #41581A;
    border-top: 1px solid #C9CE8C;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.mobile-menu ul {
    padding: 1rem 0;
}

.mobile-menu li {
    border-bottom: 1px solid rgba(201, 206, 140, 0.2);
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.mobile-menu a:hover {
    background-color: #C9CE8C;
    color: #41581A;
}

/* ===== COLOR CLASSES ===== */
.bg-primary {
    background-color: #41581A;
}

.bg-secondary {
    background-color: #C9CE8C;
}

.text-primary {
    color: #41581A;
}

.text-secondary {
    color: #C9CE8C;
}

.border-primary {
    border-color: #41581A;
}

.border-secondary {
    border-color: #C9CE8C;
}

/* ===== SECTION BACKGROUNDS ===== */
.section-bg-primary {
    background-color: #41581A;
}

.section-bg-secondary {
    background-color: #C9CE8C;
}

/* ===== CARD STYLES ===== */
.story-card {
    background-color: rgba(201, 206, 140, 0.1);
}

.story-card h2,
.story-card h3 {
    text-align: center;
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
    background-color: #41581A;
    color: white;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #C9CE8C;
    color: #41581A;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: #C9CE8C;
    color: #41581A;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: white;
    color: #41581A;
    transform: translateY(-3px);
}

/* ===== FORM STYLES ===== */
.form-input {
    border-color: #41581A;
    background-color: #f4f6e8;
    color: #41581A;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: #41581A;
    box-shadow: 0 0 0 2px rgba(65, 88, 26, 0.2);
    outline: none;
}

.form-label {
    color: #41581A;
}

/* ===== NAVIGATION STYLES ===== */
.nav-header {
    background-color: #41581A;
    border-bottom: 2px solid #C9CE8C;
    position: relative;
    z-index: 50;
}

.nav-brand {
    color: #C9CE8C;
    transition: color 0.2s ease;
}

.nav-brand:hover {
    color: white;
}

.nav-link {
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: #C9CE8C;
    color: #41581A;
}

.nav-link.active {
    background-color: #C9CE8C;
    color: #41581A;
}

/* ===== FOOTER STYLES ===== */
.footer-bg {
    background-color: #41581A;
}

.footer-link {
    color: #C9CE8C;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

.footer-text {
    color: #C9CE8C;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .hero-parallax {
        height: auto;
        min-height: 300px;
    }
    
    .hero-parallax img {
        position: relative;
        height: auto;
        min-height: 300px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .desktop-nav {
        display: none;
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }

    .mobile-menu {
        display: none !important;
    }
}

/* ===== WHOLESALE FORM STYLES ===== */
.wholesale-input {
    border-color: #41581A;
    background-color: #ffffff;
    color: #41581A;
    transition: all 0.2s ease;
}

.wholesale-input::placeholder {
    color: rgba(65, 88, 26, 0.4);
}

.wholesale-input:focus {
    border-color: #41581A;
    box-shadow: 0 0 0 2px rgba(65, 88, 26, 0.2);
    outline: none;
}

/* ===== PRODUCT CARD STYLES ===== */
.product-card {
    background-color: #f4f6e8;
    border: 1px solid rgba(65, 88, 26, 0.15);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card.visible:hover {
    border-color: #C9CE8C;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.product-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.product-card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(24px);
    transform: scale(1.15);
}

.product-card-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.product-card:hover .product-card-image {
    transform: scale(1.05);
}

.product-card-body {
    padding: 1.5rem;
}

.product-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #41581A;
    margin-bottom: 0.15rem;
}

.product-card-size {
    font-family: 'Noto Serif', serif;
    font-style: italic;
    font-size: 0.82rem;
    color: rgba(65, 88, 26, 0.65);
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.product-card-desc {
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-card-link {
    color: #41581A;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    transition: color 0.2s ease;
}

.product-card:hover .product-card-link {
    color: #2a3a10;
}

/* ===== PRODUCT DETAIL STYLES ===== */
.product-detail-back {
    display: inline-block;
    color: #41581A;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-detail-back:hover {
    color: #2a3a10;
}

.product-detail-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
}

.product-detail-image-wrapper {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 0.5rem;
}

.product-detail-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(24px);
    transform: scale(1.15);
}

.product-detail-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-image-placeholder {
    background-color: rgba(65, 88, 26, 0.8) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C7 3 4 7 4 12c0 2 1 4 2.5 5.5C8 19 10 20 12 20s4-1 5.5-2.5C19 16 20 14 20 12c0-5-3-9-8-9z' fill='%23C9CE8C' opacity='0.5'/%3E%3Cpath d='M12 20 Q12 14 6 10' stroke='%23C9CE8C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 0.8;
}

.product-detail-body {
    /* no padding — not in a card */
}

.product-detail-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #41581A;
    margin-bottom: 0.2rem;
}

.product-detail-size {
    font-family: 'Noto Serif', serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(65, 88, 26, 0.65);
    margin-bottom: 1.1rem;
    letter-spacing: 0.02em;
}

.product-detail-desc {
    color: #333333;
    font-size: 1.05rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .product-detail-layout {
        flex-direction: row-reverse;
        align-items: stretch;
        gap: 3rem;
    }

    .product-detail-body {
        flex: 1;
    }

    .product-detail-image-wrapper {
        flex: 1;
        height: auto;
        min-height: 460px;
    }
}