
/* ============================================
   EXCELLENCE CITIZENS HOTELS & RESORT
   Premium Hotel Website Stylesheet
   Color Theme: Cream & Beige
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --cream: #FFF8E7;
    --cream-light: #FFFDF5;
    --beige: #F5E6D3;
    --beige-dark: #D4A574;
    --beige-darker: #B8860B;
    --gold: #C5A059;
    --gold-light: #D4AF37;
    --gold-dark: #8B6914;
    --dark: #2C1810;
    --dark-brown: #3D2817;
    --text-primary: #2C1810;
    --text-secondary: #6B5B4F;
    --text-light: #9C8B7A;
    --white: #FFFFFF;
    --shadow-soft: 0 4px 20px rgba(44, 24, 16, 0.08);
    --shadow-medium: 0 8px 30px rgba(44, 24, 16, 0.12);
    --shadow-heavy: 0 15px 50px rgba(44, 24, 16, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-secondary: 'Lato', 'Helvetica Neue', sans-serif;
}

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

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

body {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    background-color: var(--cream-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

/* ---- Typography ---- */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: var(--cream);
}

.btn-dark:hover {
    background: var(--dark-brown);
    transform: translateY(-2px);
}

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* ---- Top Bar ---- */
.top-bar {
    background: var(--dark);
    color: var(--beige);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar a {
    color: var(--beige);
}

.top-bar a:hover {
    color: var(--gold);
}

/* ---- Navigation ---- */
.navbar {
    background: rgba(255, 248, 231, 0.95);
    backdrop-filter: blur(10px);
    padding: 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
    padding: 0;
}

.navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .brand-icon {
    width: 45px;
    height: 45px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary) !important;
    padding: 25px 18px !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.5);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 0 20px;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Booking Widget ---- */
.booking-widget {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
    padding: 30px;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.booking-widget .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.booking-widget .form-control,
.booking-widget .form-select {
    border: 2px solid var(--beige);
    border-radius: var(--border-radius);
    padding: 12px 15px;
    font-size: 0.95rem;
    background: var(--cream-light);
    transition: var(--transition);
}

.booking-widget .form-control:focus,
.booking-widget .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
    background: var(--white);
}

/* ---- Section Styles ---- */
.section-padding {
    padding: 100px 0;
}

.section-bg-cream {
    background: var(--cream);
}

.section-bg-beige {
    background: var(--beige);
}

.section-bg-dark {
    background: var(--dark);
    color: var(--cream);
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4,
.section-bg-dark h5,
.section-bg-dark h6 {
    color: var(--cream);
}

.section-bg-dark .section-subtitle {
    color: var(--beige);
}

/* ---- Room Cards ---- */
.room-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.room-card-img {
    position: relative;
    overflow: hidden;
    height: 280px;
}

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

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

.room-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.room-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.room-card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.room-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.room-card-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.room-card-price {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--beige);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.room-card-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.room-card-price .price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ---- Amenities ---- */
.amenity-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.amenity-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.amenity-icon {
    width: 70px;
    height: 70px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--gold);
    transition: var(--transition);
}

.amenity-item:hover .amenity-icon {
    background: var(--gold);
    color: var(--white);
}

.amenity-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.amenity-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Testimonials ---- */
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-primary);
    font-size: 5rem;
    color: var(--beige);
    position: absolute;
    top: 10px;
    left: 25px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--beige);
}

.testimonial-author-info h5 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.testimonial-author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---- Gallery ---- */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* ---- Footer ---- */
.footer {
    background: var(--dark);
    color: var(--beige);
    padding: 80px 0 0;
}

.footer-brand {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-title {
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--gold);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
    padding: 25px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ---- WhatsApp Float Button ---- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ---- Page Header ---- */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.6);
    z-index: -1;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--beige);
}

.breadcrumb-item.active {
    color: var(--gold);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--beige);
}

/* ---- Room Detail Page ---- */
.room-detail-gallery {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.room-detail-gallery img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.room-detail-info {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.room-detail-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

.room-detail-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.amenity-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.amenity-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.amenity-list-item i {
    color: var(--gold);
    font-size: 1.1rem;
}

/* ---- Booking Form ---- */
.booking-form {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.booking-form .form-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.booking-form .form-control,
.booking-form .form-select {
    border: 2px solid var(--beige);
    border-radius: var(--border-radius);
    padding: 12px 15px;
    transition: var(--transition);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.booking-summary {
    background: var(--cream);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    position: sticky;
    top: 100px;
}

.booking-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--beige);
    font-size: 0.95rem;
}

.booking-summary-item.total {
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    padding-top: 20px;
    margin-top: 10px;
    border-top: 2px solid var(--gold);
}

/* ---- Contact Page ---- */
.contact-info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--gold);
}

.contact-info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* ---- Admin Dashboard ---- */
.admin-sidebar {
    background: var(--dark);
    min-height: 100vh;
    padding: 30px 0;
    position: fixed;
    width: 260px;
}

.admin-sidebar-brand {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--cream);
    text-align: center;
    padding: 0 20px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar-link:hover,
.admin-sidebar-link.active {
    color: var(--cream);
    background: rgba(197, 160, 89, 0.1);
    border-left-color: var(--gold);
}

.admin-sidebar-link i {
    font-size: 1.1rem;
    width: 24px;
}

.admin-main {
    margin-left: 260px;
    padding: 30px;
    background: var(--cream-light);
    min-height: 100vh;
}

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-card-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

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

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

    .navbar-collapse {
        background: var(--cream);
        padding: 20px;
        border-radius: var(--border-radius);
        margin-top: 10px;
        box-shadow: var(--shadow-medium);
    }

    .nav-link {
        padding: 12px 0 !important;
    }

    .nav-link::after {
        display: none;
    }

    .admin-sidebar {
        width: 100%;
        position: relative;
        min-height: auto;
    }

    .admin-main {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .room-detail-gallery img {
        height: 300px;
    }

    .amenity-list {
        grid-template-columns: 1fr;
    }
}

/* ---- Loading Spinner ---- */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 248, 231, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.spinner-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--beige);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- Toast Notifications ---- */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
}

.custom-toast {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 15px 25px;
    box-shadow: var(--shadow-heavy);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid var(--gold);
}

.custom-toast.success {
    border-left-color: #28a745;
}

.custom-toast.error {
    border-left-color: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ---- Scroll to Top ---- */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-soft);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
}

/* ---- Preloader ---- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

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

.preloader-logo {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--beige);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    height: 100%;
    background: var(--gold);
    width: 0;
    animation: loadBar 1.5s ease-in-out forwards;
}

@keyframes loadBar {
    to { width: 100%; }
}
