/* ========================================
   CHIBO BRAND Landing Page Styles
   Modern 3D-Inspired Animated Design
======================================== */

:root {
    --chibo-red: #FF0000;
    --chibo-black: #000000;
    --chibo-white: #FFFFFF;
    --chibo-gray: #6c757d;
    --chibo-light-gray: #f8f9fa;
}

/* Hero Section */
.hero-landing {
    position: relative;
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    overflow: hidden;
}

.hero-landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 0, 0.1) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

/* Background Company Name Watermark */
.hero-landing::after {
    content: 'CHIBO BRAND';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    color: rgba(255, 0, 0, 0.05);
    letter-spacing: 0.05em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    width: 100%;
    text-align: center;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

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

.bubble-hero {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 0, 0, 0.4), rgba(255, 0, 0, 0.08));
    box-shadow:
        inset 0 0 40px rgba(255, 0, 0, 0.3),
        0 0 60px rgba(255, 0, 0, 0.15);
    animation: floatBubble 20s infinite ease-in-out;
    backdrop-filter: blur(3px);
}

.bubble-hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4), transparent);
}

.bubble-hero-1 {
    width: 250px;
    height: 250px;
    left: 10%;
    top: 15%;
    animation-delay: 0s;
    animation-duration: 28s;
}

.bubble-hero-2 {
    width: 180px;
    height: 180px;
    right: 12%;
    top: 35%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.bubble-hero-3 {
    width: 300px;
    height: 300px;
    left: 45%;
    top: 55%;
    animation-delay: 8s;
    animation-duration: 35s;
}

.bubble-hero-4 {
    width: 220px;
    height: 220px;
    right: 25%;
    top: 8%;
    animation-delay: 3s;
    animation-duration: 25s;
}

.bubble-hero-5 {
    width: 150px;
    height: 150px;
    left: 25%;
    bottom: 8%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.bubble-hero-6 {
    width: 280px;
    height: 280px;
    right: 8%;
    bottom: 15%;
    animation-delay: 7s;
    animation-duration: 32s;
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.6;
    }

    25% {
        transform: translate(40px, -40px) scale(1.15) rotate(90deg);
        opacity: 0.8;
    }

    50% {
        transform: translate(-30px, 30px) scale(0.85) rotate(180deg);
        opacity: 0.5;
    }

    75% {
        transform: translate(50px, 15px) scale(1.1) rotate(270deg);
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-logo {
    display: inline-block;
    animation: fadeInDown 1s ease-out;
}

.hero-logo a {
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-logo img {
    filter: drop-shadow(0 10px 30px rgba(255, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.hero-logo a:hover img {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 15px 40px rgba(255, 0, 0, 0.5));
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #FF0000 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.hero-subtitle {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn-hero {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.5);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-outline:hover {
    background: white;
    color: #000;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating 3D Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-item {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
}

.float-item:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.float-item:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.float-item:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.float-item:nth-child(4) {
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Section Styles */
.section-landing {
    padding: 3rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--chibo-black);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--chibo-gray);
    margin-bottom: 2.5rem;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    background: white;
    padding: 2rem;
}

.about-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 25px 70px rgba(255, 0, 0, 0.2);
}

/* Services Cards */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF0000, #FF6B6B);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--chibo-black);
}

.service-description {
    color: var(--chibo-gray);
    line-height: 1.6;
}

/* Products Showcase */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 1.5rem;
}

/* Stats Counter */
.stats-section {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: white;
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Portfolio Gallery */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.2);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.9), rgba(0, 0, 0, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 1rem;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--chibo-red);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--chibo-gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-landing {
        min-height: 25vh;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: clamp(0.7rem, 3vw, 0.9rem);
        margin-bottom: 0.75rem;
    }

    .btn-hero {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }

    .section-landing {
        padding: 2rem 0;
    }

    .service-card {
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero {
        width: 100%;
    }

    /* Smaller bubbles on mobile */
    .bubble-hero-1 {
        width: 150px;
        height: 150px;
    }

    .bubble-hero-2 {
        width: 100px;
        height: 100px;
    }

    .bubble-hero-3 {
        width: 180px;
        height: 180px;
    }

    .bubble-hero-4 {
        width: 120px;
        height: 120px;
    }

    .bubble-hero-5 {
        width: 90px;
        height: 90px;
    }

    .bubble-hero-6 {
        width: 160px;
        height: 160px;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}