:root {
    --primary-color: #8B7355;
    --secondary-color: #D4A574;
    --accent-color: #A67C52;
    --text-dark: #2C2416;
    --text-light: #F5F1E8;
    --bg-light: #FAF8F3;
    --bg-cream: #F5EFE6;
    --border-color: #E8DCC8;
    --shadow: rgba(139, 115, 85, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.main-header {
    background-color: rgba(250, 248, 243, 0.98);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navigation-bar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.7), rgba(212, 165, 116, 0.5));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background-color: var(--bg-cream);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
}

/* Intro Section */
.intro-section {
    padding: 80px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.secondary-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 20px;
}

.secondary-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    background-color: var(--bg-cream);
}

.section-title-center {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
}

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

.course-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px var(--shadow);
}

.course-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-content {
    padding: 25px;
}

.course-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.course-description {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.course-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

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

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.testimonial-stars {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Blog Preview Section */
.blog-preview-section {
    padding: 80px 0;
    background-color: var(--bg-cream);
}

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

.blog-preview-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.blog-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px var(--shadow);
}

.blog-preview-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-preview-content {
    padding: 25px;
}

.blog-preview-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.blog-preview-excerpt {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--primary-color);
}

.blog-cta {
    text-align: center;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-text {
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 0.9;
}

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

.social-icon {
    color: var(--text-light);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-contact {
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer-registration {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -4px 15px var(--shadow);
    padding: 25px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cookie-description {
    color: #555;
    line-height: 1.6;
}

.cookie-description a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-accept:hover {
    background-color: var(--accent-color);
}

.cookie-decline {
    background-color: #e0e0e0;
    color: var(--text-dark);
}

.cookie-decline:hover {
    background-color: #d0d0d0;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.page-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.8), rgba(212, 165, 116, 0.6));
}

.page-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    z-index: 2;
}

.page-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero-subtitle {
    font-size: 1.3rem;
}

/* About Page */
.about-intro {
    padding: 80px 0;
}

.about-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-cream);
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px var(--shadow);
}

.team-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.team-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.team-position {
    padding: 0 20px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    padding: 0 20px 25px;
    color: #555;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-description {
    color: #555;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--bg-cream);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Blog Page */
.blog-section {
    padding: 80px 0;
}

.blog-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.blog-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.blog-posts-grid {
    display: grid;
    gap: 40px;
}

.blog-post-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    display: grid;
    grid-template-columns: 350px 1fr;
    transition: var(--transition);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px var(--shadow);
}

.blog-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    padding: 30px;
}

.blog-post-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
}

.blog-post-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.blog-post-excerpt {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-post-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-post-link:hover {
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background-color: var(--bg-cream);
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.newsletter-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-info-text h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-info-text p,
.contact-info-text a {
    color: #555;
    text-decoration: none;
    line-height: 1.8;
}

.contact-info-text a:hover {
    color: var(--accent-color);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.contact-form-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: var(--bg-cream);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-text {
    color: #555;
    line-height: 1.8;
}

/* Blog Post Page */
.post-article {
    background-color: white;
}

.post-header {
    padding: 40px 0;
    background-color: var(--bg-cream);
}

.post-back-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    margin-bottom: 20px;
    transition: var(--transition);
}

.post-back-link:hover {
    color: var(--primary-color);
}

.post-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 30px;
    color: #777;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.post-intro {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 40px;
    font-style: italic;
}

.post-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 20px;
}

.post-content h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
}

.post-list {
    margin: 20px 0 20px 40px;
    line-height: 1.9;
}

.post-list li {
    margin-bottom: 10px;
    color: #444;
}

.post-cta {
    background-color: var(--bg-cream);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 60px;
}

.post-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .intro-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-card {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .section-title,
    .section-title-center {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section,
    .page-hero {
        height: 400px;
    }
    
    .hero-title,
    .page-hero-title {
        font-size: 1.8rem;
    }
    
    .stats-grid,
    .courses-grid,
    .testimonials-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}