/* ===================================================
   A.H Motor Mechanics — Formal Corporate Stylesheet
   =================================================== */

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    line-height: 1.7;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: #1a1a1a; font-weight: 600; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== VARIABLES ===== */
:root {
    --dark: #111111;
    --red: #b71c1c;
    --red-light: #d32f2f;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --light-gray: #f0efeb;
    --border: #e0ddd5;
    --text: #444444;
    --text-light: #777777;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--dark);
    color: #aaa;
    font-size: 0.78rem;
    padding: 8px 0;
    letter-spacing: 0.3px;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left { display: flex; gap: 25px; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-right { display: flex; gap: 20px; }
.top-bar-right a {
    color: var(--gold);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}
.top-bar-right a:hover { color: var(--gold-light); }

@media (max-width: 600px) {
    .top-bar-left { display: none; }
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-ah {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}
.logo-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.logo-text small {
    font-weight: 400;
    color: var(--text-light);
    text-transform: none;
    font-size: 0.72rem;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.3px;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1.5px;
    background: var(--red);
    transition: width 0.3s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    padding: 10px 22px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 3px;
    letter-spacing: 0.3px;
    transition: background 0.3s;
}
.nav-cta:hover { background: var(--red-light); }

/* Hamburger */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span {
    width: 24px; height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

@media (max-width: 900px) {
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        transition: right 0.35s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.08);
        border-left: 2px solid var(--border);
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 1rem; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 3px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-primary:hover {
    background: var(--red-light);
    border-color: var(--red-light);
}
.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}
.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
}

/* ===== HERO ===== */
.hero {
    background: var(--off-white);
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}
.hero-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 15px;
}
.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}
.hero h1 em {
    color: var(--red);
    font-style: italic;
}
.hero-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }
.hero-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 45px 35px;
    text-align: center;
    border-radius: 4px;
    max-width: 300px;
}
.hero-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 18px;
}
.hero-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.hero-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero-visual { display: none; }
    .hero { padding: 50px 0; }
}

/* ===== SECTION COMMON ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 55px; }
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 8px;
}
.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.section-line {
    width: 50px;
    height: 2px;
    background: var(--red);
    margin: 0 auto;
}
.section-line.left { margin: 0; }

/* ===== SERVICES ===== */
.services { background: var(--white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    border: 1px solid var(--border);
    margin: -0.5px;
    transition: background 0.3s;
}
.service-item:hover { background: var(--off-white); }
.service-icon {
    width: 48px; height: 48px; min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--red);
    font-size: 1.1rem;
    transition: all 0.3s;
}
.service-item:hover .service-icon {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.service-body h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.service-body p {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.65;
}

@media (max-width: 700px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ===== WHY US ===== */
.why-us { background: var(--off-white); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    margin-bottom: 50px;
}
.stat-block {
    text-align: center;
    padding: 35px 20px;
    border-right: 1px solid var(--border);
}
.stat-block:last-child { border-right: none; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.value-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 35px 30px;
    border-radius: 3px;
    text-align: center;
}
.value-card i {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 15px;
}
.value-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}
.value-card p {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-block:nth-child(2) { border-right: none; }
    .stat-block:nth-child(1), .stat-block:nth-child(2) { border-bottom: 1px solid var(--border); }
    .values-grid { grid-template-columns: 1fr; }
}

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-layout {
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-left { display: flex; justify-content: center; }
.about-badge {
    width: 200px; height: 200px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.badge-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}
.badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    line-height: 1.4;
}
.about-right h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.about-right .section-line { margin-bottom: 25px; }
.about-right p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 12px;
}
.about-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
}
.about-list li i { color: var(--gold); font-size: 0.85rem; }

@media (max-width: 768px) {
    .about-layout { grid-template-columns: 1fr; }
    .about-left { display: none; }
    .about-list { grid-template-columns: 1fr; }
}

/* ===== CTA ===== */
.cta-section {
    background: var(--dark);
    padding: 55px 0;
}
.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.cta-text h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 6px;
}
.cta-text p {
    font-size: 0.9rem;
    color: #999;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 600px) {
    .cta-inner { flex-direction: column; text-align: center; }
}

/* ===== CONTACT ===== */
.contact { background: var(--off-white); }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 35px 25px;
    text-align: center;
    border-radius: 3px;
    transition: border-color 0.3s;
}
.contact-card:hover { border-color: var(--gold); }
.contact-card i {
    font-size: 1.5rem;
    color: var(--red);
    margin-bottom: 15px;
}
.contact-card h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
}
.contact-card p {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.6;
}
.contact-card a {
    color: var(--red);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.contact-card a:hover { color: var(--gold); }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: #999;
    padding: 55px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 20px;
}
.footer h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.footer h4 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.footer p { font-size: 0.84rem; line-height: 1.7; }
.footer ul li {
    font-size: 0.84rem;
    line-height: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer ul li a { transition: color 0.3s; }
.footer ul li a:hover { color: var(--gold); }
.footer-bottom {
    text-align: center;
    padding-top: 5px;
}
.footer-bottom p { font-size: 0.78rem; color: #555; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 22px; right: 22px;
    width: 48px; height: 48px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(37,211,102,0.3);
    transition: transform 0.3s;
}
.whatsapp-btn:hover { transform: scale(1.08); }
.whatsapp-btn i { font-size: 1.3rem; color: white; }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 22px; left: 22px;
    width: 38px; height: 38px;
    background: var(--dark);
    border: 1px solid #444;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--red); border-color: var(--red); }
.back-to-top i { font-size: 0.8rem; color: #999; }
.back-to-top:hover i { color: var(--white); }

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}