/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-color: #333333;
    --accent-color: #92c4d5;
    --text-color: #747474;
    --heading-color: #333333;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-white);
    font-size: 15px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.3;
    margin-bottom: 15px;
}

a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.radius-img { border-radius: 8px; }
.shadow-img { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.w-100 { width: 100%; }
.p-40 { padding: 40px; }

/* ==========================================================================
   Layout Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.spacer { height: 60px; }
.spacer-small { height: 30px; }

/* Grid Utilities */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.grid-2-col.align-start { align-items: start; }

@media (max-width: 768px) {
    .grid-2-col { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #2f576f;
    color: #fff;
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    height: 100px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img { max-width: 200px; margin-top: 5px; }

.main-nav { height: 100%; }

.nav-links {
    list-style: none;
    display: flex;
    height: 100%;
}

.nav-links li { height: 100%; }

.nav-links a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    color: var(--heading-color);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
}

.nav-links a.active { background-color: rgba(162, 199, 214, 0.46); }
.nav-links a:hover { background-color: rgba(162, 199, 214, 0.2); }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--heading-color);
    transition: 0.3s;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        height: auto;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links li { height: auto; }
    .nav-links a { padding: 15px 20px; }
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: flex; }
}

/* ==========================================================================
   Hero & Page Headers
   ========================================================================== */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1, .page-hero h1 {
    color: #fff;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.hero-content h1 { font-size: 4rem; }
.page-hero h1 { font-size: 3.5rem; margin-bottom: 10px; }
.page-hero p { color: #fff; font-size: 1.2rem; font-weight: 300; }

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.hero-phone:hover {
    background: none;
    color: #fff;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .hero-content h1 { font-size: 2.5rem; }
    .page-hero h1 { font-size: 2.5rem; }
    .hero-phone { font-size: 2.5rem; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2rem; }
    .page-hero h1 { font-size: 2rem; }
    .hero-phone { font-size: 1.8rem; }
}

/* ==========================================================================
   Internal Pages (About, Contact, Gallery)
   ========================================================================== */

/* About specific */
.mission-box {
    padding: 30px;
    border-left: 4px solid var(--accent-color);
    margin-top: 20px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent-color);
}

.gallery-caption {
    padding: 20px;
}

.gallery-caption h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.gallery-caption p {
    font-size: 14px;
    color: #888;
}

/* ==========================================================================
   Modern Contact Page Styles
   ========================================================================== */
.contact-grid {
    gap: 60px;
}

.contact-intro {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--heading-color);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.contact-text p, .contact-text a {
    color: var(--text-color);
    margin: 0;
    font-size: 15px;
}

.contact-text a:hover {
    color: var(--accent-color);
}

/* Modern Social Icons */
.social-icons-modern {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons-modern a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons-modern a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Form Card */
.contact-form-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--heading-color);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fcfcfc;
}

.form-control::placeholder {
    color: #bbb;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(146, 196, 213, 0.2);
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
    font-weight: bold;
    text-align: center;
}

.form-status.success { background-color: #d4edda; color: #155724; display: block; }
.form-status.error { background-color: #f8d7da; color: #721c24; display: block; }

@media (max-width: 768px) {
    .contact-form-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Home Page Sections
   ========================================================================== */
.intro-section { padding-top: 100px; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 30px; }
.lead-text { font-size: 16px; max-width: 1000px; margin: 0 auto; line-height: 1.8; }
.car-img { max-width: 700px; margin-top: 40px; }

/* Split Section */
.split-section { display: flex; flex-wrap: wrap; min-height: 500px; }
.split-col { flex: 1 1 50%; }
.split-col.content-col { display: flex; align-items: center; justify-content: center; padding: 80px 10%; }
.feature-text { font-size: 1.25rem; line-height: 1.8; color: var(--heading-color); }
.split-col.image-col { background-size: cover; background-position: center; min-height: 400px; }

@media (max-width: 900px) { .split-col { flex: 1 1 100%; } }

/* Guarantee Section */
.guarantee-section { background-size: cover; background-position: center; background-attachment: fixed; padding: 100px 0; }
.guarantee-title { font-size: 2.5rem; font-weight: 700; margin: 0; }
@media (max-width: 768px) { .guarantee-title { font-size: 1.8rem; } }

/* FAQ & Videos */
.faq-box { padding: 60px 80px; border-radius: 4px; }
.faq-question { font-size: 1.5rem; font-weight: 700; margin: 0; }
.faq-answer { font-size: 15px; margin: 0; }
.content-narrow { max-width: 1000px; margin: 0 auto; }
.faq-question-large { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; }
.faq-answer-small { font-size: 13px; line-height: 2; color: #888; }

@media (max-width: 768px) {
    .faq-box { padding: 40px 20px; }
    .faq-question-large { font-size: 1.8rem; }
}

.image-showcase-section { padding-top: 0; }
.full-width-radius { width: 100%; border-radius: 4px; }

.video-section { padding-top: 20px; }
.video-container {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    max-width: 700px; margin: 0 auto; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Carousel */
.carousel-section { padding: 60px 0 0 0; }
.carousel {
    display: flex; width: 100%; overflow: hidden; 
}
.carousel img {
    flex: 1; width: 20%; height: 250px; object-fit: cover; padding: 0 5px;
}
@media (max-width: 768px) {
    .carousel { overflow-x: auto; scroll-snap-type: x mandatory; }
    .carousel img { min-width: 250px; scroll-snap-align: start; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-widgets { padding: 80px 0; }
.footer-logo { max-width: 260px; margin-bottom: 20px; }
.footer-address, .footer-contact { font-size: 14px; line-height: 1.8; color: var(--text-color); }
.footer-contact a { color: var(--text-color); }
.footer-contact a:hover { color: var(--accent-color); }
.footer-copyright { background-color: var(--accent-color); color: #fff; padding: 25px 0; font-size: 13px; }
.footer-copyright a { color: #fff; }

/* ==========================================================================
   Back to Top
   ========================================================================== */
.to-top-btn {
    position: fixed; bottom: 30px; right: 30px; background: #333; color: #fff;
    width: 45px; height: 45px; text-align: center; line-height: 40px;
    border-radius: 4px 4px 0 0; font-size: 24px; opacity: 0; visibility: hidden;
    transition: 0.3s ease; z-index: 9999;
}
.to-top-btn.visible { opacity: 0.9; visibility: visible; }
.to-top-btn:hover { background: #000; color: #fff; opacity: 1; }