* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

/* NAV */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.3s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo,
header.scrolled nav ul li a {
    color: #333;
}

.logo {
    color: white;
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 2px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

/* DROPDOWN */
.dropdown {
    position: relative;
    padding-bottom: 10px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;

    display: flex;
    flex-direction: column;

    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    padding: 5px 0;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;

    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 10px 18px;

    color: #333;
    text-decoration: none;
    font-size: 14px;

    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: #f5f7fa;
    color: #000;
    padding-left: 24px;
}

.dropdown-menu li a::after {
    content: "›";
    float: right;
    opacity: 0;
    transition: 0.2s;
}

.dropdown-menu li a:hover::after {
    opacity: 1;
}

/* HERO */
.hero {
    height: 70vh;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    color: white;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    opacity: 0.9;
}

/* ANIMATION */
.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.fade-in {
    transform: translateY(40px);
}

.zoom-out-container {
    overflow: hidden;
    border-radius: 8px;
}

.zoom-out {
    transform: scale(1.3);
    transition: transform 1.5s ease-out, opacity 1.2s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* SECTIONS */
section {
    padding: 100px 10%;
}

.container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.reverse {
    flex-direction: row-reverse;
}

.text-side {
    flex: 1;
}

.text-side h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.image-side {
    flex: 1;
    text-align: center;
}

.image-side img {
    width: 100%;
    max-width: 500px;
}

/* Product page specific styles */
.product-page .hero {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.25)), url('images/main-img3.png') no-repeat center/cover;
    color: #fff;
    padding: 140px 10% 100px;
}

.product-page .container {
    gap: 40px;
}

.product-page .image-side img {
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 8px;
}

.product-page table,
.product-content table,
.packaging-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.product-page table th,
.product-content table th,
.packaging-table th,
.product-page table td,
.product-content table td,
.packaging-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.packaging-table thead th {
    background: #f7f8fa;
    font-weight: 700;
}

.product-page .btn {
    display: inline-block;
    background: #1a73e8;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .product-page .image-side img { max-width: 100%; }
}

/* FOOTER */
.main-footer {
    background: #1a2c4e;
    color: #f1f1f1;
    padding: 50px 10%;
}

.main-footer .footer-logo {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.main-footer p {
    margin-bottom: 8px;
    opacity: 0.85;
    font-size: 14px;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }

    .logo {
        font-size: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle span {
        background: #fff;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        display: none;
        flex-direction: column;
        padding: 20px;
        width: 100%;
    }

    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        font-size: 15px;
    }

    .dropdown-menu {
        display: none;
        position: static;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        margin-top: 10px;
    }

    .dropdown-menu.active {
        display: block;
        opacity: 1;
        max-height: 500px;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu li a {
        padding-left: 30px;
        background: rgba(255,255,255,0.05);
        color: #fff;
        border-radius: 8px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .dropdown-menu li a:hover {
        background: rgba(255,255,255,0.18);
        color: #fff;
    }

    .hero {
        min-height: 60vh;
        padding: 120px 20px 60px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }

    section {
        padding: 40px 18px;
    }

    .container {
        flex-direction: column;
        gap: 30px;
    }

    .reverse {
        flex-direction: column;
    }

    .text-side h2 {
        font-size: 1.9rem;
    }

    .image-side img {
        max-width: 100%;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-links a {
        width: 100%;
        text-align: center;
    }

    .footer-bottom {
        font-size: 13px;
    }
}

/* PRODUCT TABS */
.product-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
}

.product-tabs button {
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.product-tabs button.active {
    color: #2c3e50;
    border-bottom-color: #2c3e50;
}

.product-content {
    display: none;
}

.product-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}