:root {
    --primary: #d4232a;
    --primary-dark: #a81c21;
    --secondary: #f5a623;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

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

/* Top Bar */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar a { color: var(--gray-light); }
.top-bar a:hover { color: var(--secondary); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo img { height: 50px; }
.logo{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
}

.logo img{
    height:50px;
    width:auto;
    display:block;
}
.logo-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.logo-text span{
    margin-top:2px;
    line-height:1.2;
}
.logo-text h1 { font-size: 22px; color: var(--primary); font-weight: 700; }
.logo-text span { font-size: 11px; color: var(--gray); display: block; }

nav ul { display: flex; gap: 5px; }
nav ul li a {
    padding: 10px 16px;
    font-weight: 500;
    font-size: 15px;
    color: var(--dark);
    border-radius: 8px;
}
nav ul li a:hover,
nav ul li a.active {
    background: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
}
.hero-slider {
    display: flex;
    transition: transform 0.8s ease;
    height: 100%;
}
.hero-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(212,35,42,0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 650px;
    padding: 40px;
}
.hero-content h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--secondary); color: var(--dark); }
.btn-secondary:hover { background: #e6951e; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--dark); }

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero-dots button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}
.hero-dots button.active { background: var(--white); }

/* Section Styles */
.section { padding: 80px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.section-title p { color: var(--gray); font-size: 16px; max-width: 600px; margin: 0 auto; }
.section-title .line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.about-badge h3 { font-size: 36px; font-weight: 800; }
.about-badge span { font-size: 14px; }
.about-content h3 { font-size: 28px; margin-bottom: 15px; color: var(--dark); }
.about-content p { color: var(--gray); margin-bottom: 15px; }
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--light);
    border-radius: 8px;
}
.about-feature .icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-card-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.1); }
.product-card-body { padding: 25px; }
.product-card-body h3 { font-size: 20px; margin-bottom: 8px; color: var(--dark); }
.product-card-body p { color: var(--gray); font-size: 14px; }

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.feature-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--dark); }
.feature-card p { color: var(--gray); font-size: 14px; }

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(212,35,42,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    font-size: 24px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Branches Section */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.branch-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}
.branch-card h3 { font-size: 22px; color: var(--primary); margin-bottom: 15px; }
.branch-card .areas { color: var(--gray); font-size: 14px; line-height: 1.8; }

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    margin-bottom: 15px;
}
.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-info-card h4 { font-size: 16px; color: var(--dark); margin-bottom: 5px; }
.contact-info-card p { color: var(--gray); font-size: 14px; }
.contact-info-card a { color: var(--primary); font-weight: 500; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212,35,42,0.1);
}
.form-group textarea { height: 120px; resize: vertical; }

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}
.cta h2 { font-size: 32px; margin-bottom: 15px; }
.cta p { font-size: 18px; margin-bottom: 25px; opacity: 0.9; }

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: var(--gray-light); font-size: 14px; }
.footer-links li a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}
.footer-contact li span:first-child { color: var(--primary); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h2 { font-size: 36px; }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 999;
    }
    nav ul.open { right: 0; }
    .hamburger { display: flex; z-index: 1001; }
    .hero { height: 60vh; min-height: 400px; }
    .hero-content h2 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .top-bar .container { justify-content: center; text-align: center; }
    .top-bar-right { display: none; }
    .hero-content { padding: 20px; }
    .hero-content h2 { font-size: 24px; }
    .btn { padding: 12px 24px; font-size: 14px; }
}

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

/* Schema Markup Hidden */
schema-hidden { display: none; }

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.blog-card-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}
.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}
.blog-card-body {
    padding: 25px;
}
.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--gray);
}
.blog-card-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
    line-height: 1.4;
}
.blog-card-body h3 a {
    color: var(--dark);
}
.blog-card-body h3 a:hover {
    color: var(--primary);
}
.blog-card-body p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.7;
}
.blog-card-body .btn {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
