@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&family=Nunito:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-white: #FFFFFF;
    --color-mint: #7AC3B2;
    --color-coral: #F47D68;
    --color-kraft: #D9C9B4;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--color-white);
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-mint);
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-mint);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

main {
    min-height: calc(100vh - 200px);
}

section {
    margin: 2rem 0;
    padding: 0 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, var(--color-mint) 0%, var(--color-coral) 100%);
    color: var(--color-white);
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    animation: popIn 0.8s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: popIn 1s ease-out;
}

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-coral);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: visible;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid var(--color-coral);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transform: rotate(0deg) scale(0);
    transition: transform 0.3s ease;
    opacity: 0;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover::after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
    animation: ribbonTie 0.5s ease-out;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244,125,104,0.4);
}

@keyframes ribbonTie {
    0% {
        transform: rotate(0deg) scale(0);
        opacity: 0;
    }
    50% {
        transform: rotate(25deg) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: rotate(45deg) scale(1);
        opacity: 1;
    }
}

.course-card {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: popIn 0.6s ease-out;
    animation-fill-mode: both;
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }
.course-card:nth-child(4) { animation-delay: 0.4s; }

.course-card {
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-mint) 100%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.course-card:hover::before {
    opacity: 1;
    transform: scale(1) rotate(180deg);
    animation: ribbonPop 0.4s ease-out;
}

@keyframes ribbonPop {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.3) rotate(90deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
}

.course-card h3 {
    color: var(--color-mint);
    margin-bottom: 1rem;
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-kraft);
    border-radius: 5px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-mint);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

footer {
    background-color: #333;
    color: var(--color-white);
    padding: 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--color-mint);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--color-white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-mint);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.privacy-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.privacy-links a {
    color: var(--color-mint);
    text-decoration: none;
    font-size: 0.9rem;
}

.privacy-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-white);
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    z-index: 10000;
    display: none;
}

.privacy-popup.show {
    display: block;
    animation: popIn 0.5s ease-out;
}

.privacy-popup p {
    margin-bottom: 1.5rem;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.popup-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.popup-buttons .btn-decline {
    background-color: #999;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    body {
        hyphens: auto;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-carousel {
        height: 300px;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-popup {
        bottom: 10px;
        padding: 1.5rem;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .popup-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-carousel {
        height: 250px;
    }
    
    section {
        padding: 0 0.5rem;
    }
}

.privacy-page,
.terms-page,
.return-page,
.cookies-page {
    padding-left: 1rem;
    padding-right: 1rem;
}

.privacy-page h2,
.terms-page h2,
.return-page h2,
.cookies-page h2 {
    color: var(--color-mint);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-page h3,
.terms-page h3,
.return-page h3,
.cookies-page h3 {
    color: var(--color-coral);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.privacy-page ul,
.terms-page ul,
.return-page ul,
.cookies-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-page p,
.terms-page p,
.return-page p,
.return-page p {
    margin-bottom: 1rem;
}

