/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #090114 0%, #17013a 50%, #2f103b 100%);
    --gold: #D4AF37;
    /* Classic Gold */
    --gold-hover: #F2C94C;
    --dark: #1a1a1a;
    --light: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    margin-top: 56px;
    /* Offset for fixed navbar */
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.font-playfair {
    font-family: 'Playfair Display', serif;
}

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

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

.text-primary {
    color: #4D2CFA !important;
    /* Using a color from the gradient as primary text color */
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

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

.ls-1 {
    letter-spacing: 1px;
}

.bg-gradient-custom {
    background: var(--primary-gradient);
}

/* Navbar */
.navbar {
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gold) !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

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

/* Buttons */
/* Buttons */
.btn-premium {
    background: linear-gradient(45deg, #D4AF37, #F2C94C, #D4AF37);
    background-size: 200% auto;
    color: #000;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    border-radius: 50px;
    /* Elegant Pill Shape */
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-premium:hover {
    background-position: right center;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-outline-primary {
    color: #4D2CFA;
    border: 2px solid #4D2CFA;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 15px rgba(77, 44, 250, 0.4);
    transform: translateY(-2px);
}

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

.btn-outline-gold:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    /* Full screen height */
    padding-top: 0;
    overflow: hidden;
    background-color: #1a023a;
    /* Dark background for letterboxing */
}

/* Ensure image covers or contains based on preference - using contain for "original size" request */
.hero-bg-img {
    object-fit: cover !important;
    object-position: top center !important;
}

.hero-section h1,
.hero-section p,
.hero-section h5 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

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

/* Cards */
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    background: rgba(255, 255, 255, 0.9);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--gold);
}

.icon-box {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(77, 44, 250, 0.05);
    margin: 0 auto;
    transition: all 0.3s;
}

.service-card:hover .icon-box {
    background: var(--primary-gradient);
    color: white !important;
}

/* Gallery */
.gallery-item {
    display: block;
    position: relative;
    height: 300px;
    /* Fixed height for uniformity */
    overflow: hidden;
}

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

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

.gallery-item .overlay {
    background: rgba(26, 2, 58, 0.4);
    /* Purple tint from theme */
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item .bi-zoom-in {
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .bi-zoom-in {
    transform: scale(1);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(77, 44, 250, 0.1);
    color: #4D2CFA;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(77, 44, 250, 0.1);
}

/* Footer */
footer a {
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Mobile Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #3A00E5;
        /* Solid color for mobile menu */
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 8px;
    }
}

/* About and Gallery Section Background */
#about,
#gallery {
    background: linear-gradient(rgba(26, 2, 58, 0.9), rgba(26, 2, 58, 0.85)), url('img/back.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

@media (max-width: 991px) {

    #about,
    #gallery {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* Sticky WhatsApp Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-sticky:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}