/* Retro Style Creative Workshops Website */
/* Colors: #5f4f6c, #adb0d3, #b07265 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5f4f6c;
    --secondary-color: #adb0d3;
    --accent-color: #b07265;
    --text-dark: #2c2c2c;
    --text-light: #f5f5f5;
    --bg-light: #fafafa;
    --retro-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    box-shadow: var(--retro-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 60px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    max-width: 200px;
    min-width: 120px;
    height: 60px;
    line-height: 0;
    padding: 5px 10px;
}

.logo img {
    height: 50px;
    width: auto;
    min-width: 100px;
    max-width: 180px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo:hover {
    transform: scale(1.1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: block;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 100%;
    min-height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    min-height: 100%;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    background: rgba(95, 79, 108, 0.8);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--text-light);
    transform: scale(1.3);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(95, 79, 108, 0.7);
    color: var(--text-light);
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.slider-nav:hover {
    background: rgba(95, 79, 108, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
section {
    padding: 4rem 0;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--retro-shadow);
    transition: all 0.3s ease;
    border: 3px solid var(--secondary-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #ddd;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 3px solid var(--accent-color);
    box-shadow: var(--retro-shadow);
    text-align: center;
}

.btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1.5rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: var(--accent-color);
    color: var(--text-light);
}

.cookie-btn.decline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.cookie-btn:hover {
    transform: scale(1.05);
}

/* Material Icons */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    vertical-align: middle;
    color: var(--accent-color);
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--retro-shadow);
    text-align: center;
    border: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.contact-item .material-icons {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Map */
.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--retro-shadow);
    border: 3px solid var(--secondary-color);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Content Pages */
.content-page {
    padding: 2rem 0;
}

.content-page h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-page h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

.content-page p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.content-page ul, .content-page ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-page li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.content-page img {
    max-width: 60%;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem auto;
    box-shadow: var(--retro-shadow);
    border: 3px solid var(--secondary-color);
    display: block;
}

/* Success Page */
.success-page {
    text-align: center;
    padding: 4rem 0;
    min-height: 60vh;
}

.success-icon {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .header-container {
        min-height: 50px;
    }

    .logo {
        max-width: 150px;
    }

    .logo img {
        height: 50px;
        width: auto;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-slider {
        height: 400px;
        min-height: 400px;
    }

    .slide {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        min-height: 100%;
    }

    .slide h1 {
        font-size: 2rem;
    }

    .slide p {
        font-size: 1rem;
    }

    .slide-content {
        padding: 1.5rem;
        max-width: 90%;
    }

    .section-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .slider-nav {
        padding: 0.5rem;
        font-size: 1.2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .content-page img {
        max-width: 85%;
    }
}

@media (max-width: 320px) {
    .header-container {
        padding: 0 10px;
    }

    .logo {
        max-width: 120px;
    }

    .logo img {
        height: 40px;
        width: auto;
    }

    .hero-slider {
        height: 300px;
        min-height: 300px;
    }

    .slide {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        min-height: 100%;
    }

    .slide h1 {
        font-size: 1.5rem;
    }

    .slide p {
        font-size: 0.9rem;
    }

    .slide-content {
        padding: 1rem;
        max-width: 95%;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .card {
        padding: 1rem;
    }

    .container {
        padding: 0 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .content-page img {
        max-width: 95%;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

