/* ============================================
   Özkar Otomotiv - Ana Stil Dosyası
   ============================================ */

/* --- CSS Variables (Overridden by PHP) --- */
:root {
    --primary-color: #e31e24;
    --secondary-color: #1a1a2e;
    --accent-color: #f5a623;
    --header-bg: #ffffff;
    --footer-bg: #1a1a2e;
    --footer-text: #cccccc;
    --logo-width: 180px;
    --logo-height: 60px;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    color: var(--text-color);
    line-height: 1.7;
    background: #fff;
}

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

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* --- Section Defaults --- */
.section-padding {
    padding: 80px 0;
}

.section-bg {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

.section-header .title-line {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
    position: relative;
}

.section-header .title-line::after {
    content: '';
    width: 30px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    right: -35px;
    top: 0;
}

/* --- Top Bar --- */
.top-bar {
    background: var(--secondary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 2px solid var(--primary-color);
}

.top-bar a {
    color: #ccc;
}

.top-bar a:hover {
    color: var(--primary-color);
}

.top-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-info li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-info li i {
    color: var(--primary-color);
}

.top-social {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.top-social li a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
}

.top-social li a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* --- Header --- */
.main-header {
    background: var(--header-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
    padding: 8px 0;
}

.navbar-brand .brand-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 10px 18px !important;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

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

.btn-quote {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 30px !important;
    padding: 8px 25px !important;
    margin-left: 10px;
}

.btn-quote:hover {
    background: var(--secondary-color) !important;
}

.btn-quote::after {
    display: none !important;
}

.header-phone {
    align-items: center;
    gap: 12px;
    margin-left: 25px;
}

.header-phone i {
    font-size: 20px;
    color: var(--primary-color);
}

.header-phone small {
    font-size: 12px;
    color: #999;
    display: block;
}

.header-phone a {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 16px;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 var(--radius) var(--radius);
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
    width: 100%;
}

.hero-slide {
    width: 100%;
    aspect-ratio: 16 / 5;
    min-height: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    position: relative;
}

.hero-slider .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* --- Buttons --- */
.btn-primary-custom {
    background: var(--primary-color);
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    display: inline-block;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary-custom {
    background: transparent;
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    display: inline-block;
    border: 2px solid #fff;
    transition: var(--transition);
}

.btn-secondary-custom:hover {
    background: #fff;
    color: var(--secondary-color);
}

/* --- Category Cards (Homepage) --- */
.category-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 30px 20px;
    position: relative;
    border-bottom: 3px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary-color);
}

.category-card .cat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    transition: var(--transition);
}

.category-card:hover .cat-icon {
    transform: rotateY(180deg);
}

.category-card .cat-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.category-card h5 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.category-card p {
    color: #666;
    font-size: 14px;
}

.category-card .cat-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Service Section --- */
.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card .service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 14px;
}

/* --- About Section --- */
.about-section .about-img {
    position: relative;
}

.about-section .about-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-section .about-img .exp-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--primary-color);
    color: #fff;
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.about-section .about-img .exp-badge h3 {
    font-size: 42px;
    font-weight: 700;
}

.about-section .about-img .exp-badge span {
    font-size: 14px;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-content p {
    color: #666;
    margin-bottom: 15px;
}

.about-features {
    margin-top: 25px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--secondary-color);
}

.about-features li i {
    color: var(--primary-color);
    font-size: 18px;
}

/* --- Products Section --- */
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-card .product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-card .product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-card .product-body {
    padding: 20px;
}

.product-card .product-cat {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-card h5 {
    font-weight: 700;
    color: var(--secondary-color);
    margin: 8px 0;
}

.product-card .product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-card .product-price .old-price {
    font-size: 14px;
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
    font-weight: 400;
}

/* --- Counters / Stats --- */
.counter-section {
    background: var(--secondary-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>') repeat;
    opacity: 0.5;
}

.counter-item {
    text-align: center;
    position: relative;
    z-index: 1;
    color: #fff;
}

.counter-item i {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.counter-item h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.counter-item p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
}

/* --- Blog Section --- */
.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-card .blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.08);
}

.blog-card .blog-body {
    padding: 25px;
}

.blog-card .blog-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.blog-card .blog-meta i {
    color: var(--primary-color);
    margin-right: 4px;
}

.blog-card h5 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.blog-card h5 a {
    color: inherit;
}

.blog-card h5 a:hover {
    color: var(--primary-color);
}

.blog-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-card .read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card .read-more:hover {
    color: var(--secondary-color);
}

/* --- Brands Slider --- */
.brands-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 100px;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.brand-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.brand-item img {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
}

/* --- Partners Page --- */
.partners-section {
    padding: 10px 0 30px;
    background: #f7f9fb;
}

.partners-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.partners-container h2 {
    margin: 0 0 30px;
    font-size: 28px;
    color: #222;
    font-weight: 700;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.partner-logo {
    background: #fff;
    border: 1px solid #e5e8ec;
    border-radius: var(--radius);
    padding: 28px;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

/* --- CTA / Banner --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #c0171d);
    padding: 60px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 60px solid rgba(255, 255, 255, 0.08);
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* --- Page Header (Inner Pages) --- */
.page-header {
    background: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.15), transparent);
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.page-header .breadcrumb {
    justify-content: center;
    position: relative;
    margin-bottom: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.page-header .breadcrumb-item.active {
    color: var(--primary-color);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* --- Gallery --- */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(227, 30, 36, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay i {
    font-size: 30px;
    color: #fff;
}

/* --- Contact Page --- */
.contact-info-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--primary-color);
}

.contact-info-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info-card h5 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
    color: #666;
    font-size: 15px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 12px 18px;
    font-size: 15px;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

/* --- Quote Page --- */
.quote-section {
    background: var(--light-bg);
}

/* --- Sidebar (Blog) --- */
.sidebar .widget {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.sidebar .widget-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar .recent-post {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.sidebar .recent-post img {
    width: 80px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
}

.sidebar .recent-post h6 {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.sidebar .recent-post h6 a {
    color: var(--secondary-color);
}

.sidebar .recent-post h6 a:hover {
    color: var(--primary-color);
}

.sidebar .recent-post small {
    color: #999;
}

/* --- Footer --- */
.footer-locations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    background: var(--secondary-color);
}

.footer-location-card {
    min-height: 375px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-location-card p {
    text-align: center;
}

.footer-location-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.footer-location-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.footer-location-content a,
.footer-location-content p {
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.footer-location-content a {
    display: inline-block;
    font-weight: 600;
}

.footer-location-content p {
    margin: 2px 0 0;
}

.main-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
}

.footer-top {
    padding: 60px 0 30px;
}

.widget-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 12px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--footer-text);
    font-size: 14px;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 4px;
}

.footer-contact li a {
    color: var(--footer-text);
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.footer-gallery a img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    transition: var(--transition);
}

.footer-gallery a:hover img {
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social li a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--footer-text);
    transition: var(--transition);
}

.footer-social li a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--footer-text);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: #fff;
}

.back-to-top.visible {
    display: flex;
}

/* --- Pagination --- */
.pagination .page-link {
    color: var(--secondary-color);
    border-color: var(--border-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* --- Alert Messages --- */
.alert {
    border-radius: var(--radius);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .section-header h2 {
        font-size: 30px;
    }

    .navbar-collapse {
        background: #fff;
        padding: 15px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        margin-top: 10px;
    }

    .top-bar {
        display: none;
    }

    .header-phone {
        display: none !important;
    }

    .btn-quote {
        margin: 10px 0;
        display: block;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }

    .counter-item h3 {
        font-size: 36px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .footer-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-locations {
        grid-template-columns: 1fr;
    }

    .footer-location-card {
        min-height: 200px;
        padding: 20px;
    }

    .footer-location-content a,
    .footer-location-content p {
        font-size: 14px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .partners-container h2 {
        font-size: 24px;
    }

    .partner-logo {
        padding: 22px;
        min-height: 115px;
    }
}

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

@media (max-width: 575.98px) {
    .container>.row {
        margin-left: 0;
        margin-right: 0;
    }

    .about-section .about-img .exp-badge {
        right: 12px;
        bottom: 20px;
    }
}

/* --- Navbar Toggler Custom --- */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 6px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23e31e24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Blog Detail --- */
.blog-detail-content {
    line-height: 1.9;
}

.blog-detail-content h3 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
}

.blog-detail-content p {
    margin-bottom: 15px;
    color: #555;
}

.blog-detail-content img {
    border-radius: var(--radius);
    margin: 15px 0;
}

/* --- Product Detail --- */
.product-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
}

.product-detail-img img {
    width: 100%;
}

.product-detail-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
}

.product-detail-info .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.product-detail-info .sku {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

/* --- Loading Spinner --- */
.spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}