/* 
* Rubube Yoga Studio - Main Stylesheet
* Colors:
* - Gradient: Lavender (#B087D1) → Mandarin (#FFB46D)
* - Background: Dark Indigo (#1B1F3B)
* - Accents: Azure (#7AD7F0), Saffron (#FFB800), Ash Gray (#9DA3B4)
* - Text: Ivory (#F5F5DC), Charcoal (#222222)
*/

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-lavender: #B087D1;
    --color-mandarin: #FFB46D;
    --color-indigo: #1B1F3B;
    --color-azure: #7AD7F0;
    --color-saffron: #FFB800;
    --color-ash-gray: #9DA3B4;
    --color-ivory: #F5F5DC;
    --color-charcoal: #222222;
    
    --gradient-primary: linear-gradient(135deg, var(--color-lavender), var(--color-mandarin));
    --gradient-text: linear-gradient(90deg, var(--color-lavender), var(--color-mandarin));
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Merriweather', serif;
    
    --transition-standard: all 0.3s ease;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-ivory);
    background-color: var(--color-indigo);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--color-azure);
    transition: var(--transition-standard);
}

a:hover {
    color: var(--color-saffron);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h1 {
    font-size: 4.8rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 3.6rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.6rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-standard);
    border: none;
    font-family: var(--font-primary);
    font-size: 1.6rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-ivory);
    box-shadow: 0 4px 10px rgba(176, 135, 209, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(176, 135, 209, 0.4);
    color: var(--color-ivory);
}

.btn-secondary {
    background: transparent;
    color: var(--color-ivory);
    border: 2px solid var(--color-ash-gray);
}

.btn-secondary:hover {
    background: rgba(157, 163, 180, 0.1);
    transform: translateY(-3px);
    color: var(--color-ivory);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(27, 31, 59, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 14rem;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-ivory);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: var(--transition-standard);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-ivory);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition-standard);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(27, 31, 59, 0.8), rgba(27, 31, 59, 0.8)), url('./img/yr85yQ.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 8rem;
}

.hero-content {
    max-width: 60rem;
}

.hero h1 {
    margin-bottom: 2.4rem;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3.2rem;
}

/* Page Hero */
.page-hero {
    padding: 10rem 0 4rem;
    text-align: center;
    background: linear-gradient(rgba(27, 31, 59, 0.7), rgba(27, 31, 59, 0.9)), url('./img/yr85yQ.jpg');
    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.8rem;
    opacity: 0.8;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: rotate(2deg);
    transition: var(--transition-standard);
}

.about-image:hover {
    transform: rotate(0) scale(1.02);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem;
    transition: var(--transition-standard);
    position: relative;
    overflow: hidden;
}

.benefit-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background: var(--gradient-primary);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.course-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition-standard);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.course-image {
    height: 20rem;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-standard);
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 2rem;
}

.course-price {
    font-size: 2.4rem;
    color: var(--color-saffron);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem;
    margin: 2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 5rem;
    color: var(--color-lavender);
    opacity: 0.3;
    position: absolute;
    top: -2rem;
    left: -1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    overflow: hidden;
}

.author-info h4 {
    margin-bottom: 0.5rem;
}

.author-info p {
    font-size: 1.4rem;
    color: var(--color-ash-gray);
    margin-bottom: 0;
}

/* FAQ Section */
.faq-list {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(157, 163, 180, 0.2);
    padding-bottom: 2rem;
}

.faq-question {
    font-weight: 600;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.faq-question a {
    color: var(--color-ivory);
    text-decoration: none;
    display: block;
    width: 100%;
}

.faq-question:after {
    content: '+';
    font-size: 2.4rem;
    color: var(--color-azure);
    transition: var(--transition-standard);
    position: absolute;
    right: 0;
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    margin-top: 1.5rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Form Section */
.form-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 4rem;
    max-width: 60rem;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(157, 163, 180, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    color: var(--color-ivory);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    transition: var(--transition-standard);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-azure);
    box-shadow: 0 0 0 2px rgba(122, 215, 240, 0.2);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23F5F5DC' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 3rem;
}

.form-select option {
    background-color: var(--color-indigo);
    color: var(--color-ivory);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-checkbox input {
    margin-top: 0.5rem;
    margin-right: 1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 30rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 4rem;
    text-align: center;
    margin-top: 2rem;
}

.alert {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.alert-error {
    background-color: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.3);
}

.alert ul {
    padding-left: 2rem;
}

/* Policy Pages */
.policy-section {
    padding: 4rem 0 8rem;
}

.policy-content {
    max-width: 80rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 4rem;
}

.policy-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2.4rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p, .policy-content ul {
    margin-bottom: 1.5rem;
}

.policy-content ul {
    padding-left: 2rem;
    list-style: disc;
}

.policy-content li {
    margin-bottom: 0.8rem;
}

/* Thank You Page */
.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 60rem;
    margin: 0 auto;
    text-align: center;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
}

.thank-you-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
}

.thank-you-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

/* Footer */
.main-footer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(157, 163, 180, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-description {
    font-size: 1.4rem;
    color: var(--color-ash-gray);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 40rem;
    background-color: var(--color-indigo);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    z-index: 1001;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 2rem;
}

.cookie-content form {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Media Queries */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-indigo);
        padding: 10rem 2rem 2rem;
        transition: var(--transition-standard);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
        z-index: 900;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .main-nav a {
        font-size: 2rem;
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: relative;
        z-index: 1000;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .section {
        padding: 6rem 0;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .form-section {
        padding: 3rem;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-content {
        padding: 2rem;
    }
    
    .thank-you-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    .courses-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .cookie-content form {
        flex-direction: column;
    }
    
    .form-section {
        padding: 2rem;
    }
} 