/* Sunset Media | Sunset Gradient + Beach Vibe CSS */

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

:root {
    /* Sunset Palette */
    --sunset-orange: #FF8C42;
    --sunset-pink: #FF4D80;
    --sunset-purple: #704DB2;
    --sunset-peach: #FFADAD;

    --bg-light: #FFF9F5;
    --bg-dark: #1A1221;
    --text-main: #2D2431;
    --text-white: #FFFFFF;

    --grad-sunset: linear-gradient(135deg, #FF8C42, #FF4D80, #704DB2);
    --grad-soft: linear-gradient(135deg, #FFADAD, #FFD166);

    --shadow-glow: 0 10px 40px rgba(255, 77, 128, 0.2);
    --shadow-soft: 0 5px 20px rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-creative: 'Outfit', sans-serif;
    --font-body: 'Quicksand', sans-serif;

    --radius-pill: 50px;
    --radius-round: 24px;

    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-creative);
    font-weight: 800;
}

/* Animated Gradient BG */
.animated-bg {
    background: linear-gradient(-45deg, #FF8C42, #FF4D80, #704DB2, #FFADAD);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(255, 140, 66, 0.1);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--grad-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--sunset-pink);
}

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

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-pill);
    border: none;
    font-family: var(--font-creative);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--grad-sunset);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 77, 128, 0.4);
}

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

.btn-outline:hover {
    background: var(--sunset-pink);
    color: #fff;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -10%;
    width: 120%;
    height: 200px;
    background: var(--bg-light);
    border-radius: 100% 100% 0 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

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

.product-card {
    background: #fff;
    border-radius: var(--radius-round);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 140, 66, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(255, 77, 128, 0.2);
}

.product-img-wrapper {
    position: relative;
    border-radius: calc(var(--radius-round) - 8px);
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 1.5rem;
}

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

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

.category-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sunset-purple);
    z-index: 2;
}

.price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sunset-purple);
}

/* Cart Toggle UI */
.cart-badge {
    background: var(--grad-sunset);
    color: #fff;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -5px;
    right: -10px;
}

/* Forms */
.form-container {
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-glow);
    max-width: 600px;
    margin: 0 auto;
}

.form-field {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-smooth);
}

.form-field:focus {
    border-color: var(--sunset-pink);
    box-shadow: 0 0 0 4px rgba(255, 77, 128, 0.1);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 6rem 10% 3rem;
    margin-top: 10rem;
    border-radius: 100% 100% 0 0 / 20px 20px 0 0;
}

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

.footer-title {
    color: var(--sunset-peach);
    margin-bottom: 2rem;
}

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

.footer-links a:hover {
    color: var(--sunset-orange);
    padding-left: 5px;
}

/* Animations */








/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Visibility Protocol CSS --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.reveal.js-hidden {
    opacity: 0;
    transform: translateY(40px);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* --- Global Badge UI Protocol --- */
.product-category, .category-tag {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1A1A1A !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 20px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    z-index: 10 !important;
    backdrop-filter: blur(5px) !important;
    border: none !important;
    margin: 0 !important;
    transform: none !important;
}

.product-img-wrapper {
    padding: 0 !important;
}
