/* ===================================
   HappyPaws Phase 2 - Trendy & Bento
   =================================== */

:root {
    /* Brand Colors (Sweet Dog - Reference Image) */
    --color-primary: #FF7C5C;
    /* Salmon/Orange */
    --color-primary-dark: #E86A4B;
    --color-dark: #2D2D2D;
    --color-light: #FFFFFF;
    --color-bg-light: #FFF5F1;
    /* Light Peach/Cream */

    /* Typography */
    --font-main: 'Inter', 'Noto Sans KR', sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Spacing & Radius */
    --gap-xl: 4rem;
    --radius-pill: 100px;
    --radius-card: 2.5rem;
}


/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: #F8FAFC;
    color: var(--color-dark);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   Header & Navigation (Glassmorphism)
   =================================== */
/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav__logo-img {
    height: 50px;
    width: auto;
}

.nav__logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.nav__list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav__link:hover {
    color: var(--color-primary);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav__icon {
    font-size: 1.25rem;
    color: var(--color-dark);
    cursor: pointer;
}

.nav__btn-talk {
    background: var(--color-primary);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.2s;
}

.nav__btn-talk:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}


/* Header & Nav Fixes */
.nav__logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .header {
        top: 0;
        width: 100%;
        border-radius: 0;
        border: none;
        backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.9);
    }

    .nav {
        border-radius: 0;
        padding: 0.8rem 1.25rem;
        border: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    /* Hide text on mobile if logo is present */
    .nav__logo-text {
        display: none;
    }

    .nav__list {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__menu.show {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 200;
    }

    .nav__menu.show .nav__list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .nav__close {
        position: absolute;
        top: 2rem;
        right: 2rem;
        display: block;
    }
}

/* ===================================
   Hero Section (Impact)
   =================================== */
/* ===================================
   Hero Section (Premium Redesign)
   =================================== */
.hero {
    position: relative;
    padding: 200px 0 150px;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 80% 80%, 50% 100%, 20% 80%, 0 0);
    /* Simple Wavy Effect */
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23fff" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,144C672,139,768,181,864,186.7C960,192,1056,160,1152,138.7C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    mask-size: cover;
    mask-repeat: no-repeat;
    background: white;
    z-index: 10;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero__badge {
    display: inline-block;
    color: #6B7280;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero__title {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 3rem;
    color: var(--color-dark);
}


.hero__title span {
    color: var(--color-primary);
}

.hero__btn-shop {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 15px 30px rgba(255, 124, 92, 0.3);
    transition: all 0.3s ease;
}

.hero__btn-shop:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 124, 92, 0.4);
}

.hero__image-wrapper {
    position: relative;
}

.nav__logo-svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__img-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(255, 124, 92, 0.1);
}


.hero__decor-paw {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    color: var(--color-primary);
}

.hero__slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 100;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.3s;
}

.hero__dot.active {
    background: var(--color-dark);
    transform: scale(1.2);
}


/* Hero Image & Floating Elements */
.hero__image {
    position: relative;
}

.hero__image-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-bento);
    padding: 4rem;
    position: relative;
    text-align: center;
}

.hero__image-card.floating {
    animation: float 6s ease-in-out infinite;
}

.hero__emoji {
    font-size: 8rem;
    display: block;
    margin-bottom: 2rem;
}

.hero__stat-pill {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot--green {
    background: #10B981;
}

.dot--blue {
    background: var(--color-primary);
}

@keyframes float {

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

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

@media (max-width: 1024px) {
    .hero__title {
        font-size: 3.5rem;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero__description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
    }

    .hero__title {
        font-size: 2.5rem;
    }
}

/* ===================================
   Bento Grid System
   =================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(280px, auto);
    /* Increased height */
    gap: var(--bento-gap);
}

.bento-card {
    background: white;
    border-radius: var(--radius-bento);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

/* Span Utilities */
.span-2-md {
    grid-column: span 2;
}

.span-2-row {
    grid-row: span 2;
}

.span-2-col {
    grid-column: span 2;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .span-2-row {
        grid-row: span 1;
        grid-column: span 2;
    }

    /* Fix for tablet */
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .span-2-md,
    .span-2-col,
    .span-2-row {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ===================================
   About Section (Bento)
   =================================== */
.about {
    padding: 5rem 0;
}

.about__grid {
    margin-top: 3rem;
}

.bento-card--brand {
    background: var(--color-primary);
    color: white;
    display: flex;
    justify-content: space-between;
}

.bento-card--brand .bento-title {
    color: white;
}

.bento-card--brand .bento-desc {
    color: rgba(255, 255, 255, 0.9);
}

.bento-card--brand .bento-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Button Base Class */
.btn {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.btn--white {
    background: white;
    color: var(--color-dark);
}

.btn--outline {
    background: transparent;
    border: 2px solid currentColor;
}

.btn--outline.btn--white {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.btn--outline.btn--white:hover {
    background: white;
    color: var(--color-dark);
    border-color: white;
}

.bento-card--value {
    background: aquamarine;
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%);
    color: white;
}

.bento-card--value .bento-title {
    color: white;
}

.bento-card--value .bento-desc {
    color: rgba(255, 255, 255, 0.95);
}

.bento-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.bento-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.bento-desc {
    font-size: 1.1rem;
    color: #4B5563;
    line-height: 1.6;
}

.bento-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.bento-tags span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.bento-card__icon {
    font-size: 4rem;
    opacity: 0.5;
    align-self: flex-end;
}

/* ===================================
   Products Section (Colorful Bento)
   =================================== */
.products {
    padding: 5rem 0;
}

.section__title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.section__subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Product Colors */
.product--chicken {
    background-color: var(--color-chicken);
}

.product--duck {
    background-color: var(--color-duck);
}

.product--fish {
    background-color: var(--color-fish);
}

.product--croc {
    background-color: var(--color-croc);
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
}

.product__content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product__content.horizontal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.product__tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.product__tag.new {
    background: #10B981;
}

.product__tag.premium {
    background: linear-gradient(to right, #8B5CF6, #EC4899);
}

.product__name {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.product__info {
    font-size: 1rem;
    color: #4B5563;
    margin-bottom: 1rem;
}

.product__info-sm {
    font-size: 0.9rem;
    color: #6B7280;
}

.product__img {
    width: 100%;
    max-width: 220px;
    margin: auto -20px -20px auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s;
}

.product__img-lg {
    max-width: 300px;
    margin-right: -20px;
    margin-bottom: -20px;
}

.product-card:hover .product__img,
.product-card:hover .product__img-lg {
    transform: scale(1.1) rotate(5deg);
}

/* Horizontal Layout Fix for Mobile */
@media (max-width: 640px) {
    .product__content.horizontal {
        flex-direction: column;
        align-items: flex-start;
    }

    .product__img-lg {
        margin: 2rem auto 0;
        max-width: 200px;
    }
}

/* ===================================
   Contact & Footer
   =================================== */
.contact {
    padding: 5rem 0;
    background: white;
    border-top: 1px solid #E5E7EB;
}

.contact__grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact__info-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact__form-wrapper {
    padding: 2rem;
    background: var(--color-gray-50);
    border-radius: var(--radius-bento);
}

.form__input,
.form__textarea {
    border-radius: 1rem;
    border: 1px solid #E5E7EB;
    padding: 1rem;
}

.footer {
    background: white;
    padding: 4rem 0;
    text-align: center;
    color: #9CA3AF;
    border-top: 1px solid #F3F4F6;
}

.footer__logo {
    width: 50px;
    margin: 0 auto 1rem;
    border-radius: 1rem;
}
/* --- OEM Card Decoration (End of File for Precedence) --- */
.about .bento-card--oem {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 100%), 
                url('assets/images/factory_01.jpeg') !important;
    background-size: cover !important;
    background-position: center !important;
    color: white !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    position: relative;
    overflow: hidden;
}

.about .bento-card--oem .bento-title,
.about .bento-card--oem .bento-desc {
    color: white !important;
    position: relative;
    z-index: 2;
}

.about .bento-card--oem .bento-desc {
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.about .bento-card--oem .bento-badge {
    background: rgba(255, 255, 255, 0.22);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.about .bento-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.about .feature-tag {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
