/* wwwroot/css/site.css */
:root {
    --bg-dark: #0f0f0f;
    --bg-darker: #0a0a0a;
    --bg-card: #1a1a1a;
    --gold: #c9a24a;
    --gold-dark: #b38f3a;
    --gold-light: #d9b15e;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --border-dark: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
    position: relative;
    display: inline-block;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--gold);
    }

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 1.5rem auto 3rem auto;
}

/* Navigation */
.navbar {
    background-color: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(201, 162, 74, 0.2);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-light) !important;
}

    .navbar-brand span {
        color: var(--gold);
    }

.nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

    .nav-link:hover, .nav-link.active {
        color: var(--gold) !important;
    }

/* Buttons */
.btn-gold {
    background-color: var(--gold);
    color: var(--bg-dark);
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 40px;
    transition: all 0.3s;
    border: none;
}

    .btn-gold:hover {
        background-color: var(--gold-dark);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(201, 162, 74, 0.2);
        color: var(--bg-dark);
    }

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--text-light);
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 40px;
    transition: all 0.3s;
    background: transparent;
}

    .btn-outline-gold:hover {
        background-color: var(--gold);
        color: var(--bg-dark);
        transform: translateY(-2px);
    }

/* Hero Slideshow Section */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 76px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    overflow: hidden;
}

    .slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

/* Hero Slideshow Section */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 76px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    overflow: hidden;
}

    .slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

/* Background Image with Zoom Effect */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease-out;
    will-change: transform;
    transform: scale(1); /* Initial scale */
}

    /* Dark Overlay for Readability */
    .slide-bg::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.75);
        pointer-events: none;
    }

/* Slide Content */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    width: 80%;
    max-width: 800px;
    opacity: 0;
    transform: translate(-50%, -30%);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Navigation Dots */
.slide-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dot.active {
        background-color: var(--gold);
        width: 30px;
        border-radius: 6px;
    }

    .dot:hover {
        background-color: var(--gold-light);
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-slideshow {
        height: 70vh;
        min-height: 500px;
        margin-top: 60px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(15, 15, 15, 0.75)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center 30%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

    .hero h1 {
        font-size: 3.8rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero .tagline {
        font-size: 1.3rem;
        font-weight: 500;
        color: var(--gold);
        margin-bottom: 1rem;
        letter-spacing: 1px;
    }

/* Service Cards */
.service-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--border-dark);
    text-align: center;
}

    .service-card:hover {
        transform: translateY(-8px);
        border-color: var(--gold);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
    }

.service-icon {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-gray);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 4rem 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

/* Project Cards */
.project-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
}

    .project-card:hover {
        transform: translateY(-5px);
        border-color: var(--gold);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }

.project-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.project-card .card-body {
    padding: 1.5rem;
}

.project-card .card-title {
    color: var(--text-light);
    font-weight: 700;
}

.project-card .card-text {
    color: var(--text-gray);
}

/* Accordion */
.accordion-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: var(--bg-card);
    color: var(--text-light);
    font-weight: 600;
}

    .accordion-button::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }

    .accordion-button:not(.collapsed) {
        background-color: var(--gold);
        color: var(--bg-dark);
    }

        .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f0f0f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        }

    .accordion-button:focus {
        box-shadow: none;
        border-color: var(--gold);
    }

.accordion-body {
    background-color: var(--bg-dark);
    color: var(--text-gray);
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-dark);
    height: 100%;
    border-left: 4px solid var(--gold);
}

    .testimonial-card i {
        color: var(--gold);
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .testimonial-card p {
        color: var(--text-gray);
    }

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-dark);
}

.form-control, .form-select {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-dark);
    color: var(--text-light);
    padding: 12px;
}

    .form-control:focus, .form-select:focus {
        background-color: var(--bg-dark);
        border-color: var(--gold);
        color: var(--text-light);
        box-shadow: 0 0 0 0.2rem rgba(201, 162, 74, 0.25);
    }

.form-label {
    color: var(--text-gray);
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-dark);
    padding: 4rem 0 2rem;
}

    .footer h5 {
        color: var(--gold);
        margin-bottom: 1.5rem;
        font-weight: 600;
    }

    .footer a {
        color: var(--text-gray);
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer a:hover {
            color: var(--gold);
        }

.social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
    display: inline-block;
}

/* Alert Messages */
.alert-success {
    background-color: rgba(201, 162, 74, 0.2);
    border-color: var(--gold);
    color: var(--gold);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
    color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

/* Humberger menu color */
/* Custom toggler button for dark background */
.custom-toggler {
    border-color: var(--gold) !important;
    background-color: transparent;
}

    .custom-toggler .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='%23c9a24a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .custom-toggler:focus {
        box-shadow: 0 0 0 2px rgba(201, 162, 74, 0.5);
    }
