/* ============================================
   FADERPET — PREMIUM REDESIGN 2026
   Vibe: Playful, High-End, Mobile-Optimized
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Provided Palette */
    --color-1: #c25e2a; /* Orange/Copper */
    --color-2: #e4b556; /* Yellow/Gold */
    --color-3: #bc7b88; /* Rose/Pink */
    --color-4: #4d387d; /* Deep Purple */
    --color-5: #313e84; /* Deep Blue */
    --color-6: #70aa68; /* Green */

    /* Theme Colors */
    --bg-white: #ffffff;
    --bg-soft: #fcf8f4; /* Subtle warm white for depth */
    --text-main: #1a1a1a;
    --text-muted: #555555;
    
    /* Functional Colors */
    --accent: var(--color-1);
    --secondary: var(--color-4);
    
    /* Fonts */
    --font-gumdrop: 'Lilita One', cursive;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing & Borders */
    --radius-xl: 3rem;
    --radius-lg: 2rem;
    --radius-md: 1.5rem;
    --container-max: 1200px;
    
    /* Transitions */
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white); /* Back to white */
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: .015;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, .gumdrop {
    font-family: var(--font-gumdrop);
    line-height: 1.1;
    font-weight: 400; /* Lilita One only has 400 */
}

h1 { font-size: clamp(3rem, 10vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.2rem); }

p { font-size: clamp(1rem, 1.1vw, 1.2rem); color: var(--text-muted); }

/* Layout Components */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    font-family: var(--font-gumdrop);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.4s var(--ease-elastic);
    cursor: pointer;
    border: none;
    gap: 0.8rem;
    letter-spacing: 0.02em;
    line-height: 1; /* Added for consistency between a and button */
}

.btn-primary {
    background-color: var(--color-4);
    color: white;
    box-shadow: 0 10px 30px rgba(77, 56, 125, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(77, 56, 125, 0.4);
}

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

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

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

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

.logo-link img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

/* Hamburger */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    width: 30px;
    height: 3px;
    background: var(--text-main);
    border-radius: 10px;
    transition: 0.3s;
}

@media (max-width: 1024px) {
    .burger { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.5s var(--ease-smooth);
        box-shadow: -20px 0 60px rgba(0,0,0,0.1);
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        font-family: var(--font-gumdrop);
    }

    .burger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .burger.active span:nth-child(2) { opacity: 0; }
    .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--color-1); }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #fef1e6, #fff);
    padding-top: 120px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-content { order: 2; }
    .hero-image { order: 1; }
}

.hero-tag {
    background: var(--color-2);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-title span { color: var(--color-1); }

.hero-description {
    margin: 2rem 0;
    max-width: 500px;
}

@media (max-width: 1024px) {
    .hero-description { margin: 1.5rem auto; }
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
}

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

/* Shapes Background */
.shape {
    position: absolute;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.2;
}

.shape-1 {
    top: 10%; right: 10%;
    width: 400px; height: 400px;
    background: var(--color-2);
    border-radius: 50%;
}

.shape-2 {
    bottom: 5%; left: 10%;
    width: 300px; height: 300px;
    background: var(--color-3);
    border-radius: 50%;
}

/* Products Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Products Section - Redesigned Showcase */
.products {
    padding: 10rem 0;
}

/* Products Section - Vertical Showcase */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

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

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.6s var(--ease-elastic);
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 60px 120px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 600px; /* Large image area */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .product-image { height: 450px; padding: 2rem; }
}

.product-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.8s var(--ease-elastic);
    z-index: 2;
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

.product-info {
    padding: 3rem;
    text-align: center;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.product-info h3 { 
    font-size: 2.5rem !important;
    margin-bottom: 0.8rem;
}

.product-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-wrap {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Specific background tints for the image area */
.product-card[data-color="1"] .product-image { background: linear-gradient(to bottom, #fffcf9, #fef2e9); }
.product-card[data-color="3"] .product-image { background: linear-gradient(to bottom, #fffafd, #fdf2f4); }
.product-card[data-color="5"] .product-image { background: linear-gradient(to bottom, #f9faff, #f2f4ff); }
.product-card[data-color="6"] .product-image { background: linear-gradient(to bottom, #f9fdf9, #f2faf1); }

/* Benefits Bento */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    height: 600px;
}

.benefit-item {
    background: #f7f7f7;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.benefit-item-large {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--color-4);
    color: white;
}

.benefit-item-large h3 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.benefit-item-large p { color: rgba(255,255,255,0.8); }

.benefit-item h3 { font-size: 1.5rem; margin-bottom: 1rem; }

@media (max-width: 1024px) {
    .benefits-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
    .benefit-item-large { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 600px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .benefit-item-large { grid-column: span 1; }
}

/* Contact Section */
.contact-container {
    background: var(--color-5);
    border-radius: var(--radius-xl);
    padding: 5rem;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 { margin-bottom: 2rem; }
.contact-info p { color: rgba(255,255,255,0.7); }

.contact-form {
    display: grid;
    gap: 1.2rem;
}

.contact-form input, .contact-form textarea {
    padding: 1.2rem 2rem;
    border-radius: 1rem;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    color: white;
    outline: none;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }

.contact-form button {
    background: var(--color-2);
    color: white;
}

@media (max-width: 1024px) {
    .contact-container { grid-template-columns: 1fr; padding: 3rem 2rem; gap: 3rem; text-align: center; }
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.footer-logo {
    height: 40px;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-copy { font-size: 0.9rem; opacity: 0.6; }

/* Image Placeholder Style */
.img-placeholder {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #999;
    font-size: 0.8rem;
    border-radius: 1rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   FADERPET — MODAL SYSTEM & GALLERY
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-smooth);
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: white;
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s var(--ease-elastic);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
}

.modal-close:hover { background: #e0e0e0; transform: rotate(90deg); }

.modal-content-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

@media (max-width: 800px) {
    .modal-content-inner { grid-template-columns: 1fr; }
    .modal-visual { height: 250px; }
}

.modal-visual {
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.modal-details {
    padding: 3.5rem;
    overflow-y: auto;
    max-height: 80vh;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.modal-section ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.modal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.modal-section ul li::before {
    content: "🐾";
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

/* Gallery Stagger */
#galeria .img-placeholder {
    transition: transform 0.5s var(--ease-elastic);
}

#galeria .img-placeholder:hover {
    transform: scale(1.05) rotate(1deg);
    z-index: 2;
}

/* ============================================
   FADERPET — WHATSAPP MODS
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.4s var(--ease-elastic);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
    }
}

/* ============================================
   FADERPET — SCROLL GALLERY (SCROLLYTELLING)
   ============================================ */

.scroll-gallery {
    height: 500vh; /* scroll depth for 4 images */
    position: relative;
    background: var(--color-3); /* Changed from black to #bc7b88 */
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s var(--ease-smooth);
    padding: 2rem;
}

.gallery-slide.item-active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    width: 100%;
    max-width: 1000px;
    height: 80vh;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-progress {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    z-index: 10;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-2);
    border-radius: 10px;
    transition: width 0.1s linear;
}

.gallery-labels {
    position: absolute;
    top: 3rem;
    left: 3rem;
    color: white;
    z-index: 10;
}

.gallery-labels span {
    font-size: 2rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .slide-content {
        height: 60vh;
        border-radius: var(--radius-lg);
    }
    .gallery-labels {
        top: 1.5rem;
        left: 1.5rem;
    }
    .gallery-labels span { font-size: 1.5rem; }
}

/* ============================================
   FADERPET — DARK FOOTER
   ============================================ */

.footer-dark {
    background-color: var(--color-5); /* Deep Blue */
    color: white;
    padding: 8rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 5rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-logo {
    max-width: 180px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-top: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s var(--ease-elastic);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--color-2);
    transform: translateY(-5px);
    color: var(--text-main);
}

.footer-bottom {
    background: rgba(0,0,0,0.1);
    padding: 2rem 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================
   FADERPET — ENHANCED SCROLLYTELLING
   ============================================ */

.scroll-gallery {
    height: 500vh;
    background-color: var(--color-3); /* Brand Pink */
    color: white;
}

.sticky-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    gap: 4rem;
}

.slide-text {
    flex: 1;
    z-index: 10;
    transition: all 0.8s var(--ease-smooth);
}

.slide-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.slide-text h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.slide-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    max-width: 450px;
}

.slide-visual {
    flex: 1.2;
    height: 70vh;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.3);
    transition: all 0.8s var(--ease-smooth);
}

.slide-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-controls {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 20;
}

.scroll-progress-wrap {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
}

.scroll-progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.1s linear;
}

.scroll-counter {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
    .slide-inner {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }
    .slide-text p { margin: 0 auto; }
    .slide-visual { height: 40vh; width: 100%; }
    .scroll-controls {
        right: 50%;
        transform: translateX(3.5rem);
    }
}
