/* ==============================================
   CSS Variables & Theming (Pink & Baby Blue)
   ============================================== */
:root {
    --color-pink: #ff9a9e;
    --color-pink-dark: #ff758c;
    --color-blue: #a18cd1;
    --color-blue-light: #fbc2eb;

    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #fdfbfb;
    --white: #ffffff;

    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

/* ==============================================
   Global Reset
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: linear-gradient(135deg, var(--bg-light) 0%, #ebedee 100%);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==============================================
   Dynamic Background Shapes
   ============================================== */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite alternate linear;
}

.bg-shape-1 {
    width: 500px;
    height: 500px;
    background: var(--color-pink);
    top: -200px;
    left: -100px;
}

.bg-shape-2 {
    width: 600px;
    height: 600px;
    background: var(--color-blue);
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}

.bg-shape-3 {
    width: 400px;
    height: 400px;
    background: var(--color-blue-light);
    top: 40%;
    left: 40%;
    animation-duration: 25s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(50px, 50px) scale(1);
    }
}

/* ==============================================
   Glassmorphism Utilities
   ============================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

.blur-heavy {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* ==============================================
   Navbar
   ============================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-pink-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-pink), var(--color-blue));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-pink-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-pink-dark);
    transition: 0.3s;
}

/* ==============================================
   Typography & Buttons
   ============================================== */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-pink-dark) 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-blue) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 154, 158, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(161, 140, 209, 0.5);
}

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

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

/* ==============================================
   Hero Section
   ============================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 4rem;
    padding-top: 5rem;
}

.hero-content {
    flex: 1;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.hero-content .title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-pink-dark) 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .tagline {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-content .desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--glass-bg);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    z-index: 1;
}

.main-portrait {
    width: 350px;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(3deg);
    transition: transform 0.4s ease;
}

.main-portrait:hover {
    transform: rotate(0deg) scale(1.02);
}

/* ==============================================
   About Section
   ============================================== */
.about {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about .container {
    padding: 4rem;
}

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

.wave {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% {
        transform: rotate(0.0deg)
    }

    10% {
        transform: rotate(14.0deg)
    }

    20% {
        transform: rotate(-8.0deg)
    }

    30% {
        transform: rotate(14.0deg)
    }

    40% {
        transform: rotate(-4.0deg)
    }

    50% {
        transform: rotate(10.0deg)
    }

    60% {
        transform: rotate(0.0deg)
    }

    100% {
        transform: rotate(0.0deg)
    }
}

.info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-pink-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 154, 158, 0.3);
}

.bio {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.dream-box {
    background: linear-gradient(135deg, rgba(251, 194, 235, 0.2) 0%, rgba(161, 140, 209, 0.2) 100%);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--color-blue);
}

.dream-box h3 {
    margin-bottom: 1rem;
    color: var(--color-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 450px;
}

.stack-img {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    object-fit: cover;
}

.img-back {
    width: 70%;
    height: 80%;
    top: 0;
    right: 0;
    transform: rotate(5deg);
    opacity: 0.8;
}

.img-front {
    width: 75%;
    height: 85%;
    bottom: 0;
    left: 0;
    border: 5px solid white;
}

.image-stack:hover .img-back {
    transform: rotate(10deg) translate(20px, -20px);
    opacity: 1;
}

.image-stack:hover .img-front {
    transform: translate(-10px, 10px);
}

/* ==============================================
   Brands & Catalog Section
   ============================================== */
.brands {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.15);
}

.product-img-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    z-index: 2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.label-premium {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.label-syari {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    color: #333;
}

.label-casual {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    color: #333;
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.brand-name {
    font-size: 0.9rem;
    color: var(--color-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-card .btn {
    align-self: flex-start;
}

/* ==============================================
   Footer
   ============================================== */
.footer {
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 4rem;
    border-radius: 40px 40px 0 0;
    border-bottom: none;
}

.footer-logo {
    color: var(--color-pink-dark);
    margin-bottom: 0.5rem;
}

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

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    color: var(--color-pink-dark);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    background: var(--color-pink);
    color: var(--white);
    transform: translateY(-5px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==============================================
   Animations
   ============================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   Responsive Queries
   ============================================== */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content .desc {
        margin: 0 auto 2.5rem auto;
    }

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

    .image-stack {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-content .title {
        font-size: 3rem;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        padding: 2rem;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}