/* ============================================
   Professional Wedding Coordinator Website
   Custom Styles with Navy/Gold/Cream Palette
   ============================================ */

/* ============================================
   SPA Navigation Styles - Seamless
   ============================================ */
   #spa-loader {
    display: none !important; /* Completely hidden */
}

body.spa-loading {
    /* No visual indication of loading */
}

body.spa-loading * {
    /* Allow interactions during navigation */
}

main {
    /* Instant updates - no transition */
    will-change: contents;
    max-width: 100vw;
    overflow-x: hidden;
}

#main-content {
    max-width: 100vw;
    overflow-x: hidden;
}

:root {
    --navy: #1a2332;
    --navy-dark: #0f1419;
    --navy-light: #2d3a4f;
    --gold: #c9a961;
    --gold-light: #d4b87a;
    --gold-dark: #b8954f;
    --cream: #f5f1e8;
    --cream-dark: #e8e2d5;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

/* ============================================
   Container Overflow Prevention
   ============================================ */

@media (max-width: 576px) {
    .container,
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ============================================
   Header & Navigation
   ============================================ */

.navbar {
    background: rgba(26, 35, 50, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 100vw;
    overflow-x: hidden;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold) !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Georgia', serif;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-toggler {
    border: 2px solid var(--gold);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201, 169, 97, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Sticky Header */
.navbar.fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1030;
    left: 0;
    right: 0;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    background-image: url('https://scontent.fmnl25-3.fna.fbcdn.net/v/t39.30808-6/566209528_800613622875004_6966557252856457948_n.jpg?_nc_cat=101&ccb=1-7&_nc_sid=f727a1&_nc_eui2=AeFC3JP0bTiDxdtwQo4e3nwvhWufRnph0PCFa59GemHQ8KAdT6QMkGDXiflx-RYkt8LERtKml4cyvwJlanGPjNBS&_nc_ohc=LKgM5qU86uYQ7kNvwGOKJ0I&_nc_oc=Adm3UKTvYZB-LUq-qlSTQLtMaSxJ53LJC6E51rgKEn-XEO9Zg7KRF2UHpVfvZr-cU-I&_nc_zt=23&_nc_ht=scontent.fmnl25-3.fna&_nc_gid=7puWfbRUjA9OQ11VQF6uSQ&oh=00_AfiBbb8IAi3JVQdRXoQGJ05-QKCQYDzhD1TjuNJczMqOrA&oe=6931A232');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 150px 0 120px;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 35, 50, 0.85) 0%,
        rgba(26, 35, 50, 0.75) 50%,
        rgba(26, 35, 50, 0.85) 100%
    );
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--cream);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero Section Variants - Each with different background images */
.hero-section-login,
.hero-section-register,
.hero-section-dashboard,
.hero-section-about-us,
.hero-section-contact,
.hero-section-our-services,
.hero-section-booking,
.hero-section-portfolio {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 150px 0 120px;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.hero-section-login {
    background-image: url('https://ljcreations.my.canva.site/_assets/media/ebabe3ba97c28609636e6950b1b7773c.jpg');
}

.hero-section-register {
    background-image: url('https://ljcreations.my.canva.site/_assets/media/673ecd272a063c74194d179abbaeb2bf.jpg');
}

.hero-section-about-us {
    background-image: url('https://ljcreations.my.canva.site/_assets/media/ebabe3ba97c28609636e6950b1b7773c.jpg');
}

.hero-section-our-services {
    background-image: url('https://ljcreations.my.canva.site/_assets/media/ebabe3ba97c28609636e6950b1b7773c.jpg');
}

.hero-section-booking {
    background-image: url('https://ljcreations.my.canva.site/_assets/media/673ecd272a063c74194d179abbaeb2bf.jpg');
}

.hero-section-portfolio {
    background-image: url('https://ljcreations.my.canva.site/_assets/media/ebabe3ba97c28609636e6950b1b7773c.jpg');
}

.hero-section-contact {
    background-image: url('https://ljcreations.my.canva.site/_assets/media/ebabe3ba97c28609636e6950b1b7773c.jpg');
}

.hero-section-dashboard {
    background-image: url('https://ljcreations.my.canva.site/_assets/media/ebabe3ba97c28609636e6950b1b7773c.jpg');
}

/* Shared styles for all hero variants */
.hero-section-login .container,
.hero-section-register .container,
.hero-section-about-us .container,
.hero-section-our-services .container,
.hero-section-booking .container,
.hero-section-portfolio .container {
    position: relative;
    z-index: 2;
}

.hero-section-login h1,
.hero-section-register h1,
.hero-section-dashboard h1,
.hero-section-about-us h1,
.hero-section-our-services h1,
.hero-section-booking h1,
.hero-section-portfolio h1,
.hero-section-contact h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section-login .lead,
.hero-section-register .lead,
.hero-section-about-us .lead,
.hero-section-our-services .lead,
.hero-section-booking .lead,
.hero-section-portfolio .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--cream);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Login/Register Section Layout
   ============================================ */

.login-register-section {
    margin-top: 0;
    min-height: 100vh;
    overflow: visible;
    display: flex;
    align-items: center;
}

.login-register-section .row {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    width: 100%;
}

.login-register-section .container-fluid {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Form column centering */
.login-register-section .col-lg-5.col-12 {
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-image-container,
.register-image-container {
    position: relative;
    background-image: url('https://scontent.fmnl25-3.fna.fbcdn.net/v/t39.30808-6/509332135_702534156016285_1883501013422467390_n.jpg?stp=cp6_dst-jpg_tt6&_nc_cat=101&ccb=1-7&_nc_sid=f727a1&_nc_eui2=AeEIHpEeaA4yu0v25rggYcq1Pb28QOPrBU49vbxA4-sFTvXOasQIjget9447s7EM9bOWbRLhhj0XfrFw1JsGBTCA&_nc_ohc=uF8G_Yw2C_8Q7kNvwEGPJV5&_nc_oc=AdknPYToBW8We1E2ndkWg3SwUTPNUXW_tT8zjkK4ytNowYhB0MjOFNW-XxMZKLaGJ74&_nc_zt=23&_nc_ht=scontent.fmnl25-3.fna&_nc_gid=7bqZSgntM6kHroZ56tlcUg&oh=00_AfhqAi1auirwNXL2W-K3mmbfUEKVuzrgrQbx4eGzjDYHLw&oe=6931C21D');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    height: 100%;
}

.login-image-overlay,
.register-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 35, 50, 0.85) 0%,
        rgba(26, 35, 50, 0.75) 50%,
        rgba(26, 35, 50, 0.85) 100%
    );
    z-index: 1;
}

.login-image-content,
.register-image-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   Service Detail Cards (Redesigned)
   ============================================ */

.service-detail-card {
    margin-bottom: 4rem;
}

.service-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.service-image-box:hover {
    transform: translateY(-5px);
}

.service-image-box img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-image-box:hover img {
    transform: scale(1.05);
}

.service-content-box {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* ============================================
   Buttons & CTAs
   ============================================ */

.btn-primary-custom {
    background: var(--gold);
    border: 2px solid var(--gold);
    color: var(--navy);
    padding: 14px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary-custom:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 14px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-outline-custom:hover {
    background: var(--gold);
    color: var(--navy);
    z-index: 1;
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background: var(--navy);
    border: 2px solid var(--navy);
    color: var(--white);
    padding: 14px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   Section Styling
   ============================================ */
/* Add this to your style.css */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.bg-navy {
    background-color: var(--navy);
    color: var(--white);
}

/* ============================================
   Cards
   ============================================ */

.custom-card {
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    height: 100%;
    background: var(--white);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.custom-card .card-img-top {
    border-radius: 0;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-card:hover .card-img-top {
    transform: scale(1.05);
}

.custom-card .card-body {
    padding: 2rem;
}

.custom-card .card-title {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-card .card-text {
    color: var(--text-light);
    line-height: 1.8;
}

.card-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

/* ============================================
   Why Choose Us Section with Background
   ============================================ */

.why-choose-section {
    position: relative;
    background-image: url('https://ljcreations.my.canva.site/_assets/media/139fe3ad4b5d7fef6b51b9f591b754d8.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    overflow: hidden;
}

.why-choose-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 35, 50, 0.85) 0%,
        rgba(26, 35, 50, 0.75) 50%,
        rgba(26, 35, 50, 0.85) 100%
    );
    z-index: 1;
}

.why-choose-section .container {
    position: relative;
    z-index: 2;
}

.why-choose-title {
    color: var(--gold) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.why-choose-subtitle {
    color: var(--cream) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.why-choose-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(201, 169, 97, 0.3);
    transition: all 0.3s ease;
    height: 100%;
}

.why-choose-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--gold);
}

.why-choose-icon {
    font-size: 3rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.why-choose-item:hover .why-choose-icon {
    transform: scale(1.1);
}

.why-choose-item-title {
    color: var(--gold) !important;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.why-choose-item-text {
    color: var(--cream) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ============================================
   CTA Section with Background
   ============================================ */

.cta-section {
    position: relative;
    background-image: url('https://ljcreations.my.canva.site/_assets/media/673ecd272a063c74194d179abbaeb2bf.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 35, 50, 0.85) 0%,
        rgba(26, 35, 50, 0.75) 50%,
        rgba(26, 35, 50, 0.85) 100%
    );
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--gold) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-subtitle {
    color: var(--cream) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Testimonial Carousel (Draggable)
   ============================================ */

.testimonial-carousel {
    padding: 60px 0;
    background: var(--cream);
}

.testimonial-wrapper {
    position: relative;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.testimonial-wrapper:active {
    cursor: grabbing;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
}

.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.testimonial-item {
    text-align: center;
    padding: 40px 20px;
}

.testimonial-item:hover img {
    transform: scale(1.05);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-rating {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   Forms
   ============================================ */

.custom-form-control {
    border: 2px solid var(--cream-dark);
    border-radius: 0;
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.custom-form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* ============================================
   Modals
   ============================================ */

.modal-content {
    border-radius: 0;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: var(--navy);
    color: var(--gold);
    border-bottom: 3px solid var(--gold);
    padding: 1.5rem;
}

.modal-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-close {
    filter: invert(1) brightness(2);
}

.modal-body {
    padding: 2rem;
    background: var(--cream);
}

.modal-footer {
    border-top: 2px solid var(--cream-dark);
    padding: 1rem 1.5rem;
    background: var(--white);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--navy-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--navy-light);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: var(--cream);
    font-size: 0.9rem;
}

/* ============================================
   Portfolio Gallery - Enhanced
   ============================================ */

.gallery-header {
    margin-bottom: 3rem;
}

.gallery-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.portfolio-filter-wrapper {
    gap: 1rem;
}

.portfolio-filter-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.portfolio-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.3s ease;
    z-index: 0;
}

.portfolio-filter-btn:hover::before,
.portfolio-filter-btn.active::before {
    left: 0;
}

.portfolio-filter-btn:hover{
    color: var(--navy);
}

.portfolio-filter-btn * {
    position: relative;
    z-index: 1;
}

.portfolio-filter-btn span,
.portfolio-filter-btn i {
    position: relative;
    z-index: 1;
}

.portfolio-filter-btn.active {
    background: var(--gold-dark);
    color: var(--navy);
    border-color: var(--gold);
}

.portfolio-filter-btn.active:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

.portfolio-item {
    position: relative;
    overflow: visible;
    margin-bottom: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

/* Staggered animation for portfolio items on load */
.portfolio-item:nth-child(1) {
    animation-delay: 0.1s;
}

.portfolio-item:nth-child(2) {
    animation-delay: 0.2s;
}

.portfolio-item:nth-child(3) {
    animation-delay: 0.3s;
}

.portfolio-item:nth-child(4) {
    animation-delay: 0.4s;
}

.portfolio-item:nth-child(5) {
    animation-delay: 0.5s;
}

.portfolio-item:nth-child(6) {
    animation-delay: 0.6s;
}

.portfolio-card-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--white);
}

.portfolio-card-wrapper:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
}

.portfolio-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-card-wrapper:hover .portfolio-image-container img {
    transform: scale(1.15);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 35, 50, 0.1) 0%,
        rgba(26, 35, 50, 0.3) 50%,
        rgba(26, 35, 50, 0.95) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.portfolio-overlay-content {
    text-align: center;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay-content {
    transform: translateY(0);
}

.portfolio-category-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(201, 169, 97, 0.4);
}

.portfolio-overlay h5 {
    color: var(--gold);
    font-weight: 700;
    margin: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.portfolio-overlay p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.portfolio-overlay .btn {
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.portfolio-overlay .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.6);
}

/* Featured Event Section Enhancements */
.featured-event-image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.featured-event-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.featured-event-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-event-image-wrapper:hover .featured-event-image {
    transform: scale(1.05);
}

.featured-badge {
    z-index: 2;
}

.featured-event-content {
    padding-left: 1rem;
}

.featured-highlights ul li {
    display: flex;
    align-items: flex-start;
}

.featured-highlights ul li span {
    flex: 1;
    color: var(--text-dark);
}

.featured-testimonial {
    border-radius: 5px;
    margin-top: 1.5rem;
}

/* Modal Enhancements */
.modal-image-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.modal-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.detail-item {
    border-radius: 5px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.highlights-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--cream-dark);
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .portfolio-image-container {
        height: 300px;
    }
    
    .portfolio-filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .portfolio-filter-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .featured-event-image {
        height: 350px;
    }
    
    .featured-event-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .modal-image-wrapper img {
        height: 250px;
    }
}

/* ============================================
   Service Items (Category Overlay on Image)
   ============================================ */

.service-item {
    background: var(--white);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 350px;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image-wrapper img {
    transform: scale(1.1);
}

.service-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(26, 35, 50, 0.85) 0%, rgba(26, 35, 50, 0.7) 50%, transparent 100%);
    padding: 1.5rem 2rem;
    z-index: 2;
}

.service-category-title {
    color: var(--gold);
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-details {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    text-align: justify;
}

.service-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.service-guest-range {
    display: inline-block;
    width:100%;
    padding: 5px 15px;
    text-align: center;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ============================================
   Team Section
   ============================================ */

.team-member {
    text-align: center;
    margin-bottom: 3rem;
}

.team-member img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--gold);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h4 {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member p {
    color: var(--gold);
    font-style: italic;
    margin-bottom: 1rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    /* Prevent horizontal overflow on mobile */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    img, video, iframe, embed, object {
        max-width: 100%;
        height: auto;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-section {
        padding: 120px 0 80px;
        margin-top: 56px;
        background-attachment: scroll;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

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

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

    .testimonial-text {
        font-size: 1rem;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .team-member img {
        width: 200px;
        height: 200px;
    }

    /* Why Choose Section Mobile */
    .why-choose-section {
        background-attachment: scroll;
        padding: 60px 0;
    }

    .why-choose-item {
        margin-bottom: 1rem;
    }

    .why-choose-icon {
        font-size: 2.5rem;
    }

    /* CTA Section Mobile */
    .cta-section {
        background-attachment: scroll;
        padding: 60px 0;
    }

    .cta-title {
        font-size: 2rem !important;
    }

    .cta-subtitle {
        font-size: 1rem !important;
    }

    /* Login/Register Mobile */
    .login-register-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .login-register-section .row {
        min-height: 100vh;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .login-register-section .col-12 {
        min-height: 100vh;
        padding: 30px 20px !important;
        overflow-y: auto;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .login-register-section .col-12 > div {
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        padding: 20px 0 !important;
        margin: 0 !important;
    }

    .login-register-section .col-12 > div > div {
        width: 100% !important;
        max-width: 100% !important;
    }

    .login-register-section h2 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
    }

    .login-register-section p.text-muted {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }

    .login-register-section .login-image-container,
    .login-register-section .register-image-container {
        display: none !important;
    }

    /* Service Detail Cards Mobile */
    .service-image-box img {
        height: 300px;
    }

    .service-content-box {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

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

    .custom-card .card-title {
        font-size: 1.25rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.text-gold {
    color: var(--gold) !important;
}

.text-navy {
    color: var(--navy) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

.divider {
    width: 100px;
    height: 3px;
    background: var(--gold);
    margin: 2rem auto;
}

/* Form Validation Styles */
.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--gold);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23c9a961' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--gold);
}

/* Accordion Custom Styling */
.accordion-button:not(.collapsed) {
    background-color: var(--gold);
    color: var(--navy);
}

.accordion-button:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(201, 169, 97, 0.25);
}

/* ============================================
   Feature Cards (About Page - New Sections)
   ============================================ */

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(26, 35, 50, 0.2) !important;
}

.feature-icon-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

.feature-card-alt {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-alt::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    transition: transform 0.3s ease;
}

.feature-card-alt:hover::after {
    transform: translate(20%, -20%) scale(1.5);
}

.feature-card-alt:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(26, 35, 50, 0.25) !important;
}

.feature-card-alt:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

/* Smooth animations on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.feature-card-alt {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card-alt:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-card-alt:nth-child(2) {
    animation-delay: 0.3s;
}

/* Responsive adjustments for feature cards */
@media (max-width: 768px) {
    .feature-card,
    .feature-card-alt {
        padding: 2rem !important;
        margin-bottom: 2rem;
    }
    
    .feature-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
    }
    
    .feature-icon-wrapper i {
        font-size: 1.8rem !important;
    }
    
    .feature-card h2,
    .feature-card-alt h3 {
        font-size: 1.5rem !important;
    }
}

/* ============================================
   Enhanced Services Page Styles
   ============================================ */

/* Badge Styles */
.badge.bg-gold {
    background: var(--gold) !important;
    color: var(--navy) !important;
}

.badge.bg-navy {
    background: var(--navy) !important;
    color: var(--gold) !important;
}

/* Enhanced Service Detail Cards */
.service-detail-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-detail-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-detail-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-detail-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-image-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.service-image-box img {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-image-box:hover img {
    transform: scale(1.08);
}

.service-content-box {
    position: relative;
    transition: all 0.3s ease;
}

.service-content-box:hover {
    transform: translateY(-3px);
}

.service-icon-wrapper {
    transition: all 0.3s ease;
}

.service-detail-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4) !important;
}

/* Enhanced Additional Services Cards */
.custom-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.custom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.custom-card:hover::before {
    left: 100%;
}

.custom-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(26, 35, 50, 0.2) !important;
}

.custom-card .card-body {
    position: relative;
    z-index: 2;
}

.custom-card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Enhanced Modal Styles */
.modal-content {
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

/* Button Enhancements */
.btn-primary-custom i {
    transition: transform 0.3s ease;
}

.btn-primary-custom:hover i {
    transform: translateX(5px);
}

/* Responsive Enhancements for Services */
@media (max-width: 768px) {
    .service-content-box {
        padding: 2rem !important;
        margin-top: 2rem;
    }
    
    .service-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
    }
    
    .service-icon-wrapper i {
        font-size: 2rem !important;
    }
    
    .service-detail-card h3 {
        font-size: 1.8rem !important;
    }
    
    .hero-section-our-services h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-section-our-services .lead {
        font-size: 1.1rem !important;
    }
}