/* ===========================================
   EquiLux Trailers - Common Styles
   Shared across all pages
============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8b4513;
    --primary-dark: #654321;
    --primary-light: #a0522d;
    --secondary: #556b2f;
    --secondary-dark: #3d4c22;
    --accent: #d2691e;
    --accent-light: #e67e22;
    --background: #fffaf0;
    --white: #ffffff;
    --text: #36454f;
    --text-light: #5d6d7e;
    --light: #f5f5f5;
    --gray: #d3d3d3;
    --dark: #2c1810;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --border-radius-lg: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

.wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

h3 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    padding: 14px 36px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    gap: 18px;
}

.cta-button-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.cta-button-outline:hover {
    background: var(--accent);
    color: var(--white);
}

/* Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 250, 240, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-icon {
    position: relative;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.logo-icon i:first-child {
    font-size: 1.8rem;
}

.logo-icon i:last-child {
    position: absolute;
    bottom: 6px;
    right: 6px;
    font-size: 0.9rem;
}

.brand h1 {
    font-size: 2.2rem;
    color: var(--primary);
    letter-spacing: 1px;
    margin: 0;
}

.tagline {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: var(--secondary);
    font-size: 0.95rem;
    margin-top: 0.3rem;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.8rem;
}

.nav-link {
    position: relative;
    padding: 0.6rem 0;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), var(--primary));
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.mobile-nav-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.6rem;
}

.mobile-nav-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--primary));
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 1rem auto 0;
}



/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.py-1 { padding: 1rem 0; }
.py-2 { padding: 2rem 0; }
.py-3 { padding: 3rem 0; }

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.7rem; }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .mobile-nav-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        background: var(--white);
        padding: 2.5rem;
        box-shadow: var(--shadow-heavy);
        transition: var(--transition);
        z-index: 999;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.8rem;
    }

    .section {
        padding: 70px 0;
    }

    /* .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    } */
}

@media (max-width: 576px) {
    .wrapper {
        padding: 0 1.5rem;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.5rem; }

    .cta-button {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }
}
