/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #666666;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --text-muted: #808080;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

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

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

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

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-img {
    height: 50px !important;
    width: auto !important;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    background-image: url('hero-highway.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 5rem 0;
}

.company-overview {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.overview-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===== CARDS GRID ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: var(--transition);
}

.card:hover .card-image {
    filter: grayscale(80%);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    color: var(--primary-color);
    gap: 0.75rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0;
    text-align: center;
}

/* ===== PAGE HERO (with image background) ===== */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.page-title {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--bg-white);
    margin: 0 auto;
}

/* ===== ABOUT PAGE ===== */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.lead-text {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.experience-item {
    text-align: center;
}

.experience-icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.experience-icon svg {
    width: 48px;
    height: 48px;
}

.experience-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.experience-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CRITERIA PAGE ===== */
.criteria-content {
    max-width: 900px;
    margin: 0 auto;
}

.criteria-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.criteria-section {
    margin-bottom: 4rem;
}

.criteria-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.criteria-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.criteria-item {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.criteria-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.offer-item {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.offer-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.offer-item h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* ===== CONTACT PAGE ===== */
.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-container h2,
.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-group textarea {
    resize: vertical;
}

.info-section {
    margin-bottom: 2rem;
}

.info-section h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.info-section p,
.info-section a {
    color: var(--text-light);
    line-height: 1.6;
}

.info-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    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;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-top: 4rem;
}

.cta-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--bg-white);
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 2rem 0;
    text-align: center;
    margin-top: 5rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .logo img {
        height: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }

    .content-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .logo img {
        height: 35px;
    }
}