/* Herbameow - Premium Cat Products Brand */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Refined Color Palette - Premium & Earthy */
    --color-primary: #2F5233;
    /* Darker, richer forest green */
    --color-primary-light: #5B8C5A;
    --color-secondary: #D4AF37;
    /* Muted Gold/Bronze */
    --color-accent: #E07A5F;
    --color-dark: #1A1A1A;
    /* Softer black */
    --color-text: #4A4A4A;
    --color-light: #FAFAF9;
    /* Warm off-white (stone) */
    --color-white: #FFFFFF;
    --color-surface: #F5F5F0;
    /* Warm grey/beige surface */

    /* Spacing - More breathing room */
    --spacing-xs: 0.75rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;

    /* Elevated Shadows (Soft & Diffused) */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 15px -3px rgba(47, 82, 51, 0.05), 0 4px 6px -2px rgba(47, 82, 51, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.1);

    /* Modern Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* Typography - Elegant & Modern */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-dark);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.03em;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

.container {
    width: 88%;
    max-width: 1400px;
    /* Wider container for modern feel */
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Navigation - Floating Glass Effect */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo span {
    color: var(--color-secondary);
}

.brand-logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    font-weight: 500;
    color: var(--color-dark);
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons - Premium Feel */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    text-align: center;
    letter-spacing: 0.03em;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(47, 82, 51, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(47, 82, 51, 0.4);
}

/* Hero Section */
.hero {
    padding-top: var(--spacing-md);
    /* Significantly reduced from xl */
    padding-bottom: var(--spacing-sm);
    /* Tightened bottom to pull slogans up */
    background: radial-gradient(circle at top right, #f7fcf8 0%, #fff 40%);
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text h1 {
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    /* Reduced from default/larger size */
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    /* Reduced from 1.25rem */
    color: #555;
    margin-bottom: var(--spacing-md);
    max-width: 500px;
    line-height: 1.6;
    /* Tighter line height */
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
    max-height: 400px;
    /* Constrain height specifically for laptops */
    width: auto;
    /* Maintain aspect ratio */
}

.hero-image img:hover {
    transform: scale(1.01);
}

/* Footer */
/* Features Section - Glass Cards */
.features-section h2,
.features-section p {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Product Cards - Elegant Minimalist */
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 300px;
    background-color: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-icon {
    font-size: 5rem;
    transition: transform 0.5s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
}

.product-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.product-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.5rem;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

/* Footer - Dark Premium */
.footer {
    background-color: #E8E6E1;
    /* Warm Beige */
    color: var(--color-text);
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-lg);
}

.footer .container {
    max-width: 1200px;
    /* Adjusted for flex layout */
}

.footer-grid {
    display: flex;
    /* Switch to Flexbox */
    justify-content: center;
    /* Center columns */
    gap: 2rem;
    /* Reduced gap to bring them closer */
    flex-wrap: wrap;
    margin-bottom: 2rem;
    /* Reduced bottom margin */
    text-align: left;
}

.footer-col {
    flex: 0 1 auto;
    /* Allow columns to size based on content but not grow indefinitely */
}

/* Specific width for the first column (Logo/Info) to preventing it from being too narrow */
.footer-col:first-child {
    flex-basis: 450px;
    max-width: 450px;
    margin-right: 2rem;
    /* Extra separation for the info block */
}

.footer-col h4 {
    color: var(--color-primary);
    /* Dark Green for headings */
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-size: 1.125rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-link {
    color: #9ca3af;
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.footer-link:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    opacity: 0.6;
    margin-top: var(--spacing-lg);
}

/* Input Fields */
input,
textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
    background-color: var(--color-surface);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(47, 82, 51, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-md: 2rem;
        --spacing-lg: 4rem;
        --spacing-xl: 6rem;
    }

    h1 {
        font-size: 2.25rem;
        line-height: 1.25;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .container {
        width: 92%;
        padding: 0 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text p {
        margin: 0 auto 1.5rem;
        font-size: 1rem;
    }

    .hero-image img {
        max-height: 300px;
    }

    /* Stack cards properly on small screens */
    .feature-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .product-card {
        margin-bottom: 1rem;
    }

    .nav-links,
    .desktop-only {
        display: none;
    }

    /* Mobile Menu Polish */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .mobile-toggle span {
        width: 24px;
        height: 2px;
        background-color: var(--color-dark);
        transition: var(--transition-base);
    }

    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 0;
        box-shadow: var(--shadow-md);
        display: none;
        flex-direction: column;
        z-index: 999;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .mobile-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    .mobile-menu a {
        font-size: 1.25rem;
        font-weight: 500;
        color: var(--color-dark);
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

    /* Better footer spacing on mobile */
    .footer-col {
        flex: 1 1 100%;
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-col:first-child {
        max-width: 100%;
        margin-right: 0;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (min-width: 769px) {

    .mobile-toggle,
    .mobile-menu {
        display: none;
    }

    .nav-buttons {
        display: flex;
        align-items: center;
    }
}

/* Marquee Animation */
/* Marquee Animation */
.marquee-container {
    background-color: #E8E6E1;
    /* Footer Beige */
    color: var(--color-primary);
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    padding-left: 2rem;
}

.marquee-content span {
    font-size: 2rem;
    font-weight: 600;
    /* Reduced from 800 */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Outfit', sans-serif;
}

.marquee-content .separator {
    margin: 0 2rem;
    color: var(--color-secondary);
    font-size: 1.5rem;
    vertical-align: middle;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .marquee-content span {
        font-size: 1.5rem;
    }
}