/* 
   Project: Serenidad Yoga Madrid
   Theme: Wellness / Yoga / Health
   Main colors: #2d5a27 (Forest Green), #f5f5dc (Beige), #ffffff (White), #333333 (Dark Text)
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --primary-color: #2d5a27;
    --secondary-color: #f5f5dc;
    --accent-color: #7b9468;
    --text-color: #333333;
    --light-text: #ffffff;
    --bg-light: #ffffff;
    --bg-footer: #1a2f17;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    margin-bottom: 20px;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

/* Header & Navigation */
header {
    background: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../img/hero.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #1e3d1a;
    transform: translateY(-2px);
}

/* Grid Sections */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

/* About Section */
.about {
    background-color: var(--secondary-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-img {
    flex: 1;
}

/* FAQ */
.faq-item {
    margin-bottom: 15px;
}

details {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

summary::before {
    content: '+';
    margin-right: 10px;
    color: var(--primary-color);
}

details[open] summary::before {
    content: '-';
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.legal-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.legal-checkbox input {
    width: auto;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 9999;
}

#cookie-banner button {
    margin-left: 15px;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Footer (Dark Background Protocol) */
footer {
    background-color: var(--bg-footer);
    color: var(--light-text);
    padding: 60px 0 20px;
}

footer h3, footer h4 {
    color: var(--light-text);
}

footer a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--light-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

/* Privacy/Terms Pages Custom Styles */
.legal-page {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 40px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
}
