/* ==========================================================================
   SUN MOON TRUTH - LUXURY BRAND DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #090B10;
    --bg-card: rgba(18, 22, 31, 0.7);
    --bg-card-hover: rgba(28, 34, 48, 0.85);
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA7C11 100%);
    --accent-red: #D9383A;
    --accent-blue: #2A6B9C;
    --text-main: #F5F7FA;
    --text-muted: #94A3B8;
    --border-color: rgba(212, 175, 55, 0.2);
    --border-highlight: rgba(212, 175, 55, 0.5);

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.25);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Glowing Elements */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.25;
}

.bg-glow-1 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
}

.bg-glow-2 {
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-red) 0%, transparent 70%);
}

/* Typography Classes */
h1, h2, h3, h4, .brand-text {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    color: var(--text-main);
}

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

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

.glass-card:hover {
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-glass), var(--shadow-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #090B10;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: #090B10;
}

.btn-glass {
    background: rgba(9, 11, 16, 0.7);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.btn-glass:hover {
    background: var(--gold-primary);
    color: #090B10;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: rgba(9, 11, 16, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hero Section */
.hero-section {
    padding: 180px 24px 100px;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;

}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold-primary);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual Card */
.main-hero-card {
    padding: 24px;
    text-align: center;
}

.image-wrapper {
    overflow: hidden;
    border-radius: 12px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, rgba(9,11,16,0.9) 80%);
    padding: 30px;
}

.hero-main-img {
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.7));
    transition: var(--transition-smooth);
}

.main-hero-card:hover .hero-main-img {
    transform: scale(1.05) rotate(2deg);
}

.hero-card-caption {
    margin-top: 20px;
}

.hero-card-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.hero-card-caption p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Collection Section */
.collection-section {
    padding: 100px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

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

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
}

.gold-line {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 16px auto 0;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.product-card {
    position: relative;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.product-badge {
    position: absolute;
    top: 36px;
    left: 36px;
    background: var(--gold-primary);
    color: #090B10;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 4px;
    z-index: 10;
}

.product-image-box {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background: #0d1117;
    margin-bottom: 24px;
}

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

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 11, 16, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.product-card:hover .image-overlay {
    opacity: 1;
}

.product-category {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
}

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

/* About & Craftsmanship */
.about-section {
    padding: 100px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

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

.about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 16px;
    margin-bottom: 32px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.9rem;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-card {
    overflow: hidden;
    height: 220px;
}

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

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

/* Contact & Concierge Form */
.contact-section {
    padding: 100px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    padding: 48px;
}

.contact-header {
    text-align: center;
    margin-bottom: 36px;
}

.contact-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.contact-header p {
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-light);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(9, 11, 16, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.form-status {
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
}

.form-status.success {
    color: #4ADE80;
}

.form-status.error {
    color: #F87171;
}

.direct-email-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.direct-email-note a {
    color: var(--gold-primary);
    font-weight: 600;
    text-decoration: underline;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #05070A;
    padding: 80px 24px 40px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    height: 48px;
    width: 48px;
}

.footer-brand-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gold-primary);
}

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

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--gold-light);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

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

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

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

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    width: 90%;
    max-width: 600px;
    position: relative;
    padding: 36px;
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.modal-backdrop.open .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--gold-primary);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 140px;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

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

    .hero-stats {
        justify-content: center;
    }

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

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

    .hero-title {
        font-size: 2.2rem;
    }

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

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
