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

body {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    color: #333;
    line-height: 1.6;
    background-image: url('images/site_background.png');
    background-repeat: repeat;
    background-position: top left;
}

/* Gold Top Bar */
.gold-bar {
    height: 25px;
    background: linear-gradient(180deg, #d4af37 0%, #c4962d 50%, #a67c1b 100%);
    border-bottom: 1px solid #8b6914;
}

/* White Space for Logo */
.logo-space {
    height: 60px;
    background: transparent;
}

/* Logo Shield Container - Absolutely Positioned */
.logo-shield-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-left: -550px;
    z-index: 1000;
}

.logo-shield {
    background: white;
    padding: 40px 60px 50px;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
    border: 5px solid #d4af37;
    border-top: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    min-height: 180px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-shield span {
    font-size: 42px;
    font-weight: bold;
    color: #003087;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Header */
.header {
    background: #003087;
    padding: 20px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

/* Logo Placeholder */
.logo-placeholder {
    width: 250px;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-nav a:hover {
    opacity: 0.8;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 600px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    display: block;
}

.slide-fish-oil {
    background-image: url('images/slider-fish-oil.jpg');
}

.slide-coq10 {
    background-image: url('images/slider-coq10.jpg');
}

.slide-milk {
    background-image: url('images/slider-milk.jpg');
}

/* Slider Dots */
.slider-dots {
    text-align: left;
    padding: 20px 0;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: -640px;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #0096d6;
}

/* Three Cards Section */
.cards-section {
    padding: 0;
    background: transparent;
}

.cards-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.card {
    position: relative;
    height: 280px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-products {
    background: linear-gradient(135deg, #c9e6f5 0%, #a8d8ee 100%);
}

.card-retailers {
    background: #f8f8f8;
}

.card-contact {
    background: #fef5f1;
}

.card-content {
    padding: 40px;
    position: relative;
    z-index: 2;
}

.card h2 {
    font-size: 28px;
    color: #0066cc;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: normal;
}

.card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s;
}

.card-arrow:hover {
    transform: translateX(5px);
}

.card-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background-size: cover;
    background-position: center;
}

.product-thumb {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.milk-thumb {
    background-image: url('images/card-fish-oil.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
}

.cart-image {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4534f"><path d="M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>') no-repeat center;
    background-size: 120px;
    opacity: 0.8;
}

.baby-image {
    background-image: url('images/card-contact.jpg');
    background-size: cover;
    background-position: center;
}

/* Products Section */
.products-section {
    padding: 80px 40px;
    background: transparent;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 50px;
    font-weight: normal;
}

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

.product-item {
    text-align: center;
}

.product-img {
    width: 100%;
    height: 280px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 20px;
    border-radius: 10px;
}

.fish-oil-product {
    background-image: url('images/product-fish-oil-grid.png');
}

.coq10-product {
    background-image: url('images/product-coq10-grid.png');
}

.milk-product {
    background-image: url('images/product-milk-grid.png');
}

.product-item h3 {
    font-size: 18px;
    color: #333;
    font-weight: normal;
    line-height: 1.4;
}

.product-item h3 sup {
    font-size: 0.7em;
}

/* Footer */
.footer-top {
    background: linear-gradient(180deg, #b8dff0 0%, #a0d3ea 100%);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 150"><path fill="%23ffffff" fill-opacity="0.2" d="M0,96L48,80C96,64,192,32,288,37.3C384,43,480,85,576,90.7C672,96,768,64,864,58.7C960,53,1056,75,1152,80L1200,85L1200,150L1152,150C1056,150,960,150,864,150C768,150,672,150,576,150C480,150,384,150,288,150C192,150,96,150,48,150L0,150Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #003087;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    color: #003087;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: white;
}

.newsletter h3 {
    font-size: 16px;
    color: #003087;
    margin-bottom: 10px;
    font-weight: normal;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 250px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    color: #003087;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #f0f0f0;
}

/* Footer Bottom */
.footer-bottom {
    background: #003087;
    padding: 20px 40px;
    color: white;
}

.footer-bottom .footer-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.copyright {
    font-size: 12px;
    opacity: 0.8;
}

.legal-links a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.legal-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .slide-content {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .slide-text h1 {
        font-size: 28px;
    }

    .product-image {
        width: 300px;
        height: 250px;
    }
}
