﻿/* Global Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #333333;
    --accent-color: #FFA500;
    --text-color: #444444;
    --background-color: #f9f9f9;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-sizing: border-box;
    color: var(--text-color);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--secondary-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

/* Hero Section */
.hero {
    background: url('/images/image.JPG') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: inherit;
        filter: blur(5px);
        z-index: 1;
    }

.overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    color: white;
    position: relative;
    z-index: 2;
}

.headline {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0;
    animation: fadeInUp 1s ease-out;
}

.subheadline {
    font-size: 1.5rem;
    margin: 15px 0 25px;
    animation: fadeInUp 1s ease-out 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1s ease-out 1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

    .cta-button:hover {
        background-color: var(--accent-color);
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }


/* About Section */
.about {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

    .about h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

    .profile-image:hover {
        transform: scale(1.05);
    }

.about-text {
    max-width: 600px;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.about .btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 0.3s;
    text-decoration: none;
    margin-top: 20px;
}

    .about .btn:hover {
        background-color: var(--accent-color);
    }

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--background-color);
    text-align: center;
}

    .products h2 {
        font-size: 2.5rem;
        color: var(--secondary-color);
        margin-bottom: 50px;
    }

.product-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    .product-cards.hidden {
        visibility: hidden;
        opacity: 0;
        height: 0; /* Optional: Collapse the height */
        overflow: hidden; /* Hide overflowing content */
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .product-cards.visible {
        visibility: visible;
        opacity: 1;
        height: auto; /* Restore height */
        overflow: visible; /* Show content */
    }


/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* Card Styles */
.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.card:hover .product-image {
    transform: scale(1.05);
}

.card h3 {
    font-size: 1.8rem;
    margin: 15px 0 5px;
    color: var(--secondary-color);
    font-weight: 700;
}

.card p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0 0 10px;
}

.price {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 700;
}

.card a.btn,
.card button.btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    margin: 15px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}

    .card a.btn:hover,
    .card button.btn:hover {
        background-color: var(--accent-color);
    }

.cart-count {
    background-color: var(--accent-color);
    color: white;
    font-size: 0.9rem;
    padding: 3px 7px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 50%;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .product-cards {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        max-width: 90%;
        margin: 0 auto;
    }
}


/* --- Product Detail Section --- */
.product-detail {
    padding: 120px 0 40px;
    background: var(--background-color);
}

.product-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-image {
    flex: 0 0 350px;
    max-width: 350px;
    width: 100%;
    aspect-ratio: 1 / 1.414; /* A4 ratio */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 495px; /* 350 * 1.414 for A4, ensures container keeps shape */
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Show full A4, no cropping */
        border-radius: 12px;
        background: #fff;
        box-shadow: none;
        display: block;
    }

.product-info {
    flex: 1 1 320px;
    min-width: 0;
    max-width: 600px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .product-info h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .product-info .description {
        margin-bottom: 20px;
        font-size: 1.1rem;
        line-height: 1.6;
    }

.features {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

    .features li {
        margin-bottom: 10px;
        padding-left: 25px;
        position: relative;
    }

        .features li::before {
            content: "\2022";
            color: var(--primary-color);
            font-weight: bold;
            position: absolute;
            left: 0;
        }


.product-details {
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 10px;
    margin-top: 0px;
}

    .product-details h2 {
        margin-bottom: 20px;
    }

    .product-details ul {
        padding-left: 20px;
    }

    .product-details li {
        margin-bottom: 10px;
    }

/* --- Responsive --- */
@media (max-width: 900px) {
    .product-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .product-image, .product-info {
        max-width: 95vw;
        width: 100%;
    }

    .product-image {
        min-height: 0;
        aspect-ratio: 1 / 1.414;
    }

    .product-info h1 {
        font-size: 2rem;
    }

    .product-details {
        padding: 20px;
    }
}



/* Testimonials Section */
.testimonials h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonials {
    background-color: var(--background-color);
    padding: 80px 0;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: opacity 0.5s;
}

    .carousel-slide.active {
        display: flex;
    }

.testimonial-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    display: block;
}

.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

    .carousel-dots .dot {
        display: inline-block;
        width: 12px;
        height: 12px;
        margin: 0 5px;
        background: #bbb;
        border-radius: 50%;
        cursor: pointer;
        transition: background 0.3s;
    }

        .carousel-dots .dot.active {
            background: #333;
        }

@media (max-width: 600px) {
    .testimonial-carousel {
        max-width: 95vw;
    }
}


/* Contact Section */
.contact {
    background-color: #f4f4f4;
    padding: 80px 0;
    text-align: center;
}

    .contact h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    .contact .alert {
        background-color: #d4edda;
        color: #155724;
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 5px;
    }

    .contact form {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact .form-group {
        width: 100%;
    }

    .contact label {
        font-weight: bold;
        color: var(--secondary-color);
        margin-bottom: 5px;
    }

    .contact input[type="text"],
    .contact input[type="email"],
    .contact textarea {
        width: 100%;
        max-width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
        transition: border-color 0.3s;
        box-sizing: border-box; /* Include padding and border in width */
    }

        .contact input:focus,
        .contact textarea:focus {
            border-color: var(--primary-color);
        }

    .contact textarea {
        height: 150px;
        resize: none;
    }

    .contact button[type="submit"] {
        background-color: var(--primary-color);
        color: #fff;
        padding: 12px 30px;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        text-transform: uppercase;
        transition: background-color 0.3s;
        cursor: pointer;
    }

        .contact button[type="submit"]:hover {
            background-color: var(--accent-color);
        }


/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

    .social-links a:hover {
        color: var(--accent-color);
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .product-cards {
        grid-template-columns: 1fr;
    }

    .product-content {
        flex-direction: column;
    }

    .nav-links {
        display: none; /* Hide regular menu */
    }

    /* Add styles for mobile menu here */
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background-color: transparent;
    border: none;
    /*NEW*/
    position: relative;
    z-index: 1001;
    padding: 10px;
}

    .hamburger .bar {
        height: 2px;
        width: 25px;
        background-color: white;
        margin: 2.75px 0;
        /*change here*/
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg); /* Rotate first bar */
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0; /* Hide middle bar */
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }



/* Enhanced Navigation Styles */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 1rem;
}

    .nav-links li {
        position: relative;
    }

    .nav-links a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        padding: 8px 15px;
        border-radius: 4px;
        transition: background-color 0.3s, color 0.3s;
    }

        .nav-links a:hover {
            background-color: var(--accent-color);
            color: #ffffff;
        }

.greeting {
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    width: 100%;
    padding: 10px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger on mobile */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: var(--secondary-color);
        justify-content: center;
        align-items: center;
        gap: 20px;
        z-index: 1000; /* Ensure it's above other content */
        padding: 20px 0;
        overflow-y: auto;
        transform: translateX(100%); /* Start off-screen */
        opacity: 0; /* Start invisible */
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    }

        .nav-links.active {
            display: flex; /* Show links when active */
            transform: translateX(0); /* Slide into view */
            opacity: 1;
        }

        .nav-links a {
            font-size: 1.2rem; /* Larger font for mobile */
            padding: 15px; /* More padding for touch targets */
        }
}

/* Gender Toggle Styles */
.gender-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.gender-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.gender-button.active {
   background-color: var(--accent-color);
}
.gender-button:hover {
        background-color: var(--accent-color);
}

/* Online Coaching Section */

.online-coaching {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9, #e6e6e6);
    text-align: center;
}

    .online-coaching h2 {
        font-size: 2.8rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    .online-coaching .intro-text {
        font-size: 1.4rem;
        color: var(--text-color);
        margin-bottom: 40px;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

    .cta-button:hover {
        background-color: var(--accent-color);
    }


@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .online-coaching h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .testimonials h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }


    .online-coaching .intro-text {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }
}


.product-image-card {
    width: 100%;
    aspect-ratio: 1 / 1.414; /* A4 shape */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 212px; /* 300px * 1/1.414 */
    max-height: 424px; /* 300px * 1.414 */
    border-bottom: 1px solid #f0f0f0;
}

    .product-image-card .a4-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 0;
        background: #fff;
        display: block;
        margin: 0 auto;
        box-shadow: none;
        transition: transform 0.3s;
    }