/* TEU Forklift - Main Styles (Bootstrap 5) */

:root {
    --primary-color: #f8b81d;
    --secondary-color: #111f29;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --red-color: #dc3545;
}

/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.section-padding {
    padding: 60px 0;
}

/* Top Header */
.top-header {
    background-color: var(--secondary-color);
    padding: 10px 0;
    color: #fff;
}

.top-header a {
    color: #ccc;
    font-size: 14px;
    margin-right: 20px;
}

.top-header a:hover {
    color: var(--primary-color);
}

.top-header .social-icons a {
    margin-left: 15px;
    margin-right: 0;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 60px;
}

.navbar-nav .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    text-transform: uppercase;
    font-size: 14px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.navbar .dropdown-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Slider / Carousel */
.hero-slider {
    position: relative;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-slider .carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title h4 {
    color: #666;
    font-weight: 400;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-section .subtitle h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-section p {
    text-align: justify;
    margin-bottom: 20px;
}

/* Button Styles */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 5px;
    text-transform: uppercase;
}

.btn-primary-custom:hover {
    background-color: #e0a00f;
    border-color: #e0a00f;
    color: var(--secondary-color);
}

/* Product Cards */
.product-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 20px;
    text-align: center;
}

.product-card .card-body a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
}

.product-card .card-body a:hover {
    color: var(--primary-color);
}

/* Gallery */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(rgba(17, 31, 41, 0.9), rgba(17, 31, 41, 0.9)), url('/images/achievments_bg.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.gallery-section .section-title h2 {
    color: #fff;
}

.gallery-section .section-title h2::after {
    background-color: var(--primary-color);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 184, 29, 0.8);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: #fff;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card .card-body {
    padding: 20px;
}

.news-card .card-body h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.news-card .card-body p {
    color: #666;
    font-size: 14px;
}

/* Video Section */
.video-section {
    margin: 40px 0;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 60px 0 0;
}

.footer h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer p {
    color: #ccc;
    line-height: 1.8;
}

.footer a {
    color: #ccc;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer .social-icons a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.footer .contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer .contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-form .form-control {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact-form textarea.form-control {
    min-height: 150px;
}

.contact-info-box {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-info-box h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Branch Section */
.branch-section {
    background-color: var(--secondary-color);
    padding: 60px 0;
}

.branch-section h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
}

.branch-card {
    margin-bottom: 30px;
}

.branch-card h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.branch-card p {
    color: #fff;
    margin-bottom: 5px;
}

.branch-card a img {
    width: 24px;
    margin-left: 10px;
}

/* Table Styles */
.spec-table {
    margin-bottom: 40px;
}

.spec-table .table {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.spec-table .table thead {
    background-color: var(--secondary-color);
    color: #fff;
}

.spec-table .table thead th {
    font-weight: 600;
    padding: 15px;
    border: none;
}

.spec-table .table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
}

.spec-table .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(248, 184, 29, 0.1);
}

/* Dealer Page */
.dealer-section {
    padding: 60px 0;
}

.dealer-search {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.dealer-search h4 {
    margin-bottom: 20px;
}

.dealer-table .table thead {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Social Cards */
.social-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.social-card .card-body {
    padding: 20px;
    text-align: center;
}

.social-card .card-body h6 {
    color: #666;
    font-size: 13px;
}

/* Banner Background */
.page-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 31, 41, 0.7);
}

.page-banner h1 {
    color: #fff;
    position: relative;
    z-index: 1;
    font-size: 42px;
    text-transform: uppercase;
}

/* Product Image Section */
.product-banner {
    margin-top: 20px;
    margin-bottom: 40px;
}

.product-banner img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Call to Action */
.cta-section {
    background-color: var(--primary-color);
    padding: 40px 0;
    text-align: center;
}

.cta-section h3 {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Map */
.map-container {
    margin-bottom: 40px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        margin-top: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .hero-slider .carousel-item img {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .section-title h2 {
        font-size: 28px;
    }

    .hero-slider .carousel-item img {
        height: 250px;
    }

    .gallery-item img {
        height: 150px;
    }
}

/* Spacing */
.aralik {
    height: 30px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* Text Colors */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-red {
    color: var(--red-color) !important;
}

/* Background */
.bg-dark-custom {
    background-color: var(--secondary-color) !important;
}
