/* Stelvarik - Dance Fitness Light Carnival
   Main Stylesheet
*/

/* 
 * CSS Variables
 */
:root {
    /* Colors */
    --stelvarik-purple: #932F67;
    --stelvarik-pink: #D92C54;
    --stelvarik-cream: #DDDEAB;
    --stelvarik-green: #8ABB6C;
    --stelvarik-dark: #232323;
    --stelvarik-light: #F9F9F9;
    --stelvarik-gray: #7A7A7A;

    /* Typography */
    --stelvarik-heading-font: 'Syncopate', sans-serif;
    --stelvarik-body-font: 'Outfit', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;

    /* Borders */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Breakpoints */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

/* 
 * Base Styles 
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--stelvarik-body-font);
    font-weight: 400;
    line-height: 1.6;
    color: var(--stelvarik-dark);
    background-color: var(--stelvarik-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--stelvarik-heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--stelvarik-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--space-xl);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--stelvarik-purple);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--stelvarik-pink);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* 
 * Container 
 */
.stelvarik-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* 
 * Buttons 
 */
.stelvarik-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: none;
    font-size: 0.9rem;
}

.stelvarik-btn-primary {
    background-color: var(--stelvarik-pink);
    color: white;
    box-shadow: 0 4px 10px rgba(217, 44, 84, 0.2);
}

.stelvarik-btn-primary:hover {
    background-color: var(--stelvarik-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(147, 47, 103, 0.25);
}

.stelvarik-btn-secondary {
    background-color: transparent;
    color: var(--stelvarik-pink);
    border: 2px solid var(--stelvarik-pink);
}

.stelvarik-btn-secondary:hover {
    background-color: var(--stelvarik-pink);
    color: white;
    transform: translateY(-2px);
}

.stelvarik-link {
    font-weight: 600;
    position: relative;
}

.stelvarik-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--stelvarik-pink);
    transition: width var(--transition-medium);
}

.stelvarik-link:hover::after {
    width: 100%;
}

.stelvarik-divider {
    margin: 0 var(--space-md);
    color: var(--stelvarik-gray);
}

/* 
 * Header 
 */
.stelvarik-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
}

.stelvarik-header.scrolled {
    background: rgba(147, 47, 103, 0.95);
    position: fixed;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    animation: slideDown 0.5s forwards;
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

.stelvarik-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.stelvarik-logo {
    z-index: 101;
}

.stelvarik-logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
}

.stelvarik-logo img {
    display: inline-block;
    transform: rotate(-5deg);
    transition: transform var(--transition-normal);
}

.stelvarik-logo:hover img {
    transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .stelvarik-logo img {
        width: 3rem;
        position: relative;
        z-index: 20;
    }
}

@media (max-width: 768px) {
    .stelvarik-logo img {
        width: 3rem;
        position: relative;
        z-index: 20;
    }
}

@media (max-width: 576px) {
    .stelvarik-logo img {
        width: 2rem;
        position: relative;
        z-index: 20;
    }
}

@media (max-width: 400px) {
    .stelvarik-logo img {
        width: 2rem;
        position: relative;
        z-index: 20;
    }
}

.stelvarik-nav {
    display: flex;
    align-items: center;
}

.stelvarik-menu {
    display: flex;
    transition: all var(--transition-medium);
}

.stelvarik-menu li {
    margin-left: var(--space-lg);
}

.stelvarik-menu a {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
}

.stelvarik-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--stelvarik-cream);
    transition: width var(--transition-medium);
}

.stelvarik-menu a:hover::after,
.stelvarik-menu a.stelvarik-active::after {
    width: 100%;
}

.stelvarik-menu a.stelvarik-highlight {
    background-color: var(--stelvarik-pink);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
}

.stelvarik-menu a.stelvarik-highlight::after {
    display: none;
}

.stelvarik-menu a.stelvarik-highlight:hover {
    background-color: var(--stelvarik-purple);
    transform: translateY(-2px);
}

.stelvarik-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 101;
}

.stelvarik-menu-icon {
    color: white;
    font-size: 1.5rem;
}

/* 
 * Hero Section 
 */
.stelvarik-hero {
    background: linear-gradient(135deg, var(--stelvarik-purple), var(--stelvarik-pink));
    color: white;
    padding: 9rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.stelvarik-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.3)"/></svg>');
    background-size: 20px 20px;
    opacity: 0.3;
}

.stelvarik-hero-content {
    display: flex;
    align-items: center;
    position: relative;
}

.stelvarik-hero-text {
    flex: 1;
    max-width: 600px;
}

.stelvarik-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.stelvarik-hero p {
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.stelvarik-hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
}

.stelvarik-disco-fragment {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    transform-origin: center;
    animation: rotate 20s infinite linear, sparkle 3s infinite alternate;
}

.stelvarik-fragment-1 {
    width: 150px;
    height: 150px;
    top: 50px;
    right: 50px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-delay: 0s;
}

.stelvarik-fragment-2 {
    width: 100px;
    height: 100px;
    top: 150px;
    right: 200px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation-delay: 0.5s;
}

.stelvarik-fragment-3 {
    width: 120px;
    height: 120px;
    top: 250px;
    right: 100px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    animation-delay: 1s;
}

.stelvarik-fragment-4 {
    width: 80px;
    height: 80px;
    top: 100px;
    right: 300px;
    clip-path: polygon(50% 0%, 83% 12%, 100% 43%, 94% 78%, 68% 100%, 32% 100%, 6% 78%, 0% 43%, 17% 12%);
    animation-delay: 1.5s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes sparkle {
    0% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
            inset 0 0 20px rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.8);
    }

    50% {
        box-shadow: 0 0 30px rgba(221, 222, 171, 0.7),
            inset 0 0 30px rgba(221, 222, 171, 0.7);
        background: rgba(221, 222, 171, 0.9);
    }

    100% {
        box-shadow: 0 0 40px rgba(138, 187, 108, 0.6),
            inset 0 0 40px rgba(138, 187, 108, 0.6);
        background: rgba(138, 187, 108, 0.8);
    }
}

/* 
 * Features Section 
 */
.stelvarik-features {
    padding: var(--space-xxl) 0;
}

.stelvarik-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.stelvarik-feature-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-medium);
}

.stelvarik-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stelvarik-feature-icon {
    font-size: 2.5rem;
    color: var(--stelvarik-pink);
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
}

.stelvarik-feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(217, 44, 84, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.stelvarik-feature-card h3 {
    margin-bottom: var(--space-md);
}

/* 
 * Highlights Section 
 */
.stelvarik-highlights {
    padding: var(--space-xxl) 0;
    background-color: #f5f5f5;
}

.stelvarik-highlights-content {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.stelvarik-highlights-image {
    flex: 1;
}

.stelvarik-highlights-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.stelvarik-highlights-text {
    flex: 1;
}

.stelvarik-highlights-list {
    margin: var(--space-lg) 0;
}

.stelvarik-highlights-list li {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
}

.stelvarik-highlights-list i {
    color: var(--stelvarik-green);
    margin-right: var(--space-sm);
}

/* 
 * Testimonials Section 
 */
.stelvarik-testimonials {
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, rgba(147, 47, 103, 0.1), rgba(217, 44, 84, 0.1));
}

.stelvarik-testimonials-slider {
    position: relative;
    overflow: hidden;
}

.stelvarik-testimonial {
    text-align: center;
    padding: var(--space-lg);
    margin: 0 auto;
    max-width: 700px;
}

.stelvarik-testimonial-content {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
    position: relative;
}

.stelvarik-testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.stelvarik-testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0;
}

.stelvarik-testimonial-author p {
    font-weight: 600;
    color: var(--stelvarik-purple);
}

.stelvarik-testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: var(--space-lg);
}

.stelvarik-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--stelvarik-gray);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.stelvarik-dot.stelvarik-active {
    background-color: var(--stelvarik-pink);
}

/* 
 * CTA Section 
 */
.stelvarik-cta {
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--stelvarik-purple), var(--stelvarik-pink));
    color: white;
    position: relative;
    overflow: hidden;
}

.stelvarik-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.2)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
}

.stelvarik-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.stelvarik-cta h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.stelvarik-cta p {
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.stelvarik-newsletter-form {
    display: flex;
    margin-bottom: var(--space-lg);
}

.stelvarik-newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    font-family: var(--stelvarik-body-font);
    font-size: 1rem;
}

.stelvarik-newsletter-form button {
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.stelvarik-cta-links {
    margin-top: var(--space-lg);
}

.stelvarik-cta-links a {
    color: white;
}

.stelvarik-cta-links a::after {
    background-color: white;
}

/* 
 * Footer 
 */
.stelvarik-footer {
    background-color: var(--stelvarik-dark);
    color: white;
    padding: var(--space-xl) 0 var(--space-lg);
}

.stelvarik-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-lg);
}


.stelvarik-footer-links {
    display: flex;
    gap: var(--space-lg);
}

.stelvarik-footer-links a {
    color: white;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.stelvarik-footer-links a:hover {
    opacity: 1;
}

.stelvarik-footer-social {
    display: flex;
    gap: var(--space-md);
}

.stelvarik-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-medium);
}

.stelvarik-footer-social a:hover {
    background-color: var(--stelvarik-pink);
    transform: translateY(-3px);
}

.stelvarik-footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stelvarik-footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0;
}

/* 
 * Privacy Popup 
 */
.stelvarik-privacy-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    transform: translateY(200%);
    transition: transform var(--transition-medium);
}

.stelvarik-privacy-popup.show {
    transform: translateY(0);
}

.stelvarik-privacy-popup-content {
    padding: var(--space-lg);
}

.stelvarik-privacy-popup-content h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.stelvarik-privacy-popup-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

/* 
 * Contact Form 
 */
.stelvarik-contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.stelvarik-form-group {
    margin-bottom: var(--space-lg);
}

.stelvarik-form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.stelvarik-form-group input,
.stelvarik-form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-md);
    font-family: var(--stelvarik-body-font);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.stelvarik-form-group input:focus,
.stelvarik-form-group textarea:focus {
    outline: none;
    border-color: var(--stelvarik-pink);
}

.stelvarik-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.stelvarik-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.stelvarik-form-checkbox input {
    margin-top: 0.25rem;
}

.stelvarik-form-checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 
 * Map 
 */
.stelvarik-map {
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.stelvarik-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 
 * Products 
 */
.stelvarik-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.stelvarik-product-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}

.stelvarik-product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stelvarik-product-image {
    height: 250px;
    overflow: hidden;
}

.stelvarik-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.stelvarik-product-card:hover .stelvarik-product-image img {
    transform: scale(1.05);
}

.stelvarik-product-content {
    padding: var(--space-lg);
}

.stelvarik-product-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.stelvarik-product-price {
    color: var(--stelvarik-pink);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.stelvarik-product-description {
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

/* 
 * 404 Page 
 */
.stelvarik-error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xxl) 0;
}

.stelvarik-error-content {
    max-width: 600px;
}

.stelvarik-error-code {
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--stelvarik-purple), var(--stelvarik-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--space-lg);
}

/* 
 * Media Queries 
 */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .stelvarik-hero {
        padding: 8rem 0 5rem;
    }

    .stelvarik-hero-content {
        flex-direction: column;
    }

    .stelvarik-hero-text {
        text-align: center;
        margin-bottom: var(--space-xl);
    }

    .stelvarik-hero-visual {
        height: 300px;
    }

    .stelvarik-highlights-content {
        flex-direction: column;
    }

    .stelvarik-highlights-image {
        margin-bottom: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .stelvarik-menu-toggle {
        display: block;
    }

    .stelvarik-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--stelvarik-purple);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--space-xxl) 0;
        box-shadow: var(--shadow-lg);
        z-index: 100;
    }

    .stelvarik-menu.active {
        right: 0;
    }

    .stelvarik-menu li {
        margin: var(--space-md) 0;
    }

    .stelvarik-menu a {
        font-size: 1.2rem;
    }

    .stelvarik-newsletter-form {
        flex-direction: column;
    }

    .stelvarik-newsletter-form input {
        border-radius: var(--border-radius-md);
        margin-bottom: var(--space-sm);
    }

    .stelvarik-newsletter-form button {
        border-radius: var(--border-radius-md);
    }

    .stelvarik-footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }

    .stelvarik-footer-links {
        justify-content: center;
    }

    .stelvarik-footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .stelvarik-container {
        padding: 0 var(--space-md);
    }

    .stelvarik-hero {
        padding: 7rem 0 4rem;
    }

    .stelvarik-hero-visual {
        height: 250px;
    }

    .stelvarik-feature-card {
        padding: var(--space-lg);
    }

    .stelvarik-testimonial-content {
        padding: var(--space-lg);
    }

    .stelvarik-privacy-popup {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
}