/* 
 * Zenvathoria - Strength Training Website
 * Main CSS Stylesheet
 */

/* ---------- Base Styles ---------- */
:root {
    /* Primary colors */
    --dark-blue: #0A1E3F;
    --electric-yellow: #FFD700;
    --light-gray: #F4F4F4;
    
    /* Additional colors */
    --white: #FFFFFF;
    --black: #000000;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-blue: #1E3A6A;
    --hover-yellow: #E6C200;
    
    /* Program card colors */
    --beginner-color: #4A90E2;
    --intermediate-color: #50C878;
    --advanced-color: #FF6B6B;
    
    /* Fonts */
    --heading-font: 'Oswald', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Dimensions */
    --header-height: 80px;
    --container-width: 1280px;
    --border-radius: 12px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--dark-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--electric-yellow);
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--electric-yellow);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.cta-button {
    display: inline-block;
    background-color: var(--electric-yellow);
    color: var(--dark-blue);
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--hover-yellow);
    color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ---------- Header & Navigation ---------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--dark-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--electric-yellow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links .cta-button {
    padding: 10px 20px;
    margin-left: 15px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

/* Hamburger active state */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    color: var(--white);
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 30, 63, 0.9), rgba(10, 30, 63, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.hero-section .cta-button {
    font-size: 1.2rem;
    padding: 16px 36px;
}

/* ---------- Our Approach Section ---------- */
.approach-section {
    background-color: var(--white);
    padding: 100px 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.approach-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    background-color: var(--light-gray);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.icon-container i {
    font-size: 2rem;
    color: var(--electric-yellow);
}

.approach-item h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.approach-item p {
    color: var(--medium-gray);
}

/* ---------- Why Choose Us Section ---------- */
.why-us-section {
    background-color: var(--light-blue);
    color: var(--white);
}

.why-us-section .section-title {
    color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-us-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-10px);
}

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.why-us-card:hover .card-image img {
    transform: scale(1.1);
}

.why-us-card h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    padding: 20px 20px 10px;
    color: var(--electric-yellow);
}

.why-us-card p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
}

/* ---------- Programs Section ---------- */
.programs-section {
    background-color: var(--light-gray);
}

.carousel-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
}

.program-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.program-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.program-header {
    padding: 30px 20px;
    text-align: center;
    color: var(--white);
}

.program-card.beginner .program-header {
    background-color: var(--beginner-color);
}

.program-card.intermediate .program-header {
    background-color: var(--intermediate-color);
}

.program-card.advanced .program-header {
    background-color: var(--advanced-color);
}

.program-header h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.program-content {
    padding: 30px 20px;
}

.program-content ul {
    margin-bottom: 20px;
}

.program-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.program-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--dark-blue);
}

.program-footer {
    padding: 0 20px 30px;
    text-align: center;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.prev-button,
.next-button {
    background-color: var(--dark-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.prev-button:hover,
.next-button:hover {
    background-color: var(--electric-yellow);
    color: var(--dark-blue);
}

.carousel-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: var(--electric-yellow);
    transform: scale(1.2);
}

/* ---------- Trainers Section ---------- */
.trainers-section {
    background-color: var(--white);
}

.trainers-gallery {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
}

.trainers-gallery::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.trainer-card {
    flex: 0 0 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--light-gray);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.trainer-card:hover {
    transform: translateY(-10px);
}

.trainer-image {
    height: 350px;
    overflow: hidden;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-image img {
    transform: scale(1.1);
}

.trainer-info {
    padding: 20px;
}

.trainer-info h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--dark-blue);
}

.trainer-title {
    font-weight: 600;
    color: var(--electric-yellow);
    margin-bottom: 15px;
}

.trainer-description {
    font-size: 0.95rem;
    color: var(--medium-gray);
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    background-color: var(--dark-blue);
    color: var(--white);
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-image {
    height: 150px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 20px;
}

.stars {
    color: var(--electric-yellow);
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-content h4 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.client-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- FAQ Section ---------- */
.faq-section {
    background-color: var(--light-gray);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    color: var(--dark-blue);
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(10, 30, 63, 0.05);
}

.accordion-header i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 0 20px 20px;
}

/* ---------- Contact Section ---------- */
.contact-section {
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--medium-gray);
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: var(--dark-blue);
    color: var(--electric-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-blue);
    box-shadow: 0 0 0 3px rgba(10, 30, 63, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.submit-button {
    background-color: var(--dark-blue);
    color: var(--white);
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--electric-yellow);
    color: var(--dark-blue);
}

/* ---------- Map Section ---------- */
.map-section {
    padding: 0;
}

.map-container {
    height: 450px;
}

.map-container iframe {
    border: none;
}

/* ---------- Footer ---------- */
.main-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h3,
.footer-legal h3,
.footer-newsletter h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--electric-yellow);
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--electric-yellow);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--body-font);
    font-size: 0.95rem;
}

.newsletter-form button {
    background-color: var(--electric-yellow);
    color: var(--dark-blue);
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 0 20px;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--hover-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 1280px) {
    .container {
        max-width: 1024px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 768px;
    }
    
    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        flex-direction: column;
        background-color: var(--dark-blue);
        gap: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links .cta-button {
        margin: 20px auto;
        display: inline-block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card {
        flex: 0 0 100%;
        margin: 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1.2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

/* AOS Animation Styles */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.6s;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0, 0);
}