/* 
   Lucky Beauty Decor - V2 Redesign 
   Theme: Gray, Black, Orange
*/

:root {
    --primary-color: #f6821f; /* Orange */
    --secondary-color: #192324; /* Dark Text */
    --gray-color: #4a4a4a; /* GrayBrand */
    --dark-bg: #121212;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font-heading: 'Jost', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--secondary-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
}

/* Fix for Fixed Header overlap on anchor jump */
section[id] {
    scroll-margin-top: 100px;
}

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #e07b00;
    transform: translateY(-2px);
}
.btn-primary:focus, .btn-primary:active, .btn-primary.active {
    background-color: #e07b00 !important;
    border-color: #e07b00 !important;
    box-shadow: none !important;
    transform: translateY(0);
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.btn-outline-primary:focus, .btn-outline-primary:active, .btn-outline-primary.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: none !important;
}
.btn-outline-light {
    font-family: var(--font-body);
    font-weight: 500;
}
.section-padding { padding: 80px 0; }
.letter-spacing-2 { letter-spacing: 2px; }
.divider { width: 60px; height: 4px; margin: 20px 0; }

/* Header & Navbar */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 9999; /* Ensure it stays on top */
}
.navbar-brand img { 
    max-height: 50px; 
    transition: all 0.3s ease;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .navbar-brand img { 
        max-height: 85px; /* Bigger logo on mobile as requested */
    }
    
    .navbar-collapse {
        background: var(--white);
        margin: 10px -15px 0;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-nav .nav-link {
        color: var(--secondary-color);
        margin: 10px 0;
        padding: 5px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    header .btn-primary {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
}

/* Custom Animated Hamburger */
.navbar-toggler {
    border: none;
    padding: 10px;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Higher than header */
}

.hamburger-icon {
    width: 28px;
    height: 2px;
    background-color: var(--secondary-color);
    position: relative;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.hamburger-icon::before { transform: translateY(-8px); }
.hamburger-icon::after { transform: translateY(8px); }

/* Animation when menu is open */
.navbar-toggler:not(.collapsed) .hamburger-icon {
    background-color: transparent;
}

.navbar-toggler:not(.collapsed) .hamburger-icon::before {
    transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .hamburger-icon::after {
    transform: rotate(-45deg);
}

.navbar-nav .nav-link {
    font-family: var(--font-body); /* Outfit font */
    font-weight: 500;
    color: var(--secondary-color);
    margin: 0 10px;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color);
}
/* Header Button Clean Style */
header .btn-primary {
    display: flex;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 600;
    box-shadow: none !important; /* Remove any pulse shadow */
}

/* Hero Section with Zoom Effect (Ken Burns) */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-bg-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    /* Zoom Animation + Fade */
    animation: zoomFade 18s infinite linear;
}

/* Cycle Animations */
/* 3 slides, 18s total, 6s each */
@keyframes zoomFade {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; }
    33% { opacity: 1; transform: scale(1.1); } 
    38% { opacity: 0; }
    100% { opacity: 0; transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-btns .btn { 
    margin-top: 15px; 
    font-family: var(--font-body);
    font-weight: 500;
}

/* Animations */
.animate-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.animate-pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 140, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); }
}


/* Services Cards */
.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.zoom-on-hover {
    transition: transform 0.5s ease;
}
.service-card:hover .zoom-on-hover {
    transform: scale(1.1);
}
.service-img-wrapper { height: 250px; }
.service-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
/* Feature Image on details page */
.feature-img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem; /* Matches Bootstrap rounded */
}

/* Portfolio */
.portfolio-img-container {
    height: 300px;
    width: 100%;
}
.object-fit-cover {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.portfolio-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: all 0.3s ease;
    color: #fff;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* Feature Icons */
.feature-item .icon-box { min-width: 50px; }

/* Map Wrapper */
.map-wrapper iframe {
    /* filter: grayscale(100%); Removed for colored map */
    transition: filter 0.3s;
}
/* .map-wrapper:hover iframe { filter: none; } Removed as map is now always colored */

.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
/* WhatsApp Floating Button (Clean & Simple) */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Icon */
.whatsapp-btn i {
    font-size: 22px;
}

/* FAQ Section */
.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}
.faq-button {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}
.faq-button:hover {
    color: var(--primary-color);
}
.faq-button i {
    transition: transform 0.3s ease;
}
.faq-button[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.faq-content {
    padding: 0 20px 20px;
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* Footer SEO */
.footer-about { font-size: 0.9rem; line-height: 1.8; }
.footer-seo-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.footer-seo-links a:hover { color: var(--primary-color); }

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        height: auto !important;
        min-height: 100vh;
        padding-top: 140px; /* Stronger buffer to push content down */
        padding-bottom: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-section .display-3 {
        font-size: 2.2rem; /* Compact heading for mobile */
        margin-bottom: 1.5rem !important;
    }

    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem !important;
    }
}
