/* =========================================================================
   VARIABLES & RESET
   ========================================================================= */
:root {
    /* Color Palette */
    --primary-color: #D4AF37;
    /* Luxury Gold */
    --primary-hover: #b5952f;
    --dark-bg: #111111;
    --darker-bg: #0a0a0a;
    --light-bg: #1a1a1a;
    --text-dark: #ffffff;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Animation */
    --transition: all 0.3s ease;
    /* Luxurious sparkle glow for interactive elements */
    --glow: 0 0 8px rgba(212, 175, 55, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Native smooth scrolling */
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

/* =========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================= */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container for max-width bounding */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* Stylish section titles with gold underline */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.text-light {
    color: var(--text-light);
}

.bg-dark {
    background-color: var(--dark-bg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

/* ------------------------------------------------------------------------- */
/* Luxurious, subtle animations and glow for a richer feel */
.logo {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.btn {
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

/* Animated hero sheen to feel luxurious */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.0));
    transform: skewX(-20deg);
    animation: sheen 6s infinite;
}

@keyframes sheen {
    0% {
        transform: translateX(-40%) skewX(-20deg);
        opacity: 0.0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(120%) skewX(-20deg);
        opacity: 0.0;
    }
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.header {
    background-color: rgba(17, 17, 17, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--text-light);
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links ul {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hidden on desktop, visible on mobile */
.hamburger {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    height: 100vh;
    /* Uses a placeholder background colour in case the image doesn't load */
    background: url('../images/hero-bg-placeholder.jpg') center/cover no-repeat;
    background-color: var(--dark-bg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* =========================================================================
   SERVICES SECTION (CSS GRID)
   ========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    /* Lift element on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Placeholder box for images */
.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #ddd;
}

.service-info {
    padding: 25px;
    text-align: center;
}

.service-info h3 {
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================================================
   PRICING LIST SECTION
   ========================================================================= */
.service-list-container {
    max-width: 800px;
    margin: 0 auto;
    background: #222;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px dashed #444;
    transition: all 0.3s ease;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

.service-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.service-item:hover .service-name {
    color: var(--primary-color);
}

.service-price {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.featured-service {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    padding: 20px 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 10px;
}

/* =========================================================================
   BOOKING SECTION
   ========================================================================= */
.booking-container {
    max-width: 500px;
    margin: 0 auto;
    background: #151518;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 6px;
    font-weight: 700;
    color: #fff;
    font-size: 0.8rem;
}

input,
select,
textarea {
    padding: 12px 15px;
    background-color: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.form-submit-btn {
    margin-top: 10px;
    background-color: #dfbd73;
    color: #000;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 14px;
    border-radius: 25px;
    border: none;
    width: 100%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    background-color: #c9a45e;
    transform: translateY(-2px);
}

/* =========================================================================
   POPUP MODAL
   ========================================================================= */
.modal {
    display: none;
    /* Hidden strictly by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    /* Display triggered via JS */
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: #222;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover {
    color: var(--dark-bg);
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.modal-body h2 {
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background-color: var(--darker-bg);
    color: var(--text-light);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #bbb;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.contact-info li,
.hours li {
    margin-bottom: 15px;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
}

.hours span {
    font-weight: 600;
    color: #fff;
    width: 80px;
    display: inline-block;
}

.footer-bottom {
    background-color: #000;
    text-align: center;
    padding: 20px 0;
    color: #777;
    font-size: 0.9rem;
}

/* =========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================= */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
        /* Show hamburger menu on mobile */
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: rgba(17, 17, 17, 0.98);
        flex-direction: column;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    /* Activated via Javascript toggle */
    .nav-links.active {
        left: 0;
    }

    .nav-links ul {
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Stack form elements in 1 column on smaller tablets / mobile */
    .booking-form {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}