/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    /* margin-left removed, using gap in container */
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.2);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.8rem;
    background-color: var(--text-color);
    color: var(--white);
    border-radius: 20px;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.btn-text:hover {
    border-bottom-color: var(--primary-color);
}

/* Header */
.site-header {
    padding: var(--spacing-md) 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally */
    position: relative;
    overflow: hidden;
    text-align: center; /* Center text */
    padding-top: 80px; /* Account for fixed header */
}

.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 800px; /* Limit width for better readability */
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Increased gap */
    margin-top: 35px;
}

.hero-btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-text-quiz {
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid transparent;
    padding-bottom: 5px;
    transition: var(--transition-fast);
}

.btn-text-quiz:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%; /* Full width */
    height: 100%;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background-color: var(--primary-light);
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background-color: #FFD700;
    bottom: 10%;
    right: 30%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Sections */
.section {
    padding: var(--spacing-lg) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    border-radius: 10px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.gallery-item {
    height: 300px;
    background-color: #ddd;
    border-radius: 8px;
    transition: transform var(--transition-fast);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.center-btn {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform var(--transition-fast);
}

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

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card .price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Quiz Teaser */
.quiz-teaser {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
}

.quiz-teaser h2 {
    color: var(--white);
}

.quiz-teaser .btn {
    background-color: #8D6E63; /* Brown */
    color: var(--white);
    border: none;
    margin-top: 20px; /* Lower position */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.quiz-teaser .btn:hover {
    background-color: #6D4C41;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Footer */
.site-footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Contacts */
#contacts {
    text-align: center;
}

#contacts p {
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
}

.social-links {
    margin-top: var(--spacing-sm);
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.social-link {
    color: var(--primary-color);
    font-weight: 600;
}



/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-btn {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.lang-btn.active, .lang-btn:hover {
    opacity: 1;
}

/* Artist Photo */
.artist-photo {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    /* box-shadow: 20px 20px 0 var(--primary-light); Removed shadow */
    display: block;
    margin: 0 auto;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 1200px; /* Increased width for 3 items */
    margin: 0 auto var(--spacing-md);
    padding: 0 50px;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 10px;
    /* box-shadow: 0 10px 20px rgba(0,0,0,0.1); Removed shadow from container, maybe add to items */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px; /* Gap between items */
}

.carousel-slide {
    min-width: 100%; /* Default mobile: 1 item */
    list-style: none;
    text-align: center; /* Center text */
}

.carousel-slide img {
    width: 100%;
    height: 400px; /* Fixed height */
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.carousel-caption {
    margin-top: 15px;
    padding: 0 10px;
}

.carousel-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.carousel-caption p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Desktop: 3 items */
@media (min-width: 992px) {
    .carousel-slide {
        min-width: calc(33.333% - 14px); /* 3 items minus gap adjustment */
    }
}

/* Tablet: 2 items */
@media (min-width: 768px) and (max-width: 991px) {
    .carousel-slide {
        min-width: calc(50% - 10px);
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* Animations */
.fade-in-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero-background {
        width: 100%;
        opacity: 0.3;
    }
    
    .menu-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 101;
    }
    
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-color);
        margin-bottom: 6px;
        transition: 0.3s;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .carousel-slide img {
        height: 300px;
    }
}
