/* ===============================================
   CSS Variables - Color Palette & Typography
   =============================================== */
:root {
    /* Colors matching reference design */
    --primary-red: #D32F2F;
    --secondary-orange: #FF5722;
    --dark-navy: #1A2332;
    --dark-gray: #2C3E50;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --border-color: #E0E0E0;
    
    /* Typography */
    --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 20px;
    --card-padding: 30px;
}

/* ===============================================
   Global Styles & Reset
   =============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ===============================================
   Container & Layout
   =============================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============================================
   Buttons
   =============================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #B71C1C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-primary-outline:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-red);
    font-weight: var(--font-weight-bold);
}

.btn-white:hover {
    background-color: var(--light-gray);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* ===============================================
   Header / Navigation
   =============================================== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
}

.logo-icon {
    font-size: 28px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    font-weight: var(--font-weight-medium);
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ===============================================
   Hero Section
   =============================================== */
.hero {
    padding: 80px 20px;
    background-color: var(--light-gray);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 550px;
}

.hero-title {
    font-size: 56px;
    font-weight: var(--font-weight-black);
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* ===============================================
   Services Section
   =============================================== */
.services {
    padding: var(--section-padding);
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-placeholder {
    font-size: 48px;
    display: block;
}

.service-title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===============================================
   Info Section
   =============================================== */
.info-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-text {
    max-width: 550px;
}

.section-title {
    font-size: 42px;
    font-weight: var(--font-weight-black);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.link {
    display: inline-block;
    color: var(--primary-red);
    font-weight: var(--font-weight-medium);
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.link:hover {
    transform: translateX(5px);
}

.info-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background-color: #E8E8E8;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.placeholder-icon {
    font-size: 80px;
}

.image-placeholder p {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: var(--font-weight-medium);
}

/* ===============================================
   News Section
   =============================================== */
.news-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.section-title-center {
    font-size: 42px;
    font-weight: var(--font-weight-black);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-placeholder {
    height: 100%;
    max-width: 100%;
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    border-radius: 0;
}

.news-placeholder .placeholder-icon {
    font-size: 60px;
}

.news-content {
    padding: 25px;
}

.news-title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    display: inline-block;
    color: var(--primary-red);
    font-weight: var(--font-weight-medium);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.news-link:hover {
    transform: translateX(5px);
}

/* ===============================================
   Partners Section
   =============================================== */
.partners-section {
    padding: 60px 20px;
    background-color: var(--light-gray);
}

.partners-title {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 30px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--text-light);
    padding: 15px 30px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    color: var(--text-dark);
    border-color: var(--text-dark);
}

/* ===============================================
   CTA Banner
   =============================================== */
.cta-banner {
    padding: 50px 20px;
    background-color: var(--primary-red);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 30px;
}

.cta-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-family: var(--font-family);
}

.cta-input:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* ===============================================
   Footer
   =============================================== */
.footer {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-title {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 5px;
}

.footer-text {
    font-size: 14px;
    color: #B0B8C1;
    line-height: 1.7;
}

.footer-heading {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 5px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-list a {
    font-size: 14px;
    color: #B0B8C1;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--primary-red);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    font-size: 14px;
    color: #B0B8C1;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: #B0B8C1;
}

/* ===============================================
   Responsive Design
   =============================================== */

/* Tablet */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .info-text {
        max-width: 100%;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title,
    .section-title-center {
        font-size: 32px;
    }
    
    .cta-form {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-input,
    .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .partners-logos {
        gap: 30px;
    }
}
