/* Theme: 52 Officina (Auto Repair Shop Specific) */
:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --bg: #0f172a;
    --text: #f8fafc;
    --text-light: #94a3b8;
    --card-bg: #1e293b;
    --line: #334155;
    --accent: #38bdf8;
    --success: #10b981;
}

body {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.site-header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.main-nav a:hover, .main-nav li:hover > a {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 54px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Site Content */
.site-content {
    padding: 60px 0;
    min-height: 50vh;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    margin-top: 0;
}

h2 {
    font-size: 32px;
    font-weight: 800;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 30px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Layout Wrapper & Sidebar */
.layout-wrapper {
    display: flex;
    gap: 40px;
}

.content-main {
    flex: 1;
    min-width: 0;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.08);
}

.service-card-icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* Forms & Inputs */
.booking-section {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.booking-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 8px;
}

.booking-form input, .booking-form select, .booking-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
}

.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

/* Footer */
.site-footer {
    background: #090d16;
    padding: 50px 0;
    font-size: 14px;
    color: var(--text-light);
    border-top: 1px solid var(--line);
    margin-top: 80px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .hero-title { font-size: 38px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links a { margin: 0 10px; }
    .booking-section { padding: 25px; }
}

/* Inner Page Styling */
.content-main h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 25px;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

.content-body {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.8;
}

.content-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
}

.content-body h2::after {
    display: none;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.content-body li {
    margin-bottom: 8px;
}

.content-body strong {
    color: #fff;
}

