@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,600;0,800;1,600&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
    --secondary-gradient: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    --bg-color: #FAFAFA;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --accent: #FF7675;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Floating Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 50px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #FF6B6B, #556270);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.btn-nav {
    background: var(--text-dark);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    transition: transform 0.2s;
}

.btn-nav:hover {
    transform: scale(1.05);
}

.btn-nav::before {
    display: none;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    /* Space for nav */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: var(--primary-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    animation: blob-bounce 10s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    animation: blob-bounce 8s infinite alternate-reverse;
}

@keyframes blob-bounce {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, -30px);
    }
}

.hero-text {
    flex: 1;
    padding-right: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 118, 117, 0.1);
    color: var(--accent);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--text-dark);
    color: white;
    box-shadow: 0 10px 20px rgba(45, 52, 54, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(45, 52, 54, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid #eee;
}

.btn-secondary:hover {
    background: #f8f8f8;
    transform: translateY(-3px);
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    max-height: 550px;
    border-radius: 30px;
    transform: rotate(5deg);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
    z-index: 2;
}

.hero-visual:hover img {
    transform: rotate(0deg) scale(1.02);
}

/* Features Grid */
.features {
    padding: 5rem 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}


/* Products Scroll */
.products {
    padding: 5rem 0 8rem;
    overflow: hidden;
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.section-head h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-head p {
    color: var(--text-light);
}

.product-scroller {
    display: flex;
    gap: 2rem;
    padding: 2rem 5%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4rem;
    /* space for shadow */
}

.product-scroller::-webkit-scrollbar {
    display: none;
}

.product-item {
    min-width: 320px;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    position: relative;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

.product-item:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(255, 118, 117, 0.15);
}

.product-img-box {
    height: 300px;
    background: #FAFAFA;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img-box img {
    height: 85%;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s;
}

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

.product-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: #f3f3f3;
    border-radius: 10px;
    color: #666;
}

/* Contact / Page Sections */
.page-container {
    padding: 180px 5% 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 4rem;
    border-radius: 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #FF9A9E, #8fd3f4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1.2rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 118, 117, 0.1);
}

/* Footer */
footer {
    background: white;
    padding: 4rem 5% 2rem;
    margin-top: 5rem;
}

.footer-decor {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin-bottom: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-nav a {
    margin-left: 2rem;
    color: var(--text-light);
    font-weight: 500;
}

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

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero {
        flex-direction: column-reverse;
        padding-top: 120px;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-top: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .cta-group {
        justify-content: center;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 2rem;
    }
}