/*
 * Ani Builders - Custom Stylesheet
 * Bold Premium Construction Company Website
 * Color Scheme: #F3FD06 (Neon Yellow) & #2B2E33 (Dark Charcoal)
 */

/* ========================================
   1. ROOT VARIABLES & GLOBAL STYLES
======================================== */
:root {
    --primary-color: #F3FD06;
    --secondary-color: #2B2E33;
    --text-light: #ffffff;
    --text-muted: #b0b3b8;
    --overlay-dark: rgba(43, 46, 51, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.text-muted {
    color: var(--text-light) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   2. TYPOGRAPHY
======================================== */
.text-yellow {
    color: var(--primary-color);
}

.text-muted-custom {
    color: var(--text-muted);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ========================================
   3. BUTTONS
======================================== */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 253, 6, 0.3);
}

.btn-secondary-custom {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ========================================
   4. NAVBAR
======================================== */
.navbar-custom {
    background-color: var(--secondary-color);
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar-custom.scrolled {
    background-color: var(--secondary-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-custom .navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.navbar-custom .navbar-brand img {
    height: 45px;
    width: auto;
    margin-right: 12px;
    border-radius: 5px;
    object-fit: contain;
}

.navbar-custom .navbar-brand span {
    color: var(--primary-color);
}

.navbar-custom .nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    padding: 5px 0;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 100%;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary-color);
}

/* ========================================
   5. HERO SLIDER
======================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.hero-slide {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.rating-badge {
    display: inline-block;
    background-color: rgba(243, 253, 6, 0.15);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.rating-badge .stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Carousel Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(243, 253, 6, 0.1);
    border-radius: 50%;
    opacity: 1;
    z-index: 10;
    transition: all 0.3s ease;
}

.hero-slider .carousel-control-prev {
    left: 20px;
}

.hero-slider .carousel-control-next {
    right: 20px;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100%;
}

/* Carousel Indicators */
.hero-slider .carousel-indicators {
    bottom: 30px;
    z-index: 10;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-color);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-slider .carousel-indicators button.active {
    background-color: var(--primary-color);
    width: 40px;
    border-radius: 10px;
}

/* ========================================
   6. PAGE HEADING
======================================== */
.page-heading {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    position: relative;
}

.page-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.page-heading-content {
    position: relative;
    z-index: 2;
}

.page-heading h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-heading .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.yellow-line {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto;
}

.breadcrumb-custom {
    background-color: transparent;
    padding: 0;
    margin: 20px 0 0;
}

.breadcrumb-custom .breadcrumb-item {
    color: var(--text-muted);
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--text-light);
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--primary-color);
}

/* ========================================
   7. SECTIONS
======================================== */
section {
    padding: 80px 0;
}

.section-dark {
    background-color: #1a1c1f;
}

.section-light {
    background-color: var(--secondary-color);
}

/* ========================================
   8. CARDS
======================================== */
.card-custom {
    background-color: #1a1c1f;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.4s ease;
    height: 100%;
}

.card-custom:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(243, 253, 6, 0.2);
}

.card-custom .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card-custom:hover .icon {
    transform: scale(1.1);
}

.card-custom h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-custom p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ========================================
   9. GALLERY
======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 3px solid transparent;
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    border-color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    position: relative;
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 46, 51, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay .project-type {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ========================================
   10. CTA SECTION
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1c1f 100%);
    padding: 60px 0;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* ========================================
   11. FOOTER
======================================== */
footer {
    background-color: #1a1c1f;
    padding: 40px 0 20px;
    border-top: 3px solid var(--primary-color);
}

footer h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

footer p, footer a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

footer a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.copyright {
    border-top: 1px solid rgba(176, 179, 184, 0.2);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* ========================================
   12. CONTACT PAGE
======================================== */
.contact-info-box {
    background-color: #1a1c1f;
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-info-box .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info-box h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-info-box p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-info-box a {
    color: var(--text-light);
}

.contact-info-box a:hover {
    color: var(--primary-color);
}

/* ========================================
   13. RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-heading h1 {
        font-size: 2.2rem;
    }
    
    .navbar-custom .nav-link {
        margin: 10px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .navbar-collapse {
    background: #100e0ef7;
    padding: 20px;
}
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-heading {
        padding: 100px 0 60px;
    }
    
    section {
        padding: 60px 0;
    }
}

/* ========================================
   14. UTILITY CLASSES
======================================== */
.bg-dark-custom {
    background-color: var(--secondary-color);
}

.bg-darker {
    background-color: #1a1c1f;
}

.border-yellow {
    border-color: var(--primary-color) !important;
}

.text-yellow {
    color: var(--primary-color) !important;
}

/* ========================================
   15. WHATSAPP FLOATING BUTTON
======================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    line-height: 60px;
}

/* Blinking/Pulse Animation */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
    
    .whatsapp-float i {
        line-height: 50px;
    }
}

/* ========================================
   16. ANIMATIONS (WOW.js compatible)
======================================== */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    opacity: 1;
}
