/* --- Base & Variables --- */
:root {
    --primary-color: #2b3a4a; /* Deep elegant slate blue */
    --secondary-color: #f7a800; /* Energetic bright yellow/orange (Mercedes typical accent) */
    --secondary-hover: #e09800;
    --background-color: #f8f6f0; /* Soft warm ivory beige */
    --surface-color: #ffffff;
    --text-main: #2b2b2b; /* Softer black */
    --text-muted: #5f6368;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-main);
    line-height: 1.6;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Header & Nav --- */
.main-header {
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}
.logo a span {
    color: var(--secondary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}
.main-nav a:not(.btn-primary-small) {
    font-weight: 500;
    transition: var(--transition-fast);
}
.main-nav a:not(.btn-primary-small):hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 102;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

.close-menu {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- Buttons --- */
.btn-primary, .btn-primary-small, .btn-secondary, .submit-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--secondary-color);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    text-align: center;
}
.btn-primary-small {
    padding: 10px 20px;
    font-size: 0.95rem;
}
.btn-primary:hover, .btn-primary-small:hover, .submit-btn:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: var(--surface-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 120px;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(20,25,30,0.95) 0%, rgba(20,25,30,0.7) 50%, rgba(20,25,30,0) 100%);
}

.hero-content {
    width: 100%;
}

.hero-text-card {
    max-width: 600px;
    background: var(--surface-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-text-card h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.hero-text-card h1 span {
    color: var(--secondary-color);
}

.hero-text-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.trust-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}
.trust-features span {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* --- Statistics --- */
.statistics {
    background: var(--primary-color);
    color: #fff;
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
}
.stat-plus, .stat-percent, .stat-text {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
}
.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- Why Us --- */
.why-us {
    padding: 100px 0;
    background: url('actros_bg.png') no-repeat center center / cover;
    position: relative;
}
.why-us::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(20, 25, 30, 0.85); /* dark overlay over bg */
}
.why-us .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #ffffff;
}
.section-title span {
    color: var(--secondary-color);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
}
.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.why-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.why-card p {
    color: var(--text-muted);
}

/* --- Article SEO --- */
.seo-article {
    padding: 80px 0;
}
.bg-light {
    background: #f1ebd9; /* Soft relaxing warm shade */
}

.article-container {
    max-width: 900px;
}

.content-body h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}
.content-body h3 {
    font-size: 1.5rem;
    margin: 40px 0 20px 0;
}
.content-body p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.article-list {
    margin-bottom: 20px;
    padding-left: 20px;
}
.article-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* --- Forms --- */
.contact-section {
    padding: 100px 0;
    background: var(--surface-color);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}
.form-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.form-header h2 span {
    color: var(--secondary-color);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}
.last-section {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-cols-2 > * { flex: 1; }
.form-cols-2-uneven .form-group:nth-child(1) { flex: 3; }
.form-cols-2-uneven .form-group:nth-child(2) { flex: 1; }
.form-cols-2-uneven-reverse .form-group:nth-child(1) { flex: 1; }
.form-cols-2-uneven-reverse .form-group:nth-child(2) { flex: 3; }

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

input[type="text"], input[type="tel"], input[type="number"], input[type="email"], textarea {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--background-color);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(247, 168, 0, 0.2);
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    background: var(--background-color);
    transition: var(--transition-fast);
    cursor: pointer;
}
.file-upload-wrapper:hover {
    border-color: var(--secondary-color);
}
.file-input {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.file-upload-visual {
    display: flex;
    flex-direction: column;
    pointer-events: none;
}
.upload-icon { font-size: 2rem; margin-bottom: 10px; }
.file-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    z-index: 3;
    position: relative;
}
.preview-img {
    width: 60px; height: 60px;
    object-fit: cover;
    border-radius: 4px; border: 1px solid #ccc;
}

/* Checkbox */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    cursor: pointer;
}
.checkbox-container input {
    margin-top: 4px;
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    position: relative;
}
.loader {
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    position: absolute;
}
.hidden { display: none !important; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--radius-md);
    text-align: center;
    display: none;
}
.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Share Section --- */
.share-section {
    padding: 60px 0;
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
}
.share-section h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}
.share-btn {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}
.share-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.copy-msg {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #2b3a4a;
    opacity: 0;
    transition: opacity 0.3s;
}
.copy-msg.show {
    opacity: 1;
}

/* --- Footer --- */
.main-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 60px 0 20px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-info h3 {
    color: #fff;
    margin-bottom: 15px;
}
.footer-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}
.footer-links h4 {
    color: #fff;
    margin-bottom: 15px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
    cursor: pointer;
}
.footer-links a:hover {
    color: var(--secondary-color);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* --- Floating Buttons --- */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366; /* WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 90;
    transition: var(--transition-normal);
}
.floating-btn:hover {
    transform: scale(1.1);
}

/* --- Modals --- */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}
.modal.show {
    opacity: 1; visibility: visible;
}
.modal-dialog {
    background: var(--surface-color);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: var(--transition-fast);
}
.modal.show .modal-dialog {
    transform: translateY(0);
}
.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.close-modal {
    background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted);
}
.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}
.tab-btn {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
}
.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}
.modal-body {
    padding: 20px;
    overflow-y: auto;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.tab-content h3 { margin-bottom: 15px; }

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .form-cols-2, .form-cols-2-uneven, .form-cols-2-uneven-reverse {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-text-card {
        padding: 30px;
    }
    .hero-text-card h1 {
        font-size: 2rem;
    }
    .menu-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--surface-color);
        flex-direction: column;
        padding: 80px 30px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    .close-menu {
        display: block;
    }
    .backdrop {
        position: fixed; top:0; left:0; width:100%; height:100%;
        background: rgba(0,0,0,0.5);
        opacity: 0; visibility: hidden;
        transition: var(--transition-fast);
        z-index: 101;
    }
    .backdrop.active {
        opacity: 1; visibility: visible;
    }
    .form-wrapper {
        padding: 30px 20px;
    }
}
