/* ==========================================================================
   Base styles and CSS variables
   ========================================================================== */
:root {
    /* Colors */
    --midnight-plum: #2E124C;
    --neon-tangerine: #FF6E3D;
    --mint-glacier: #9DF2D4;
    --solar-canary: #FFEB3B;
    --fog-ice: #F4F7F9;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Shadow */
    --shadow-default: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    
    /* Border radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
}

/* Font face */
@font-face {
    font-family: 'Inter';
    src: url('./Inter.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #333;
    background-color: var(--fog-ice);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--midnight-plum);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--neon-tangerine);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 1rem 0;
    background-color: rgba(244, 247, 249, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-default);
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.logo {
    margin-bottom: 1rem;
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon-tangerine);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, var(--midnight-plum), var(--neon-tangerine));
    color: white;
    scroll-snap-align: start;
}

.hero-content {
    animation: fadeUp 1s ease-out;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: rgba(157, 242, 212, 0.8);
    color: var(--midnight-plum);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: var(--shadow-default);
    text-align: center;
}

.btn:hover {
    background-color: var(--solar-canary);
    color: var(--midnight-plum);
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 4rem 0;
    scroll-snap-align: start;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--midnight-plum);
    position: relative;
    font-size: 2rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--neon-tangerine);
}

/* About Section */
.about {
    background-color: white;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 1;
}

.facts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.fact-card {
    background-color: var(--fog-ice);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-default);
    text-align: center;
    transition: transform 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-10px);
}

.fact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--midnight-plum);
}

.fact-icon img {
    width: 50%;
    height: auto;
}

/* Services Section */
.services {
    background-color: var(--fog-ice);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--fog-ice);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: rgba(46, 18, 76, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-default);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-header {
    margin-bottom: 1rem;
    color: var(--midnight-plum);
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--neon-tangerine);
}

.service-features {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features ul {
    text-align: left;
    padding-left: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

/* Benefits Section */
.benefits {
    background-color: white;
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-item {
    background-color: var(--fog-ice);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-default);
    animation: fadeUp 0.5s ease-out;
}

.benefit-title {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--midnight-plum);
}

.benefit-title h3 {
    margin-left: 1rem;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--mint-glacier);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--midnight-plum);
}

/* Process Section */
.process {
    background-color: var(--fog-ice);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--fog-ice);
    clip-path: polygon(0 100%, 100% 0, 0 0);
    z-index: 1;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    height: 100%;
    width: 3px;
    background-color: var(--neon-tangerine);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--midnight-plum);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
}

.timeline-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-default);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 10px;
    left: -10px;
    border-top: 10px solid transparent;
    border-right: 10px solid white;
    border-bottom: 10px solid transparent;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--midnight-plum);
}

/* Testimonials Section */
.testimonials {
    background-color: white;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    clip-path: polygon(100% 0, 0 0, 0 100%);
    z-index: 1;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-controls {
    display: none;
}

.testimonial-slides {
    position: relative;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background: rgba(244, 247, 249, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-default);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-controls input[type="radio"]:checked + .testimonial-slide {
    opacity: 1;
    z-index: 1;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--midnight-plum);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.testimonial-nav label {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--fog-ice);
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-controls input[type="radio"]:checked + .testimonial-slide + label {
    background-color: var(--neon-tangerine);
}

/* Order Form Section */
.order-form {
    background-color: var(--fog-ice);
    position: relative;
}

.order-form::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--fog-ice);
    clip-path: polygon(100% 100%, 0 0, 100% 0);
    z-index: 1;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(46, 18, 76, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-default);
}

form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    pointer-events: none;
    color: rgba(0, 0, 0, 0.6);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%) scale(0.8);
    background-color: var(--fog-ice);
    padding: 0 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    background-color: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--mint-glacier);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #333;
}

/* Contact Section */
.contact {
    background-color: white;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    z-index: 1;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    background-color: var(--fog-ice);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-default);
}

.contact-info h3 {
    color: var(--midnight-plum);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    background-color: var(--mint-glacier);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--midnight-plum);
    flex-shrink: 0;
}

.contact-text {
    line-height: 1.4;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-default);
}

.contact-map img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--midnight-plum);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
    color: var(--mint-glacier);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-about p {
    opacity: 0.8;
}

.footer-contact address {
    font-style: normal;
    line-height: 1.8;
}

.footer-contact a {
    color: var(--mint-glacier);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--mint-glacier);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background: rgba(46, 18, 76, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-default);
    z-index: 1000;
    opacity: 0;
    transition: opacity 1s ease;
}

.cookie-content {
    color: white;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--mint-glacier);
}

.cookie-content button {
    padding: 0.5rem 1.5rem;
    background-color: var(--mint-glacier);
    color: var(--midnight-plum);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cookie-content button:hover {
    background-color: var(--solar-canary);
}

/* Responsive Styles */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    nav {
        flex-direction: row;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: calc(50% - 1.5px);
    }
    
    .timeline-item {
        width: 50%;
        padding-left: 0;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 50%;
    }
    
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        border-right: 10px solid white;
        border-left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 3rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: auto;
        right: -10px;
        border-left: 10px solid white;
        border-right: 0;
    }
    
    .timeline-marker {
        left: calc(50% - 20px);
    }
    
    form {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-submit {
        grid-column: span 2;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    /* 12-column grid system */
    .grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
    }
    
    .col-1 { grid-column: span 1; }
    .col-2 { grid-column: span 2; }
    .col-3 { grid-column: span 3; }
    .col-4 { grid-column: span 4; }
    .col-5 { grid-column: span 5; }
    .col-6 { grid-column: span 6; }
    .col-7 { grid-column: span 7; }
    .col-8 { grid-column: span 8; }
    .col-9 { grid-column: span 9; }
    .col-10 { grid-column: span 10; }
    .col-11 { grid-column: span 11; }
    .col-12 { grid-column: span 12; }
    
    .facts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
} 