﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #492010;
    --secondary-color: #8A3B05;
    --accent-color: #D98607;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --background-light: #fafafa;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(73, 32, 16, 0.1);
    --shadow-hover: 0 4px 16px rgba(73, 32, 16, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--primary-color);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(73, 32, 16, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    color: var(--white);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    opacity: 0.3;
    animation: fadeIn 1.5s ease;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.3;
    }
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-outline-light {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

/* Services Section */
.services-section {
    background-color: var(--background-light);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    color: var(--accent-color);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
}

/* About Section */
.about-layout {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    flex: 1;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--accent-color);
    border-radius: 8px;
    z-index: -1;
}

.about-content {
    flex: 1;
}

.about-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    display: block;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Workshops Section */
.workshops-section {
    background-color: var(--background-light);
}

.workshops-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.workshop-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.workshop-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.workshop-image {
    height: 250px;
    overflow: hidden;
}

.workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.workshop-card:hover .workshop-image img {
    transform: scale(1.1);
}

.workshop-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.workshop-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.workshop-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.workshop-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.workshop-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.workshop-features li:last-child {
    border-bottom: none;
}

.workshop-content .btn-secondary {
    margin-top: auto;
}

/* Art Evenings Section */
.art-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.art-card {
    position: relative;
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.art-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.art-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(73, 32, 16, 0.9) 0%, rgba(73, 32, 16, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.art-card:hover .art-image {
    transform: scale(1.1);
}

.art-card:hover .art-overlay {
    background: linear-gradient(to top, rgba(73, 32, 16, 0.95) 0%, rgba(73, 32, 16, 0.5) 100%);
}

.art-overlay h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.art-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Rules Section */
.rules-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.rules-container {
    max-width: 1000px;
    margin: 0 auto;
}

.rules-title {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
}

.rules-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.rule-item {
    flex: 1;
    min-width: 280px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rule-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.rule-item h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.rule-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Links Section */
.links-section {
    background-color: var(--background-light);
    padding: 3rem 0;
}

.links-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.external-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.external-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.external-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--accent-color);
}

.external-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
}

.btn-newsletter {
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
}

.btn-newsletter:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }

    .nav.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-banner {
        min-height: 500px;
    }

    .hero-image {
        width: 100%;
        opacity: 0.2;
    }

    .services-grid,
    .workshops-grid,
    .art-grid {
        flex-direction: column;
    }

    .about-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline-light {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .external-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 3rem 20px;
    }

    section {
        padding: 3rem 0;
    }

    .service-card,
    .workshop-card,
    .rule-item {
        min-width: 100%;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        padding: 0.75rem 15px;
    }

    .logo {
        height: 40px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .hero-banner {
        min-height: 400px;
    }

    .hero-content {
        padding: 2rem 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-outline-light {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .service-card,
    .workshop-card,
    .rule-item {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .about-image {
        height: 300px;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .workshop-image {
        height: 200px;
    }

    .art-card {
        height: 350px;
        min-width: 100%;
    }

    .art-overlay {
        padding: 1.5rem;
    }

    .rule-item {
        padding: 1.5rem;
    }

    .rule-number {
        font-size: 2.5rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-column {
        min-width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .btn-newsletter {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline-light {
        width: 100%;
        max-width: 100%;
    }

    .external-links {
        flex-direction: column;
    }

    .external-link {
        width: 100%;
        justify-content: center;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 2rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    display: block;
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-text p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-banner-text a:hover {
    color: var(--white);
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-cookie-accept,
.btn-cookie-decline {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
}

.btn-cookie-accept {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-cookie-accept:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-cookie-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 1.5rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .cookie-banner-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .btn-cookie-accept,
    .btn-cookie-decline {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 320px) {
    .cookie-banner {
        padding: 1rem 1.25rem;
    }

    .cookie-banner-text p {
        font-size: 0.9rem;
    }

    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cookie-accept,
    .btn-cookie-decline {
        width: 100%;
        padding: 12px 20px;
    }
}