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

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4A90E2;      /* Brighter mountain blue */
    --secondary: #88B04B;    /* Forest green */
    --accent: #E9408F;      /* Pink accent */
    --snow: #F5F5F5;        /* Snow white */
    --ice: #E3F2FD;         /* Ice blue */
    --dark: #1A1A2E;        /* Deep night sky */
    --dark-bg: #121212;     /* Dark background */
    --dark-surface: #1E1E1E; /* Slightly lighter dark surface */
    --text: #E0E0E0;        /* Light text */
    --text-light: #B0B0B0;  /* Lighter text */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--dark-bg);
}

/* Navigation Bar */
header {
    background-color: var(--dark-surface);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 1100;
}
.burger span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 4px 0;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.burger.burger-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.burger.burger-active span:nth-child(2) {
    opacity: 0;
}
.burger.burger-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('../images/mountains1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--snow);
    margin-top: 70px;
    margin-bottom: 6rem;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 46, 0.5),
        rgba(18, 18, 18, 0.6)
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mission Section */
.mission {
    padding: 8rem 5%;
    background-color: var(--dark-surface);
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 6rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mission-content {
    flex: 1;
}

.mission h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.mission p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.mission-image {
    flex: 1;
    height: 400px;
    background-image: url('../images/mountains2.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    background-color: var(--primary);
    color: var(--snow);
    text-decoration: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    border-color: var(--primary);
}

/* Featured Products Section */
.featured-products {
    padding: 8rem 5%;
    background-color: var(--dark-bg);
    margin-top: 0;
    margin-bottom: 6rem;
}

.featured-header {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.featured-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-item {
    background: var(--dark-surface);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.featured-item:hover {
    transform: translateY(-5px);
}

.featured-image-container {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
    padding: 20px;
    background: #ffffff;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.featured-item:hover .featured-image {
    transform: scale(1.05);
}

.featured-content {
    text-align: center;
    width: 100%;
}

.featured-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.featured-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.featured-price {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Bio Section */
.bio-section {
    padding: 8rem 5%;
    background-color: var(--dark-surface);
    margin-top: 0;
    margin-bottom: 6rem;
}

.bio-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.bio-header {
    margin-bottom: 3rem;
}

.bio-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.bio-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.bio-content {
    background: var(--dark-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bio-content p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.bio-signature {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Footer Section */
.footer {
    background-color: var(--dark-surface);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    color: var(--text);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--dark-surface);
    text-decoration: none;
}

.social-link:hover {
    color: var(--primary);
    transform: translateY(-3px);
    background: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.footer-links h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 1rem;
    width: 1.2rem;
    text-align: center;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70vw;
        max-width: 320px;
        background: var(--dark-surface);
        box-shadow: -2px 0 12px rgba(0,0,0,0.2);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1050;
        display: flex;
    }
    .nav-links.nav-active {
        transform: translateX(0);
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        display: block;
        padding: 0.7rem 0;
    }
    nav {
        position: relative;
    }
    .nav-links {
        /* Remove display: none; so menu can slide in */
        display: flex !important;
    }
    
    header {
        padding: 0.5rem 2%;
    }
    nav {
        padding: 0.7rem 2%;
    }
    .logo img {
        height: 32px;
    }
    .logo span {
        font-size: 1.1rem;
    }
    .hero {
        height: 75vh;
        margin-top: 55px;
        margin-bottom: 3rem;
        padding: 2rem 1rem;
    }
    .hero-content {
        max-width: 98vw;
        padding: 1.5rem 1rem;
    }
    .hero h1 {
        font-size: 2.1rem;
        margin-bottom: 0.7rem;
    }
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    .mission {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5% 1.5rem 5%; /* More side padding */
        gap: 1.2rem;
        margin-bottom: 2rem;
        border-radius: 12px;
    }
    .mission h2 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    .mission p {
        font-size: 1.1rem;
    }
    .mission-image {
        height: 140px;
        min-height: 100px;
        border-radius: 10px;
    }
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
        border-radius: 8px;
        margin-bottom: 0.7rem;
    }
    .featured-products {
        padding: 2rem 5%; /* More side padding */
        margin-bottom: 2rem;
        border-radius: 12px;
    }
    .featured-header h2 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    .featured-header p {
        font-size: 1.1rem;
    }
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .featured-item {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        align-items: center;
    }
    .featured-image-container {
        width: 170px;
        height: 170px;
        padding: 5px;
        margin-bottom: 1rem;
    }
    .featured-content {
        width: 100%;
        text-align: center;
    }
    .featured-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    .featured-content p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .featured-price {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .bio-section {
        padding: 2rem 5%; /* More side padding */
        margin-bottom: 2rem;
        border-radius: 12px;
    }
    .bio-header h2 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    .bio-header p {
        font-size: 1.1rem;
    }
    .bio-content {
        padding: 1rem 0.7rem;
        border-radius: 10px;
    }
    .bio-content p {
        font-size: 1.05rem;
    }
    .bio-signature {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .footer {
        padding: 1.2rem 5% 0.7rem 5%;
        margin-top: 1.2rem;
        border-radius: 12px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        justify-items: center;
        align-items: center;
    }
    .footer-brand, .footer-links {
        align-items: center !important;
        text-align: center !important;
        width: 100%;
        margin: 0 auto;
    }
    .footer-logo {
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .footer-logo img {
        height: 18px;
    }
    .footer-logo span {
        font-size: 0.9rem;
    }
    .footer-description {
        font-size: 0.95rem;
        margin: 0 auto;
        text-align: center;
    }
    .footer-social {
        gap: 0.7rem;
        font-size: 1rem;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }
    .footer-links h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .footer-links a {
        font-size: 1rem;
        justify-content: center;
        text-align: center;
    }
    .footer-bottom {
        margin-top: 0.7rem;
        padding-top: 0.5rem;
        font-size: 0.95rem;
        text-align: center;
    }
    .mission,
    .featured-products,
    .bio-section,
    .footer {
        max-width: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
        padding-left: 5vw !important;
        padding-right: 5vw !important;
    }
    .mission {
        margin-bottom: 2rem;
    }
    .featured-products {
        margin-bottom: 2rem;
    }
    .bio-section {
        margin-bottom: 2rem;
    }
    .footer {
        margin-top: 1.2rem;
    }
}

/* Cart Badge Styles - Minimalist & Clean */
.cart-link {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -24px;
    background: var(--accent);
    color: var(--snow);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1;
    border-radius: 12px;
    border: 2px solid var(--dark-surface);
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.25);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

/* Badge states for different quantities */
.cart-badge[data-count="0"] {
    display: none;
}

.cart-badge[data-count="1"] {
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.25);
}

.cart-badge[data-count="2"],
.cart-badge[data-count="3"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E55A8F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.3);
}

.cart-badge[data-count="4"],
.cart-badge[data-count="5"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E9408F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.35);
}

.cart-badge[data-count="6"],
.cart-badge[data-count="7"],
.cart-badge[data-count="8"],
.cart-badge[data-count="9"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E9408F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.4);
}

.cart-badge[data-count="10"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E9408F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.5);
    animation: pulse 2s infinite;
}

/* Pulse animation for high quantities */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(233, 64, 143, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(233, 64, 143, 0.6);
    }
}

/* Navigation Cart Link */
.nav-links a[href="cart.php"] {
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a[href="cart.php"]:hover {
    transform: translateY(-1px);
}

.nav-links a[href="cart.php"]:hover .cart-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(233, 64, 143, 0.4);
}

/* Responsive adjustments for cart badge */
@media (max-width: 768px) {
    .cart-badge {
        top: -6px;
        right: -20px;
        font-size: 0.7rem;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
    }
}
