/* 
   Ximuli Gosaki - Yoga Website
   Main Stylesheet
*/

/* ======= Variables ======= */
:root {
    /* Colors */
    --color-primary: #3B1E5A;     /* Deep purple-blue */
    --color-accent: #FF6F61;      /* Warm coral */
    --color-secondary: #FFE5D9;   /* Light peach */
    --color-text: #2C2C2C;        /* Dark gray */
    --color-light: #FFFFFF;
    --color-gray: #F5F5F5;
    --color-gray-dark: #888888;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF7E5F 0%, #FEB47B 100%);
    
    /* Shadows */
    --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 8px 16px rgba(255, 111, 97, 0.25);
    
    /* Border radius */
    --radius-small: 5px;
    --radius-medium: 10px;
    --radius-large: 15px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

/* ======= Base Styles ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-medium);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--color-accent);
    margin: 1rem auto 0;
}

/* ======= Animations ======= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.slide-in {
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

/* Animation delays for sequenced animations */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* ======= Buttons ======= */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-medium);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-light);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-light);
}

/* ======= Header ======= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-medium);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-small);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.3rem;
}

.logo svg {
    margin-right: 0.5rem;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.main-nav a:hover {
    color: var(--color-accent);
}

.main-nav a:hover::after {
    width: 100%;
}

/* ======= Hero Banner ======= */
.hero-banner {
    padding: 8rem 0 5rem;
    background: var(--gradient-primary);
    color: var(--color-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

/* ======= About Section ======= */
.about-section {
    background-color: var(--color-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ======= Training Cards ======= */
.trainings-section {
    background-color: var(--color-gray);
}

.training-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.training-card {
    background-color: var(--color-light);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-fast);
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.training-image {
    height: 200px;
    overflow: hidden;
}

.training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.training-card:hover .training-image img {
    transform: scale(1.1);
}

.training-content {
    padding: 1.5rem;
}

.training-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.training-title {
    margin-bottom: 0.5rem;
}

.training-card .btn {
    margin-top: 1rem;
}

/* ======= Benefits Section ======= */
.benefits-section {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-large);
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* ======= Testimonials ======= */
.testimonials-section {
    background-color: var(--color-secondary);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.testimonial-title {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

/* ======= Form Section ======= */
.form-section {
    background-color: var(--color-light);
    position: relative;
    overflow: hidden;
}

.form-container {
    background-color: var(--color-light);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-large);
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    z-index: -1;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #eee;
    border-radius: var(--radius-medium);
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label {
    position: relative;
    padding-left: 1.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.form-checkbox:checked + .checkbox-label::before {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.form-checkbox:checked + .checkbox-label::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox:focus + .checkbox-label::before {
    box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

.form-button {
    width: 100%;
    padding: 1rem;
}

/* ======= FAQ Section ======= */
.faq-section {
    background-color: var(--color-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-small);
}

.faq-question {
    background-color: var(--color-light);
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition-fast);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.faq-answer {
    background-color: var(--color-light);
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-medium);
}

/* CSS-only accordion using adjacent sibling selector and :checked */
.faq-toggle {
    display: none;
}

.faq-toggle:checked + .faq-question {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.faq-toggle:checked + .faq-question::after {
    content: '−';
    color: var(--color-light);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1.2rem;
}

/* ======= Footer ======= */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: var(--color-light);
    margin-bottom: 1rem;
}

.footer-logo svg {
    margin-right: 0.5rem;
}

.company-desc {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-contact address {
    font-style: normal;
    font-size: 0.9rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a,
.footer-links a,
.footer-legal a {
    color: var(--color-secondary);
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-contact a:hover,
.footer-links a:hover,
.footer-legal a:hover {
    color: var(--color-accent);
    opacity: 1;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ======= Cookie Popup ======= */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    max-width: 420px;
    background-color: #fff;
    color: var(--color-dark);
    padding: 1.2rem;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    animation: slideIn 0.5s ease;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
}

.cookie-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* ======= Media Queries ======= */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-banner {
        padding: 7rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-popup {
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 10px 10px 0 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links ul,
    .footer-legal ul {
        align-items: center;
    }
} 