/* styles.css */
:root {
    --primary-red: #e30613;
    --dark: #111111;
    --light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system_ui, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.95);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 5%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    transition: all 0.3s;
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: #c0040f;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark);
}

/* Section styles */
.section {
    padding: 100px 5%;
    scroll-margin-top: 80px;
}

.bg-dark {
    background: var(--dark);
    color: white;
}

.bg-light {
    background: var(--light);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.bg-dark .section-header h2 {
    color: white;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
}

/* Grids */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.mv-card {
    background: rgba(255,255,255,0.08);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.mv-card:hover {
    transform: translateY(-15px);
}

.icon-wrapper {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(227, 6, 19, 0.15);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-content {
    padding: 1.8rem;
}

.service-card h3 {
    margin: 0 0 1rem;
    color: var(--dark);
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.news-card:hover {
    transform: scale(1.03);
}

.news-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: 16px;
}

.contact-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.6rem;
    color: var(--primary-red);
    margin-top: 4px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #655f5f;
    color: #ccc;
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.social-icons a {
    color: #ccc;
    font-size: 1.6rem;
    margin-right: 1rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 4rem;
        transition: 0.4s;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .services-grid, .news-grid {
        grid-template-columns: 1fr;
    }
}