/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* Color Variables */
:root {
    --gold: #D4AF37;
    --dark-gold: #B8860B;
    --charcoal: #080707;
    --dark-charcoal: #0F0F0F;
    --light-charcoal: #2A2A2A;
    --whatsapp-green: #25D366;

    /* Bootstrap Color Mapping */
    --bs-body-bg: var(--dark-charcoal);
    --bs-body-color: #F5F5F5;
}

/* Typography and Base Styles */
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-dark-charcoal {
    background-color: var(--dark-charcoal) !important;
}

.bg-charcoal {
    background-color: var(--charcoal) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

/* --- Header & Navigation Styles --- */
.header-blur-effect {
    background-color: rgba(41, 40, 40, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* For Safari */

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-link {
    position: relative;
    padding-bottom: 5px;
    /* Space for the underline */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

/* Navigation Layout Fix */
.navbar-nav {
    flex-grow: 1;
    justify-content: center;
}

.navbar-brand {
    margin-right: 0;
}

.navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Mobile Menu (Offcanvas/Sidebar) --- */
.sidebar-menu-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    background-color: var(--charcoal);
    padding-top: 6rem;
}

.sidebar-menu-wrapper.is-open {
    transform: translateX(0);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.mobile-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* --- Hero Section & Sliders --- */
.hero-slide {
    background-size: cover;
    background-position: center;
    transition: opacity 1.2s ease-in-out;
}

.testimonial-slide {
    transition: opacity 0.6s ease-in-out;
}

.gold-accent {
    color: var(--gold);
}

/* --- Buttons --- */
.btn-gold {
    background: linear-gradient(145deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: var(--dark-charcoal);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    color: var(--dark-charcoal);
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background: var(--gold);
    color: var(--dark-charcoal);
}

/* --- Enhanced Services & Process Sections --- */
.service-card {
    background: linear-gradient(145deg, var(--charcoal) 0%, var(--dark-charcoal) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.4s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
    transition: all 0.4s ease;
}

.service-card:hover .service-image::after {
    height: 80%;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.95), transparent);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--dark-charcoal);
    font-size: 2rem;
    position: relative;
    z-index: 10;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--dark-charcoal);
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Service Category Cards */
.service-category {
    background: linear-gradient(145deg, var(--charcoal) 0%, var(--dark-charcoal) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-category:hover::before {
    left: 100%;
}

.service-category:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Service Feature Cards */
.feature-card {
    background: linear-gradient(145deg, var(--charcoal) 0%, var(--dark-charcoal) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::after {
    width: 100%;
}

.feature-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-number {
    opacity: 1;
    transform: scale(1.1);
}

/* Process Section */
.process-step {
    position: relative;
}

.process-step-indicator {
    position: absolute;
    top: 40px;
    right: -25%;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
    z-index: 10;
}

.process-step:last-child .process-step-indicator {
    display: none;
}

@media (max-width: 1023px) {
    .process-step-indicator {
        display: none;
    }
}

/* Process Section Background */
.process-section {
    position: relative;
}

.process-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80'); */
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

.process-content {
    position: relative;
    z-index: 1;
}

/* --- Portfolio Grid (Custom Layout) --- */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    /* rounded-xl equivalent */
}

.portfolio-item .overlay {
    opacity: 0;
    transition: all 0.4s ease-in-out;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.4) 50%, transparent 100%);
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

/* Custom layout logic for large screens (lg) */
@media (min-width: 992px) {

    /* Bootstrap's lg breakpoint */
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 20px;
        height: 600px;
    }

    .portfolio-item.left-top {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .portfolio-item.left-bottom {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .portfolio-item.center {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }

    .portfolio-item.right-top {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .portfolio-item.right-bottom {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }
}

/* Mobile layout */
@media (max-width: 991px) {
    .portfolio-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .portfolio-item {
        height: 300px;
    }
}

.portfolio-section-max-width {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: #0F0F0F;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.whatsapp-circle {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.whatsapp-circle i {
    font-size: 1.5rem;
}

.gold-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 2rem auto;
    width: 80%;
}

/* Utility classes */
.hidden {
    display: none !important;
}

.letter-spacing-widest {
    letter-spacing: 0.2em;
}

.hover-text-white:hover {
    color: white !important;
}

.hover-text-gold:hover {
    color: var(--gold) !important;
}

.hover-scale-110:hover {
    transform: scale(1.1);
}

.transition {
    transition: all 0.3s ease;
}

.object-fit-cover {
    object-fit: cover;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.text-light-subtle {
    color: #f3eeee;
}

.bg-gold {
    background-color: var(--gold);
}

.text-charcoal {
    color: var(--charcoal);
}

.blur-3xl {
    filter: blur(3rem);
}

.space-x-10>*+* {
    margin-left: 2.5rem;
}