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

body {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.hero-gradient {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
}

.gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #F4E4C1 50%, #D4AF37 100%);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-slider {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920') center/cover;
    animation: slideChange 20s infinite;
}

@keyframes slideChange {
    0%, 33% { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920'); }
    34%, 66% { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1920'); }
    67%, 100% { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920'); }
}

.nav-blur {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

/* Mega Menu Styles - FIXED */
.dropdown {
    position: relative;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    width: 1100px;
    margin-top: 0;
    padding-top: 10px;
}

.mega-menu-content {
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.dropdown:hover .mega-menu {
    display: block;
}

.mega-menu:hover {
    display: block;
}

.mega-menu-column h3 {
    color: #D4AF37;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    margin-bottom: 8px;
}

.mega-menu-column ul li a {
    display: block;
    color: #e5e5e5;
    font-size: 14px;
    padding: 6px 0;
    padding-left: 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mega-menu-column ul li a:hover {
    color: #D4AF37;
    padding-left: 8px;
    transform: translateX(4px);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Bottom bar spacing - prevent content hidden behind fixed bar */
body {
    padding-bottom: 52px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* ── Toast Notification ─────────────────────────────────────────────────── */
#stj-toast {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 99999;
    min-width: 300px;
    max-width: 420px;
    padding: 16px 20px 16px 16px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
#stj-toast.show {
    transform: translateX(0);
    pointer-events: auto;
}
#stj-toast.toast-success {
    background: linear-gradient(135deg, #064e3b, #065f46);
    border: 1px solid #10b981;
    color: #d1fae5;
}
#stj-toast.toast-error {
    background: linear-gradient(135deg, #7f1d1d, #991b1b);
    border: 1px solid #ef4444;
    color: #fee2e2;
}
#stj-toast .toast-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}
#stj-toast .toast-body { flex: 1; }
#stj-toast .toast-title { font-weight: 700; font-size: 15px; margin-bottom: 3px; }
#stj-toast .toast-msg  { font-size: 13px; opacity: 0.9; line-height: 1.4; }
#stj-toast .toast-close {
    background: none; border: none; cursor: pointer;
    color: inherit; opacity: 0.7; font-size: 18px;
    padding: 0; line-height: 1; flex-shrink: 0;
}
#stj-toast .toast-close:hover { opacity: 1; }

/* Hide old inline form messages (kept for fallback) */
.form-success, .form-error {
    display: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F4E4C1;
}
