/* Added Google Fonts and base styles */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Titan+One&display=swap');

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    font-family: 'Fredoka', sans-serif;
    background: #FFF9F0;
}

.font-fredoka {
    font-family: 'Fredoka', sans-serif;
}

.font-titan {
    font-family: 'Titan One', cursive;
    letter-spacing: 0.02em;
}

/* Stroke text effect for VITO-style headings */
.stroke-text-white {
    color: #000;
    text-shadow: 
        -3px -3px 0 #fff,
        3px -3px 0 #fff,
        -3px 3px 0 #fff,
        3px 3px 0 #fff,
        -3px 0px 0 #fff,
        3px 0px 0 #fff,
        0px -3px 0 #fff,
        0px 3px 0 #fff;
}

.stroke-text-black {
    color: #000;
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        -2px 0px 0 #000,
        2px 0px 0 #000,
        0px -2px 0 #000,
        0px 2px 0 #000;
}

/* Header with orange gradient */
.vito-header {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 50%, #FFB800 100%);
    box-shadow: 0 4px 0 rgba(0,0,0,0.3), 0 8px 20px rgba(0,0,0,0.2);
}

.nav-link {
    color: #000;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.nav-link:hover {
    transform: translateY(-2px);
    color: #fff;
}

.mobile-nav-link {
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    border: 3px solid #000;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(255,255,255,0.4);
    transform: translateX(5px);
}

/* VITO-style buttons */
.vito-button-cyan {
    background: #00CED1;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 4px solid #000;
    box-shadow: 0 4px 0 #000, 0 6px 15px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.vito-button-cyan:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 #000, 0 10px 20px rgba(0,0,0,0.4);
}

.vito-button-cyan:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #000, 0 3px 10px rgba(0,0,0,0.3);
}

.vito-button-outline {
    background: #fff;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 4px solid #000;
    box-shadow: 0 4px 0 #000;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.vito-button-outline:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #000;
}

/* Hero section with radial gradient and rays */
.hero-gradient {
    background: linear-gradient(180deg, #FF8C00 0%, #FFA500 30%, #FFD700 60%, #FFF9E6 100%);
    position: relative;
    min-height: 100vh;
}

.hero-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.15) 0deg 10deg,
        transparent 10deg 20deg
    );
    animation: rotate-rays 60s linear infinite;
    pointer-events: none;
}

@keyframes rotate-rays {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Cloud decorations */
.cloud {
    position: absolute;
    width: 200px;
    height: 60px;
    background: #fff;
    border-radius: 100px;
    opacity: 0.8;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1);
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: 50%;
}

.cloud::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 30px;
}

.cloud::after {
    width: 100px;
    height: 100px;
    top: -50px;
    right: 30px;
}

.cloud-1 {
    top: 15%;
    left: 10%;
    animation: float 15s ease-in-out infinite;
}

.cloud-2 {
    top: 40%;
    right: 15%;
    animation: float 20s ease-in-out infinite 5s;
}

.cloud-3 {
    top: 65%;
    left: 20%;
    animation: float 18s ease-in-out infinite 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

/* Hero badge and animations */
.hero-badge {
    background: #fff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #000;
    box-shadow: 0 6px 0 #000, 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bounce-animation {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.hero-title {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle-shadow {
    text-shadow: 2px 2px 0 rgba(255,255,255,0.8);
}

/* Story card with brutal border */
.story-card {
    background: #fff;
    padding: 3rem;
    border-radius: 30px;
    border: 5px solid #000;
    box-shadow: 0 8px 0 #000, 0 12px 30px rgba(0,0,0,0.2);
}

.story-image-card {
    border: 5px solid #000;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 6px 0 #000;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.story-image-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.highlight-text {
    background: linear-gradient(180deg, transparent 60%, #FFD700 60%);
    font-weight: 700;
}

/* Section labels */
.section-label {
    display: inline-block;
    background: #00CED1;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 3px solid #000;
    box-shadow: 0 4px 0 #000;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

/* Stat cards */
.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    border: 4px solid #000;
    box-shadow: 0 6px 0 #000;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 11px 0 #000;
}

/* Social cards with hover tilt */
.social-card {
    background: #00CED1;
    padding: 2rem 1rem;
    border-radius: 20px;
    border: 4px solid #000;
    box-shadow: 0 6px 0 #000;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.social-icon {
    background: #fff;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 4px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 0 #000;
}

.hover-tilt {
    transition: transform 0.3s ease;
}

/* Floating elements */
.badge-float {
    font-size: 4rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.coin-float {
    position: absolute;
    font-size: 3rem;
    animation: float-coin 4s ease-in-out infinite;
    opacity: 0.3;
}

.coin-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.coin-2 {
    top: 50%;
    right: 15%;
    animation-delay: 1s;
}

.coin-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float-coin {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
    }
}

/* Service cards with flip effect */
.service-card {
    perspective: 1000px;
    height: 350px;
}

.flip-card {
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: #fff;
    padding: 2rem;
    border-radius: 25px;
    border: 5px solid #000;
    box-shadow: 0 8px 0 #000, 0 12px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.flip-card-back {
    background: #FFD700;
    transform: rotateY(180deg);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Mission card */
.mission-card-special {
    background: linear-gradient(135deg, #00CED1 0%, #40E0D0 100%);
    padding: 3rem;
    border-radius: 30px;
    border: 6px solid #000;
    box-shadow: 0 10px 0 #000, 0 15px 40px rgba(0,0,0,0.3);
}

.mission-image-container {
    border: 5px solid #000;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 6px 0 #000;
}

/* Collection cards with rotate effect */
.collection-card {
    background: #fff;
    border-radius: 25px;
    border: 5px solid #000;
    box-shadow: 0 8px 0 #000, 0 12px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.rotate-card {
    transform-origin: center;
}

.collection-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.collection-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FF6B6B;
    color: #fff;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 3px solid #000;
    box-shadow: 0 4px 0 #000;
    font-size: 0.875rem;
}

.collection-info {
    padding: 1.5rem;
}

/* Team cards */
.team-card {
    background: #fff;
    padding: 2rem;
    border-radius: 25px;
    border: 5px solid #000;
    box-shadow: 0 8px 0 #000, 0 12px 30px rgba(0,0,0,0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.team-avatar {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 20px;
    border: 4px solid #000;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 0 #000;
}

.team-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: #FFD700;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 0 #000;
}

.hover-bounce:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 0 #000, 0 22px 40px rgba(0,0,0,0.3);
}

/* Contact cards */
.contact-info-card,
.contact-form-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 25px;
    border: 5px solid #000;
    box-shadow: 0 8px 0 #000, 0 12px 30px rgba(0,0,0,0.2);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background: #FFD700;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    border: 4px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 0 #000;
    flex-shrink: 0;
}

.map-card {
    border-radius: 25px;
    border: 5px solid #000;
    overflow: hidden;
    box-shadow: 0 8px 0 #000;
}

.input-brutal {
    width: 100%;
    padding: 1rem;
    border: 4px solid #000;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #FFF9F0;
}

.input-brutal:focus {
    outline: none;
    box-shadow: 0 0 0 4px #FFD700;
    background: #fff;
}

/* Footer styles */
footer {
    position: relative;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.1) 10px, rgba(255,255,255,0.1) 20px);
}

.footer-link {
    color: #9CA3AF;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-link:hover {
    color: #00CED1;
    transform: translateX(5px);
    display: inline-block;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: none;
    animation: slideUp 0.5s ease;
}

.cookie-card {
    background: #fff;
    padding: 2rem;
    border-radius: 25px;
    border: 5px solid #000;
    box-shadow: 0 8px 0 #000, 0 12px 30px rgba(0,0,0,0.3);
    max-width: 400px;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Section animations */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button ripple effect */
.button-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    animation: ripple 0.6s;
    pointer-events: none;
}

@keyframes ripple {
    from {
        opacity: 1;
        transform: scale(0);
    }
    to {
        opacity: 0;
        transform: scale(2);
    }
}

/* Brutal shadow utility */
.shadow-brutal {
    box-shadow: 0 4px 0 rgba(0,0,0,0.3);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .cookie-popup {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .stroke-text-white {
        text-shadow: 
            -2px -2px 0 #fff,
            2px -2px 0 #fff,
            -2px 2px 0 #fff,
            2px 2px 0 #fff;
    }
    
    .story-card {
        padding: 1.5rem;
    }
    
    .service-card {
        height: 320px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Text selection */
::selection {
    background-color: #FFD700;
    color: #000;
}

::-moz-selection {
    background-color: #FFD700;
    color: #000;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: #FFF9F0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF8C00, #FFD700);
    border-radius: 7px;
    border: 3px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFD700, #FF8C00);
}

/* Focus states */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid #FFD700;
    outline-offset: 3px;
}
