@import url('https://fonts.googleapis.com/css2?family=Lora:wght@300;400;600;700&display=swap');

html, body {
    height: 100%;
    min-height: 100%;
}
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    background: #fff;
}

main, .main-content {
    flex: 1 0 auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 0.7rem 1.5rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.hamburger {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    color: #222;
}

.logo {
    /* center the logo visually in the navbar. On wide screens we absolutely center it
       so it stays in the middle regardless of nav/link widths. On mobile the existing
       media query sets .logo back to static flow. */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    height: 48px; /* fixed height for the logo area */
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* allow clicks to pass through when nav links overlap */
}

.brand {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: #222;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;           /* Adjust as needed for your design */
    width: auto;
    max-width: 120px;       /* Prevents logo from overflowing */
    display: block;
}

.logo img, .logo-img {
    pointer-events: auto; /* allow clicking the image itself */
}

.logo a {
    display: inline-block;
    pointer-events: auto; /* make sure the anchor is clickable when .logo has pointer-events: none */
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex: 0 0 auto; /* don't grow into the center */
    margin-left: 0; /* keep nav-links on the left side */
    order: 1;
}

.nav-links li a {
    text-decoration: none;
    color: #222;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-links li a:hover {
    color: #6c63ff;
}

.cart {
    font-size: 1.3rem;
    color: #222;
    margin-left: auto; /* push cart to the right */
    flex: 0 0 auto; /* don't grow */
    padding-left: 1rem;
    order: 3;
}

@media (max-width: 900px) {
    .nav-links {
        gap: 1rem;
    }
    .brand {
        font-size: 1.5rem;
    }
    .logo-img {
        height: 32px;
        max-width: 90px;
    }
}

@media (max-width: 700px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    .cart {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: flex-start;
        position: relative;
    }
    .hamburger {
        display: block;
        z-index: 3;
    }
    .logo {
        position: static;
        transform: none;
        margin: 0 auto;
        order: 2;
        height: 40px;
    }
    .logo-img {
        height: 28px;
        max-width: 70px;
    }
    /* keep cart on the right on mobile too */
    .cart {
        order: 3;
        margin-left: auto;
    }
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        display: none;
        padding: 1rem 0;
        z-index: 1;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        text-align: center;
        margin: 0.5rem 0;
    }
}

.hero {
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-top: 0.5rem;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;   /* Increased from 1200px */
    margin: 0 auto;
    gap: 2rem;
    padding: 0 4vw;      /* Add horizontal padding for larger screens */
    min-height: 50vh;   /* Ensure the hero section is at least 50vh */
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #111;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btn {
    background: #111;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.hero-btn:hover {
    background: #333;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-right-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* fill container while preserving aspect */
    object-position: center;
    border-radius: 8px; /* subtle rounding to match other elements */
}

/* Brand / About section */
.brand-section {
    width: 100%;
    background: #fff;
    padding: 3rem 0 4rem 0;
}
.brand-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    padding: 0 4vw;
}
.brand-left {
    flex: 0 0 50%; /* occupy exactly half */
    display: block;
    height: 100%;
    min-height: 320px; /* visual balance */
}
.brand-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* cover the entire left column */
    display: block;
    border-radius: 12px;
}
.brand-right {
    flex: 0 0 50%; /* occupy exactly half */
}
.brand-right h2 {
    font-size: 2rem;
    margin-top: 0;
}
.brand-right p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column-reverse; /* Image above text */
        align-items: flex-start;
        gap: 3rem;
    }
    .hero-right {
        width: 100%;
        justify-content: flex-start;
    }
    .hero-right-wrapper {
        /* full-bleed: allow wrapper to expand to full column width on tablet */
        align-self: center;
        height: auto; /* allow natural height within layout */
    }
    .hero-title {
        font-size: 2.2rem;
    }
    /* stack brand section on narrower screens */
    .brand-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 60vh;
        margin-top: 0.2rem; /* Reduced from 1rem */
    }
    .hero-content {
        flex-direction: column-reverse;
        gap: 2rem;
        width: 98%;
    }
    .hero-title {
        font-size: 1.5rem;
        text-align: center;
    }
    .hero-left {
        align-items: center; /* center left-column content on mobile */
        text-align: center;
    }
    .hero-btn {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
    .hero-right-wrapper {
        /* full-bleed on mobile as well; occupy available width */
        width: 100%;
    }
    .hero-img {
        border-radius: 6px;
    }

    /* brand section mobile adjustments */
    .brand-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 3vw;
    }
    .brand-left, .brand-right {
        width: 100%;
    }
    .brand-img {
        max-width: 100%;
        height: 260px; /* fixed height for stacked image */
        border-radius: 10px;
    }
}

.products-section {
    width: 100%;
    padding: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #111;
    text-align: center;
    max-width: 1400px;
}

.products-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 0 2vw 2vw 2vw;
    scroll-snap-type: x mandatory;
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
    justify-content: center; /* Center carousel items */
}

.product-card {
    background: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    min-width: 270px;
    max-width: 320px;
    flex: 1 0 270px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    margin-bottom: 1rem;
    padding: 0.5rem; /* Add padding inside the card */
}

.product-img {
    width: 100%;
    height: 320px; /* Increased height */
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    background: #eee;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 1rem 0.7rem 1rem;
    flex: 1;
    min-height: 120px;
}

.product-name {
    font-size: 1.08rem;
    margin-bottom: 0.2rem;
}

.product-desc {
    font-size: 0.98rem;
    color: #555;
    margin-bottom: 0.8rem;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1rem;
    color: #111;
    font-weight: 500;
}

.product-btn {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.3rem;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
    margin-left: 1rem;
    white-space: nowrap;
}

.product-btn:hover {
    background: #6c63ff;
}

@media (max-width: 900px) {
    .products-carousel {
        gap: 1rem;
        padding: 0 1vw 2vw 1vw;
    }
    .product-card {
        min-width: 220px;
        max-width: 260px;
    }
    .product-img {
        height: 180px;
    }
}

@media (max-width: 600px) {
    .products-title {
        font-size: 1.2rem;
    }
    .products-carousel {
        gap: 0.7rem;
        padding: 0 0.5vw 2vw 0.5vw;
    }
    .product-card {
        min-width: 170px;
        max-width: 200px;
    }
    .product-img {
        height: 110px;
    }
}

.footer {
    background: #151515;
    color: #fff;
    padding: 2.5rem 0 1.5rem 0;
    font-size: 1rem;
    margin-top: 3rem;
}

.footer-credit {
    text-align: center;
    color: #bfbfbf;
    font-size: 0.95rem;
    padding: 0.75rem 0 2rem 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 4vw;
}

.footer-col {
    flex: 1 1 140px;
    min-width: 180px;
    margin-bottom: 1.5rem;
}

.brand-col {
    flex: 2 1 240px;
    min-width: 220px;
}

.footer-logo {
    font-family: 'Pacifico', cursive;
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    display: block;
    width: auto;
    max-width: 120px; /* desktop */
    height: auto;
}

.footer-desc {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    max-width: 270px;
}

.footer-socials a {
    color: #fff;
    margin-right: 1rem;
    font-size: 1.3rem;
    transition: color 0.2s;
    display: inline-block;
}
.footer-socials a:last-child {
    margin-right: 0;
}
.footer-socials a:hover {
    color: #6c63ff;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 0.7rem;
    font-size: 1.08rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: #6c63ff;
}

.newsletter-col {
    min-width: 240px;
    max-width: 320px;
}

.footer-news-desc {
    color: #ccc;
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
}

.footer-newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.footer-newsletter input[type="email"] {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    outline: none;
    flex: 1 1 120px;
}

.footer-newsletter button {
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    border: none;
    background: #fff;
    color: #151515;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.footer-newsletter button:hover {
    background: #6c63ff;
    color: #fff;
}

@media (max-width: 900px) {
    .footer-container {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-col, .brand-col, .newsletter-col {
        min-width: 160px;
    }
}

@media (max-width: 700px) {
    .footer {
        /* reduce vertical padding on small screens */
        padding: 1rem 0 0.8rem 0;
    }
    .footer-container {
        flex-direction: column;
        gap: 0.6rem; /* much tighter gaps when stacked */
        padding: 0 0.8rem;
    }
    .footer-col, .brand-col, .newsletter-col {
        min-width: 0;
        max-width: 100%;
        margin-bottom: 0.6rem;
    }
    .footer-logo {
        font-size: 1.9rem;
        margin-bottom: 0.4rem;
    }

    .footer-logo-img {
        max-width: 120px; /* mobile */
    }

    .footer-credit {
        padding: 0.3rem 0 0.8rem 0;
        font-size: 0.95rem;
    }

    .footer-newsletter {
        margin-top: 0.2rem;
    }
}

/* About Section Styles */
.about-section {
    width: 100%;
    background: #fff;
    padding: 4rem 0 2rem 0;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 700px;
    width: 90%;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    padding: 2.5rem 2rem;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111;
    text-align: center;
}

.about-text {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    text-align: left;
}

/* Product Detail Page Styles */
.product-detail-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2vw 2rem 2vw;
    background: #fff;
    min-height: 70vh;
}

.product-detail-img-col {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: stretch; /* Stretch image vertically */
    min-width: 320px;
    min-height: 600px;
    height: 100%;
}

.product-detail-img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover; /* Cover the whole column */
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    background: #fff;
    display: block;
}

.product-detail-info-col {
    flex: 1 1 400px;
    min-width: 320px;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111;
}

.product-detail-subtitle {
    font-size: 1.3rem;
    color: #888;
    margin-bottom: 1.2rem;
}

.product-detail-price {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #111;
}

.product-detail-desc {
    font-size: 1.08rem;
    color: #444;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.product-detail-goodfor {
    margin-bottom: 1.2rem;
}

.product-detail-goodfor-title {
    color: #888;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.product-detail-goodfor-list {
    color: #444;
    font-size: 1.08rem;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.product-detail-goodfor-list li {
    margin-bottom: 0.2rem;
}

.product-detail-goodfor-list i {
    color: #222;
    margin-right: 0.5em;
}

.product-detail-cart-btn {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    margin: 1.2rem 0 0.7rem 0;
    cursor: pointer;
    transition: background 0.2s;
}

.product-detail-cart-btn:hover {
    background: #333;
}

.product-detail-fineprint {
    font-size: 0.95rem;
    color: #888;
    margin-top: 0.5rem;
}

@media (max-width: 1100px) {
    .product-detail-section {
        gap: 2rem;
        padding: 2rem 1vw 1rem 1vw;
    }
    .product-detail-img-col,
    .product-detail-info-col {
        max-width: 100%;
    }
    .product-detail-img {
        max-width: 340px;
    }
}

@media (max-width: 800px) {
    .product-detail-section {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 2rem 1vw 1rem 1vw;
    }
    .product-detail-img-col {
        min-height: 320px;
    }
    .product-detail-img {
        max-width: 260px;
    }
    .product-detail-title {
        font-size: 1.3rem;
    }
}