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

:root {
    --primary: #8B4513;
    --primary-light: #A0522D;
    --accent: #E67E22;
    --bg-warm: #FDFBF7;
    --bg-beige: #F5F5DC;
    --text-dark: #2C2C2C;
    --text-muted: #666666;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-warm);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* Typography */
h1 { font-size: 4rem; line-height: 1.1; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { font-size: 1.1rem; color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

nav.scrolled {
    padding: 15px 0;
    background: rgba(253, 251, 247, 0.9);
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    color: var(--text-dark);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hero Section Redesign */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-warm);
    padding: 120px 0 80px;
}

.hero-bg-blobs {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.blob-1 {
    top: -10%; left: -10%;
    width: 500px; height: 500px;
    background: rgba(230, 126, 34, 0.2); /* Accent */
}

.blob-2 {
    bottom: -10%; right: -5%;
    width: 600px; height: 600px;
    background: rgba(139, 69, 19, 0.15); /* Primary */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-content {
    max-width: 100%;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(230, 126, 34, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.6s forwards;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pet-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-circle {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.pet-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

/* Eye Interaction Components */
.eyes-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.eye {
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transform: translate(-50%, -50%);
    background: transparent;
}

.pupil {
    display: none;
}

.eyelid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #EED9C4; /* Close to fur color */
    z-index: 11;
    transition: height 0.1s;
}

/* Blink Animation */
@keyframes blink {
    0%, 100% { height: 0%; }
    50% { height: 100%; }
}

.blinking .eyelid {
    animation: blink 0.2s ease-in-out;
}

/* Breathing Animation */
@keyframes breathing {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.breathing {
    animation: breathing 4s ease-in-out infinite;
}

/* Floating Particles */
.particle {
    position: absolute;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    background: #F9F9F9;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-info {
    padding: 0 8px 8px;
}

.product-category {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
}

.product-title {
    font-size: 1.25rem;
    margin: 8px 0;
}

.product-price {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
}

.add-to-cart {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover .add-to-cart {
    opacity: 1;
    transform: translateY(0);
}

/* Cursor Paw Trail */
.paw-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    color: rgba(139, 69, 19, 0.25);
    animation: fadeOutPaw 1.5s forwards ease-out;
}

.paw-trail svg {
    animation: scalePaw 1.5s forwards ease-out;
}

@keyframes fadeOutPaw {
    0% { opacity: 0; }
    10% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes scalePaw {
    0% { transform: scale(0.5); }
    20% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        padding-top: 120px;
        height: auto;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 40px;
    }
    .pet-container {
        max-width: 500px;
    }
    h1 { font-size: 2.8rem; }
    .hero-btns { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    h1 { font-size: 2.2rem; }
}
/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.search-content {
    width: 100%;
    max-width: 800px;
    padding: 40px;
    text-align: center;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.search-input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    font-size: 2rem;
    color: white;
    outline: none;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    border-color: var(--accent);
}

.search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.close-search, .close-modal {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 2rem;
}

.trending-searches {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trending-searches a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    transition: var(--transition);
}

.trending-searches a:hover {
    background: var(--accent);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.modal-content {
    width: 100%;
    max-width: 450px;
    padding: 50px;
    border-radius: var(--radius-lg);
    position: relative;
    transform: translateY(30px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--text-dark);
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.modal-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #ddd;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
}

.modal-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
}

.modal-footer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
