/* ==========================================================================
   CSS Variables & Core Setup
   ========================================================================== */
:root {
    --color-primary: #0B1C2D;
    /* Deep Royal Navy */
    --color-secondary: #C6A75E;
    /* Rich Metallic Gold */
    --color-accent: #F4EFE6;
    /* Champagne Cream */
    --color-bg: #0F0F14;
    /* Dark Background */
    --color-bg-alt: #161620;
    /* Slightly lighter dark for contrast sections */
    --color-text: #EAEAEA;
    /* Soft White */
    --color-text-muted: #B0B0B0;
    /* Muted Text */

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 0 20px rgba(198, 167, 94, 0.15);

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    --section-spacing: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 1px;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    font-weight: 300;
    max-width: 800px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ==========================================================================
   Layout & Utility
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: var(--section-spacing) 0;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-secondary);
    margin: 0 auto 30px;
}

.line-gold {
    background-color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold {
    background-color: var(--color-secondary);
    color: var(--color-bg);
}

.btn-gold:hover {
    background-color: #D4B66B;
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 20px 0;
    background-color: rgba(11, 28, 45, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 1px;
}

.logo span {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-style: italic;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

.nav-link:not(.btn-book)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-secondary);
    transition: var(--transition-fast);
}

.nav-link:not(.btn-book):hover::after {
    width: 100%;
}

.nav-link.btn-book {
    border: 1px solid var(--color-secondary);
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    color: var(--color-secondary);
}

.nav-link.btn-book:hover {
    background-color: var(--color-secondary);
    color: var(--color-bg);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 30px;
    height: 2px;
    background-color: var(--color-text);
    margin: 6px 0;
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 15, 20, 0.4) 0%, rgba(15, 15, 20, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--color-accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--color-text);
    font-size: 1.5rem;
    opacity: 0.7;
}

.scroll-indicator a:hover {
    color: var(--color-secondary);
    opacity: 1;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content p {
    font-size: 1.25rem;
    line-height: 1.8;
}

/* ==========================================================================
   Services Section (Cards)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    position: relative;
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 30px;
    transition: var(--transition-slow);
}

.service-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: var(--transition-slow);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--color-primary), transparent);
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 2;
}

.service-card .card-content {
    position: relative;
    z-index: 3;
    transition: var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

.service-card:hover .card-bg {
    opacity: 0.4;
    transform: scale(1.05);
}

.service-card:hover::after {
    opacity: 0.8;
}

.service-card:hover .card-content {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.service-card p {
    font-size: 0.95rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-slow);
}

.service-card:hover p {
    opacity: 1;
    max-height: 100px;
    margin-top: 15px;
}

/* ==========================================================================
   Catering Showcase
   ========================================================================== */
.catering-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 350px;
    gap: 20px;
}

.catering-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
}

.catering-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.catering-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 28, 45, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-slow);
}

.catering-item .overlay span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-secondary);
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.catering-item:hover img {
    transform: scale(1.05);
}

.catering-item:hover .overlay {
    opacity: 1;
}

.catering-item:hover .overlay span {
    transform: translateY(0);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    display: block;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-row: span 2;
}

@media (max-width: 992px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(198, 167, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--color-bg);
    background-color: var(--color-secondary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.5);
    transition: var(--transition-fast);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-secondary);
    opacity: 0.3;
    margin-bottom: 30px;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeEffect 0.8s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide .quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    font-style: italic;
    margin: 0 auto 30px;
    max-width: 100%;
}

.testimonial-slide .author {
    font-size: 1rem;
    color: var(--color-secondary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.slider-dots {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--color-text-muted);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active,
.dot:hover {
    background-color: var(--color-secondary);
    transform: scale(1.2);
}

/* ==========================================================================
   Call to Action (CTA)
   ========================================================================== */
.cta {
    position: relative;
    text-align: center;
    padding: 150px 0;
    background-color: var(--color-primary);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 28, 45, 0.9), rgba(11, 28, 45, 0.7));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    color: var(--color-secondary);
    margin-bottom: 40px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-bg-alt);
    padding: 60px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 30px;
}

.form-row .half {
    flex: 1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(234, 234, 234, 0.2);
    padding: 10px 0;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-bottom-color: var(--color-secondary);
}

.contact-form label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--color-text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.contact-form input:focus~label,
.contact-form input:not(:placeholder-shown)~label,
.contact-form textarea:focus~label,
.contact-form textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--color-secondary);
}

.select-group {
    position: relative;
}

.contact-form select {
    appearance: none;
    cursor: pointer;
    color: var(--color-text-muted);
}

.contact-form select:focus {
    color: var(--color-text);
}

.contact-form select option {
    background-color: var(--color-bg-alt);
    color: var(--color-text);
}

.select-icon {
    position: absolute;
    right: 0;
    top: 15px;
    color: var(--color-secondary);
    pointer-events: none;
}

.btn-submit {
    width: 100%;
    margin-top: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text);
    letter-spacing: 1px;
}

.footer-logo span {
    color: var(--color-secondary);
    font-style: italic;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--color-secondary);
    color: var(--color-bg);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--color-text);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-lightbox:hover {
    color: var(--color-secondary);
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 1s ease forwards;
}

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .catering-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .section {
        padding: 80px 0;
    }

    .contact-form-container {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 14px 30px;
    }
}