/* --- Variables & Reset --- */
:root {
    --primary-red: #E31E24; /* Postic Red */
    --primary-blue: #002D72; /* Postic Blue */
    --accent-gold: #FDB913; /* Postic Gold */
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary-blue);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    margin-top: 80px; /* Navbar height */
    background: radial-gradient(circle at top right, #f0f4ff, #fff);
}

.hero-content {
    max-width: 50%;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-red);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    margin-right: 15px;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-image {
    width: 45%;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    /* Animation definition */
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- Features --- */
.features {
    display: flex;
    justify-content: space-around;
    padding: 4rem 5%;
    background: var(--white);
}

.feature-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    width: 30%;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* --- About --- */
.about {
    display: flex;
    align-items: center;
    padding: 5rem 5%;
    background: var(--white);
}

.about-text {
    flex: 1;
    padding-right: 3rem;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.founder-note {
    border-left: 4px solid var(--primary-red);
    padding-left: 1.5rem;
    margin-top: 2rem;
    font-style: italic;
}

.about-img {
    flex: 1;
    text-align: center;
}

.about-img img {
    max-width: 80%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- Products --- */
.products {
    padding: 5rem 5%;
    background: var(--bg-light);
    text-align: center;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    margin-bottom: 3rem;
    color: var(--text-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img img {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.5s;
}

.product-card:hover .card-img img {
    transform: scale(1.05);
}

.product-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.tags {
    margin-top: 1rem;
}

.tags span {
    display: inline-block;
    background: #eef2ff;
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 0 5px;
}

/* --- Nutrition Banner --- */
.nutrition-banner {
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 0;
}

.nutri-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.nutri-item i {
    font-size: 2rem;
    color: var(--accent-gold);
}

/* --- Contact --- */
.contact {
    padding: 5rem 5%;
    background: var(--white);
}

.contact-container {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-top: 5px;
}

.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* --- Footer --- */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: #888;
    margin-top: 10px;
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links a {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 1rem;
    color: #666;
    font-size: 0.8rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        height: auto;
        padding: 150px 5% 50px;
    }
    .hero-content {
        max-width: 100%;
        margin-top: 2rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-image {
        width: 80%;
    }
    .features {
        flex-direction: column;
        gap: 1.5rem;
    }
    .feature-box {
        width: 100%;
    }
    .about {
        flex-direction: column;
    }
    .about-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

/* --- Animations Utility Classes --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}