/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #FAF8F5;
    --color-bg-warm: #F5F0EA;
    --color-dark: #2C2C2C;
    --color-text: #4A4A4A;
    --color-muted: #8A8A8A;
    --color-accent: #C8364B;
    --color-accent-dark: #A62D3E;
    --color-gold: #C5A36E;
    --color-gold-light: #DFC69A;
    --color-white: #FFFFFF;
    --color-border: #E8E2DA;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo img {
    width: 140px;
    animation: pulse 1.8s ease-in-out infinite;
}

.loader-bar {
    width: 180px;
    height: 3px;
    background: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
    border-radius: 3px;
    animation: loadFill 2s ease-in-out forwards;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.97); }
}

@keyframes loadFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo img {
    height: 56px;
    transition: height 0.3s;
}

.navbar.scrolled .nav-logo img {
    height: 44px;
}

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

.nav-email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-dark);
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}

.nav-email:hover {
    background: var(--color-white);
    border-color: var(--color-gold);
    color: var(--color-accent);
}

.nav-email i {
    color: var(--color-accent);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(250, 248, 245, 0.3) 0%,
        rgba(250, 248, 245, 0.5) 30%,
        rgba(250, 248, 245, 0.85) 70%,
        rgba(250, 248, 245, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    margin-top: 15vh;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(200, 54, 75, 0.08);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-muted);
    margin-bottom: 24px;
}

.hero-divider {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-divider span {
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
    border-radius: 2px;
}

.hero-tagline {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-dark);
    letter-spacing: 1px;
    margin-bottom: 36px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-dark);
    padding: 14px 36px;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.hero-cta:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 54, 75, 0.25);
}

.hero-cta i {
    font-size: 0.75rem;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.5;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--color-dark);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--color-dark);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ===== Countdown ===== */
.countdown-section {
    padding: 100px 0;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-muted);
    max-width: 500px;
    margin: 12px auto 0;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.countdown-item {
    text-align: center;
    min-width: 100px;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-muted);
}

.countdown-sep {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-gold);
    padding-bottom: 20px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== Collection Slider ===== */
.collection-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.collection-slider {
    overflow: hidden;
    padding-bottom: 50px;
}

.collection-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s ease;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4.5;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.collection-card:hover .card-img img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.collection-card:hover .card-overlay {
    opacity: 1;
}

.card-badge {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-accent);
    padding: 6px 16px;
    border-radius: 50px;
}

.card-info {
    padding: 24px;
}

.card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.card-info p {
    font-size: 0.88rem;
    color: var(--color-muted);
}

.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--color-border);
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--color-accent);
    width: 28px;
    border-radius: 5px;
}

.slider-nav {
    display: flex;
    gap: 12px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(calc(-50% - 25px));
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    pointer-events: all;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.slider-btn:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
    background: var(--color-white);
}

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

.about-img-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(197, 163, 110, 0.2);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about-img-frame img {
    width: 100%;
    height: auto;
}

.about-content .section-tag {
    display: block;
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
    padding: 12px 20px;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.feature i {
    color: var(--color-gold);
    font-size: 1rem;
}

/* ===== Notify Section ===== */
.notify-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.notify-card {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a1a1a 100%);
    border-radius: var(--radius-lg);
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: notifyReveal 0.8s ease-out both;
}

@keyframes notifyReveal {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.notify-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 163, 110, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.notify-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 54, 75, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.notify-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

.notify-logo {
    height: 55px;
    margin: 0 auto 28px;
    filter: brightness(0) invert(1);
}

.notify-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: 12px;
}

.notify-content > p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
}

.notify-form {
    width: 100%;
}

.form-group {
    display: flex;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 6px;
    transition: border-color 0.3s;
}

.form-group:focus-within {
    border-color: var(--color-gold);
}

.form-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-white);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-group button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.form-group button:hover {
    background: var(--color-accent-dark);
    transform: scale(1.02);
}

.form-message {
    margin-top: 12px;
    font-size: 0.85rem;
    min-height: 20px;
}

.form-message.success {
    color: #5cb85c;
}

.form-message.error {
    color: #ff6b6b;
}

.notify-note {
    font-size: 0.78rem !important;
    color: rgba(255,255,255,0.3) !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    height: 44px;
    filter: brightness(0) invert(1);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-contact h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--color-gold);
}

.footer-contact a i {
    width: 16px;
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.82rem;
}

/* ===== AOS Fallback (if CDN fails to load) ===== */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}
.aos-init [data-aos] {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    transition: all 0.8s ease-out;
}
.aos-init [data-aos].aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }

    .about-content p {
        text-align: center;
    }

    .about-features {
        justify-content: center;
    }
}

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

    .nav-email {
        padding: 10px;
        border-radius: 50%;
    }

    .hero-content {
        margin-top: 20vh;
    }

    .countdown {
        gap: 6px;
    }

    .countdown-item {
        min-width: 70px;
    }

    .countdown-sep {
        font-size: 2rem;
    }

    .slider-wrapper {
        padding: 0 10px;
    }

    .slider-nav {
        display: none;
    }

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

    .footer-brand,
    .footer-contact,
    .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact a {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .notify-card {
        padding: 50px 24px;
    }

    .form-group {
        flex-direction: column;
        border-radius: var(--radius);
        gap: 0;
    }

    .form-group input {
        text-align: center;
        padding: 16px;
    }

    .form-group button {
        border-radius: 50px;
        justify-content: center;
        margin: 0 6px 6px;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .countdown-item {
        min-width: 60px;
    }

    .countdown-value {
        font-size: 2.2rem;
    }

    .countdown-sep {
        font-size: 1.5rem;
    }
}
