/* ============================================
   SPONGEBOB SQUAREPANTS LANDING PAGE STYLES
   Colors: Yellow, Blue, Ocean Theme
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    /* Brand Colors - SpongeBob Theme */
    --primary-yellow: #FFDE00;
    --secondary-blue: #00A8E1;
    --accent-pink: #FF6B9D;
    --ocean-blue: #0077BE;
    --light-blue: #A8D8EA;
    --sandy-beige: #F5DEB3;
    --coral-red: #FF6347;
    
    /* Character Colors */
    --spongebob-yellow: #FFF200;
    --patrick-pink: #FF91A4;
    --squidward-cyan: #70D2D9;
    --krabs-red: #D32F2F;
    
    /* Ocean Theme */
    --water-light: #E8F5F7;
    --water-medium: #B3E5FC;
    --water-dark: #006494;
    --sand: #F4E8C1;
    --seaweed: #2E7D32;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --gray: #757575;
    --dark-gray: #424242;
    --black: #212121;
    
    /* Gradients */
    --gradient-ocean: linear-gradient(180deg, #4FC3F7 0%, #0288D1 100%);
    --gradient-sunset: linear-gradient(135deg, #FFD54F 0%, #FF6F00 100%);
    --gradient-bubble: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(168,216,234,0.3) 100%);
    
    /* Spacing */
    --container-width: 1280px;
    --section-padding: 80px 0;
    --section-padding-mobile: 60px 0;
    
    /* Typography */
    --font-primary: 'Seymour+One', sans-serif;
    --font-display: 'Seymour+One', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--ocean-blue);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 var(--primary-yellow);
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray);
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--ocean-blue);
    border: 3px solid var(--ocean-blue);
}

.btn-primary:hover {
    background: var(--ocean-blue);
    color: var(--primary-yellow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-blue);
    color: var(--white);
    border: 3px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.2rem;
}

.btn i {
    margin-left: 10px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

#header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.nav-link {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--ocean-blue);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 25px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-yellow);
    color: var(--ocean-blue);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--ocean-blue);
    margin: 4px 0;
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    padding-top: 90px;
    background: var(--gradient-ocean);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Desktop banner - visible by default */
.hero-banner .desktop-banner {
    display: block;
}

/* Mobile banner - hidden by default */
.hero-banner .mobile-banner {
    display: none;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4rem);
    margin: 0 0 20px 0;
    text-shadow: 4px 4px 0 var(--ocean-blue), 
                 -1px -1px 0 var(--black),  
                  1px -1px 0 var(--black),
                 -1px 1px 0 var(--black),
                  1px 1px 0 var(--black);
    animation: bounce 2s ease-in-out infinite;
}

.hero-title .highlight {
    color: var(--primary-yellow);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin: 0 0 30px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
    padding: var(--section-padding);
    background: var(--water-light);
    position: relative;
    overflow: hidden;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--primary-yellow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Animated Bubbles */
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    background: var(--gradient-bubble);
    border-radius: 50%;
    opacity: 0.6;
    animation: rise 10s infinite ease-in;
}

.bubble:nth-child(1) {
    left: 10%;
    width: 30px;
    height: 30px;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    left: 30%;
    width: 50px;
    height: 50px;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    left: 50%;
    width: 35px;
    height: 35px;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    left: 70%;
    width: 45px;
    height: 45px;
    animation-delay: 6s;
}

.bubble:nth-child(5) {
    left: 90%;
    width: 30px;
    height: 30px;
    animation-delay: 8s;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }
    50% {
        transform: translateX(100px);
    }
    100% {
        bottom: 110%;
        transform: translateX(-100px);
    }
}

/* ============================================
   TOYS SECTION
   ============================================ */
.toys-section {
    padding: var(--section-padding);
    background: var(--white);
}

.toys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.toy-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 3px solid transparent;
}

.toy-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-yellow);
}

.toy-image {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
    aspect-ratio: 1;
}

.toy-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: var(--transition);
}

.toy-card:hover .toy-image img {
    transform: scale(1.1);
}

.toy-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--coral-red);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.toy-info {
    padding: 20px;
}

.toy-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--ocean-blue);
    margin: 0 0 10px 0;
}

.toy-description {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

.toys-cta {
    text-align: center;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: var(--section-padding);
    background: var(--gradient-ocean);
    color: var(--white);
}

.about-section .section-title {
    color: var(--white);
    text-shadow: 3px 3px 0 var(--ocean-blue);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-yellow);
    margin: 30px 0 15px 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features-list li {
    padding: 12px 0;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.features-list i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.brand-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: var(--primary-yellow);
}

.feature-box p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
}

.about-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 180px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--primary-yellow);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--primary-yellow);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

/* ============================================
   WHERE TO BUY SECTION
   ============================================ */
.where-to-buy-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.store-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    border: 3px solid transparent;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-blue);
}

.store-logo img {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
}

.store-logo .store-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean-blue);
}

.buy-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--primary-yellow);
}

.info-box i {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 15px;
}

.info-box h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--ocean-blue);
    margin: 10px 0;
}

.info-box p {
    color: var(--gray);
    margin: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-ocean);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.3rem;
}

.contact-details h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--ocean-blue);
    margin: 0 0 8px 0;
}

.contact-details p {
    margin: 5px 0;
    color: var(--gray);
}

.contact-details a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--ocean-blue);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--ocean-blue);
    margin: 0 0 25px 0;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(0, 168, 225, 0.1);
}

.contact-form button {
    width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--ocean-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--primary-yellow);
    margin: 0 0 20px 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-yellow);
    color: var(--ocean-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 10px 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    color: var(--ocean-blue);
    border: 3px solid var(--ocean-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--ocean-blue);
    color: var(--primary-yellow);
    transform: translateY(-5px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .toys-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Mobile: Show mobile banner, hide desktop */
    .hero-banner .desktop-banner {
        display: none;
    }
    
    .hero-banner .mobile-banner {
        display: block;
        object-fit: contain; /* Показуємо все зображення без обрізки */
        object-position: center center;
        background: linear-gradient(180deg, #1a1a4d 0%, #0a0a2e 50%, #1a1a4d 100%); /* Темний фон */
    }
    
    /* Full screen hero on mobile */
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    .hero-banner {
        height: 100vh;
/*         height: -webkit-fill-available; */
        background: linear-gradient(180deg, #1a1a4d 0%, #0a0a2e 50%, #1a1a4d 100%);
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        margin: 5px 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .toys-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .stores-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        gap: 40px;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .brand-features {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .toys-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stores-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .info-box {
        padding: 20px;
    }
}
/* Updated store card styles for partner logos */
.store-card .store-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.store-card .store-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}
