/* ===========================
   CARVANIZED - Custom Styles
   =========================== */

:root {
    --accent: #e8a019;
    --accent-dark: #c98a10;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --dark-3: #0f3460;
    --body-font: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.text-accent {
    color: var(--accent) !important;
}

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

.btn-accent {
    background-color: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 160, 25, 0.35);
}

.btn-outline-light {
    border-radius: 50px;
    border-width: 2px;
    font-weight: 600;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
    background: var(--dark);
    padding: 8px 0;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.top-link:hover {
    color: var(--accent);
}

.top-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* ===========================
   NAVBAR
   =========================== */
#mainNav {
    background: var(--dark);
    padding: 12px 0;
    transition: all 0.3s ease;
    z-index: 1030;
}

#mainNav.scrolled {
    background: rgba(26, 26, 46, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 8px 0;
}

.brand-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--accent), #f5c842);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    border-radius: 50px;
    transition: all 0.3s;
}

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

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    min-height: 85vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark-3) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(232, 160, 25, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #fff, transparent);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.z-1 {
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 550px;
    line-height: 1.7;
}

/* ===========================
   QUICK ACTIONS
   =========================== */
.quick-actions {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 3rem;
}

.action-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.action-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #f5c842);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}

/* ===========================
   SECTION LABELS & TITLES
   =========================== */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.25;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about-image-wrapper {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
    border-radius: 20px;
}

.about-image-content {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: rgba(232, 160, 25, 0.1);
    border: 2px solid rgba(232, 160, 25, 0.2);
}

/* ===========================
   DARK SECTION
   =========================== */
.bg-dark-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

/* ===========================
   SERVICE CARDS
   =========================== */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.service-card .text-muted {
    color: rgba(255, 255, 255, 0.55) !important;
}

.service-card h5 {
    color: #fff;
}

.service-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #f5c842);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
}

/* ===========================
   WHY US
   =========================== */
.why-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.why-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.why-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    min-width: 45px;
    line-height: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stat-card.accent-bg {
    background: linear-gradient(135deg, var(--accent), #f5c842);
    color: #fff;
}

.stat-card.accent-bg .stat-label {
    color: rgba(255, 255, 255, 0.85);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #f5c842);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
    padding: 5rem 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(232, 160, 25, 0.1), transparent 60%);
}

/* ===========================
   PAGE HEADER (Contact)
   =========================== */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark-3) 100%);
    padding: 5rem 0 4rem;
    position: relative;
}

.breadcrumb-item a {
    text-decoration: none;
}

/* ===========================
   CONTACT INFO
   =========================== */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.contact-info-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #f5c842);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

/* ===========================
   CONTACT FORM
   =========================== */
.contact-form-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: var(--body-font);
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(232, 160, 25, 0.15);
}

.form-control-lg,
.form-select-lg {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

/* ===========================
   MAP SECTION
   =========================== */
.map-section {
    line-height: 0;
}

.map-section iframe {
    filter: grayscale(30%);
    transition: filter 0.4s;
}

.map-section iframe:hover {
    filter: grayscale(0%);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--dark);
    padding: 4rem 0 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact a:hover {
    color: var(--accent);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* ===========================
   BACK TO TOP
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(232, 160, 25, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-4px);
}

/* ===========================
   ALERT MESSAGES
   =========================== */
.alert-success-custom {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.alert-error-custom {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .top-bar .d-flex:last-child {
        display: none !important;
    }

    .py-6 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .navbar-collapse {
        background: var(--dark);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-section {
        min-height: 70vh;
    }

    .quick-actions {
        margin-top: -40px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-image-wrapper {
        height: 280px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .brand-text {
        font-size: 1.3rem;
    }

    .top-bar {
        font-size: 0.75rem;
    }

    .top-bar .d-flex {
        gap: 0.5rem !important;
    }
}
