/* =============================================================================
   FOTON SERBIA - CUSTOM CSS (Bootstrap alapú)
   ============================================================================= */

/* ----- CSS Variables ----- */
:root {
    --foton-navy: #041954;
    --foton-blue: #042E6A;
    --foton-orange: #f9a12a;
    --foton-orange-dark: #d87c00;
    --foton-white: #ffffff;
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease;
}

/* ----- Global Styles ----- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo', Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    background: var(--foton-white);
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h1 {
    font-size: clamp(1.4375rem, 1.0893rem + 1.7411vw, 3.875rem) !important;
}

p {
    font-size: 16px;
    line-height: 28px;
}

/* =============================================================================
   NAVBAR STYLES
   ============================================================================= */

.navbar-foton {
    background-color: var(--foton-navy);
    height: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Nav items fill full navbar height for better hover area on desktop */
@media (min-width: 992px) {
    .navbar-foton .navbar-nav {
        height: 80px;
    }

    .navbar-foton .nav-item {
        display: flex;
        align-items: stretch;
    }

    .navbar-foton .nav-item .nav-link {
        display: flex;
        align-items: center;
        padding: 0 1.25rem !important;
    }
}

.navbar-foton .navbar-brand img {
    height: 50px;
}

.navbar-foton .nav-link {
    color: var(--foton-white) !important;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-normal);
}

/* Underline effect - only for non-dropdown links */
.navbar-foton .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--foton-white);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-foton .nav-link:not(.dropdown-toggle):hover::after,
.navbar-foton .nav-link:not(.dropdown-toggle).active::after {
    width: 80%;
}

.navbar-foton .nav-link:hover {
    transform: scale(1.05);
}

/* Dropdown Arrow Styling */
.navbar-foton .nav-link.dropdown-toggle::after {
    content: '';
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 5px solid var(--foton-white);
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease;
    position: static;
    width: 0;
    height: 0;
    background: none;
}

.navbar-foton .nav-item.dropdown:hover .nav-link.dropdown-toggle::after,
.navbar-foton .nav-item.dropdown.show .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Active state for dropdown toggle when child is active */
.navbar-foton .nav-link.dropdown-toggle.active {
    color: var(--foton-orange) !important;
}

.navbar-foton .nav-item.dropdown.active .nav-link.dropdown-toggle::after {
    border-top-color: var(--foton-orange);
}


/* Vehicles Dropdown Menu */
.navbar-foton .dropdown-menu {
    background-color: var(--foton-navy);
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    min-width: 200px;
}

/* Mega Menu Styles */
.navbar-foton .dropdown-mega {
    position: static;
}


/* Dropdown display controlled by JavaScript .show class on desktop */
@media (min-width: 992px) {
    .navbar-foton .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        pointer-events: none;
    }

    .navbar-foton .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.navbar-foton .dropdown-menu-mega {
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    transform: none;
    padding: 30px 0;
    border-radius: 0;
    margin-top: 0;
    border-top: 3px solid var(--foton-white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    top: 80px;
    position: fixed;
}

/* Bridge gap between nav item and dropdown - small gap cover for smooth mouse transition */
@media (min-width: 992px) {
    .navbar-foton .dropdown-menu-mega::before {
        content: '';
        position: absolute;
        top: -3px;
        left: 0;
        right: 0;
        height: 3px;
        background: transparent;
    }
}

.navbar-foton .dropdown-menu-mega .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.navbar-foton .dropdown-menu-mega .row {
    margin: 0;
    justify-content: center;
}

.navbar-foton .mega-col {
    padding: 10px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-foton .mega-col:last-child {
    border-right: none;
}

.navbar-foton .mega-title {
    color: var(--foton-orange);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--foton-orange);
}

.navbar-foton .mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-foton .mega-links li {
    margin-bottom: 8px;
}

.navbar-foton .mega-links a {
    color: var(--foton-white);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 5px 0;
    transition: var(--transition-normal);
}

.navbar-foton .mega-links a:hover {
    color: var(--foton-orange);
    padding-left: 8px;
}

/* Regular dropdown styles */
.navbar-foton .dropdown-menu-vehicles {
    min-width: 220px;
}

/* Sima dropdown pozicionálás - nem mega menu */
@media (min-width: 992px) {
    .navbar-foton .nav-item.dropdown:not(.dropdown-mega) .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        min-width: 220px;
        border-top: 3px solid var(--foton-orange);
    }

    /* Bridge gap for smooth mouse transition */
    .navbar-foton .nav-item.dropdown:not(.dropdown-mega) .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
        background: transparent;
    }
}

.navbar-foton .dropdown-header {
    color: var(--foton-orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px 5px;
}

.navbar-foton .dropdown-item {
    color: var(--foton-white);
    padding: 10px 20px;
    font-size: 14px;
    transition: var(--transition-normal);
    border-left: 3px solid transparent;
}

.navbar-foton .dropdown-item:hover,
.navbar-foton .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--foton-orange);
    padding-left: 25px;
    border-left-color: var(--foton-orange);
}

.navbar-foton .dropdown-item.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--foton-orange);
    border-left-color: var(--foton-orange);
}

.navbar-foton .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 8px 15px;
}

/* Mobile mega menu */
@media (max-width: 991.98px) {
    /* Reset desktop hover behavior for mobile - enable Bootstrap's click-based dropdown */
    .navbar-foton .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        position: static !important;
        transform: none !important;
        width: 100%;
        float: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0 0 0 15px;
        background-color: rgba(255, 255, 255, 0.05);
        pointer-events: auto;
    }

    .navbar-foton .dropdown-menu.show {
        display: block !important;
    }

    /* Mega menu mobile adjustments */
    .navbar-foton .dropdown-menu-mega {
        position: static !important;
        transform: none !important;
        width: 100%;
        max-width: 100%;
        padding: 15px;
        border-radius: 0;
        margin-top: 0;
        top: auto;
        border-top: none;
        background-color: rgba(255, 255, 255, 0.05);
    }

    .navbar-foton .dropdown-menu-mega::before {
        display: none;
    }

    .navbar-foton .mega-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 10px;
    }

    .navbar-foton .mega-col:last-child {
        border-bottom: none;
    }

    /* Mega menu links in mobile */
    .navbar-foton .mega-links a {
        text-align: center;
        padding: 8px 0;
    }

    .navbar-foton .mega-title {
        text-align: center;
    }

    /* Standard dropdown styling for mobile */
    .navbar-foton .dropdown-item {
        padding: 10px 15px;
        text-align: center;
        border-left: none;
    }

    .navbar-foton .dropdown-item:hover,
    .navbar-foton .dropdown-item:focus,
    .navbar-foton .dropdown-item.active {
        padding-left: 15px;
        border-left: none;
    }

    /* Dropdown toggle arrow - align right */
    .navbar-foton .nav-link.dropdown-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .navbar-foton .nav-link.dropdown-toggle::after {
        position: relative;
        margin-left: 8px;
        margin-top: 0;
        float: none;
    }

    /* Active state for open dropdown */
    .navbar-foton .nav-item.dropdown.show > .nav-link.dropdown-toggle {
        color: var(--foton-orange) !important;
    }
}

/* Navbar Buttons */
.btn-foton-orange {
    background-color: var(--foton-orange);
    color: var(--foton-white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    padding: 8px 20px;
    transition: var(--transition-normal);
}

.btn-foton-orange:hover {
    background-color: var(--foton-orange-dark);
    color: var(--foton-white);
}

.btn-foton-white {
    background-color: var(--foton-white);
    color: var(--foton-navy);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    padding: 8px 20px;
    transition: var(--transition-normal);
}

.btn-foton-white:hover {
    background-color: var(--foton-orange);
    color: var(--foton-white);
}

/* Mobile Navbar Toggle */
.navbar-foton .navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-foton .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-foton .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='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Bottom Fixed Button */
.mobile-fixed-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--foton-navy);
    padding: 15px;
    z-index: 1050;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(4, 25, 84, 0.5));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--foton-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 5.5rem) !important;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.5rem);
}

/* =============================================================================
   CARD STYLES
   ============================================================================= */

/* Vehicle Card Wrapper - Original Serbia Design */
a.vehicle-card-wrapper,
.vehicle-card-wrapper {
    display: block;
    height: 350px !important;
    min-height: 350px !important;
    max-height: 350px !important;
    background-color: #f2f2f2;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.25) 6px 6px 5px 0px;
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.vehicle-card-wrapper:hover,
.vehicle-card-wrapper:hover {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
    box-shadow: rgba(0, 0, 0, 0.45) 12px 12px 25px 0px;
}

a.vehicle-card-wrapper .vehicle-card-img,
.vehicle-card-wrapper .vehicle-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    -webkit-transition: transform 0.4s ease;
    transition: transform 0.4s ease;
}

a.vehicle-card-wrapper:hover .vehicle-card-img,
.vehicle-card-wrapper:hover .vehicle-card-img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

a.vehicle-card-wrapper .vehicle-card-overlay,
.vehicle-card-wrapper .vehicle-card-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
    -webkit-transition: background 0.4s ease;
    transition: background 0.4s ease;
}

a.vehicle-card-wrapper:hover .vehicle-card-overlay,
.vehicle-card-wrapper:hover .vehicle-card-overlay {
    background: linear-gradient(180deg, rgba(4, 46, 106, 0.85) 0%, rgba(4, 46, 106, 0.4) 40%, rgba(249, 161, 42, 0.3) 60%, rgba(4, 46, 106, 0.85) 100%);
}

a.vehicle-card-wrapper .vehicle-card-title,
.vehicle-card-wrapper .vehicle-card-title {
    font-size: 1.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

a.vehicle-card-wrapper:hover .vehicle-card-title,
.vehicle-card-wrapper:hover .vehicle-card-title {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

a.vehicle-card-wrapper .vehicle-card-tagline,
.vehicle-card-wrapper .vehicle-card-tagline {
    font-size: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    -webkit-transition: transform 0.3s ease, color 0.3s ease;
    transition: transform 0.3s ease, color 0.3s ease;
}

a.vehicle-card-wrapper:hover .vehicle-card-tagline,
.vehicle-card-wrapper:hover .vehicle-card-tagline {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    color: var(--foton-orange) !important;
}

/* Responsive heights for vehicle cards */
@media (max-width: 767.98px) {
    a.vehicle-card-wrapper,
    .vehicle-card-wrapper {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }
    a.vehicle-card-wrapper .vehicle-card-title,
    .vehicle-card-wrapper .vehicle-card-title {
        font-size: 1.5rem;
    }
}

/* Generic Card Styles */
.card-foton {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-foton:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

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

.card-foton .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    opacity: 0.85;
    transition: var(--transition-normal);
}

.card-foton:hover .card-overlay {
    background: linear-gradient(to top, rgba(4, 46, 106, 0.9) 0%, transparent 60%);
}

.card-foton .card-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--foton-white);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    transition: transform 0.3s ease;
}

.card-foton:hover .card-title {
    transform: scale(1.1);
}

/* Vehicle Category Cards Grid */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.vehicle-card {
    height: 350px;
}

/* =============================================================================
   SECTION STYLES
   ============================================================================= */

.section-title {
    font-size: clamp(1.75rem, 3vw, 3rem);
    color: var(--foton-navy);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--foton-orange);
    margin-top: 15px;
}

.section-title-center::after {
    margin-left: auto;
    margin-right: auto;
}

/* =============================================================================
   NEWS CARD STYLES
   ============================================================================= */

.news-card {
    background: var(--foton-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.news-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    color: var(--foton-navy);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-link {
    color: var(--foton-navy);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    margin-top: auto;
}

.news-card:hover .news-card-link {
    color: var(--foton-orange);
}

.news-card-link i {
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-link i {
    transform: translateX(5px);
}

.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--foton-orange);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.news-placeholder {
    background: linear-gradient(135deg, var(--foton-navy) 0%, #0a3070 100%);
}

/* Responsive news cards */
@media (max-width: 767.98px) {
    .news-card-image {
        height: 180px;
    }

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

    .news-card-title {
        font-size: 1.05rem;
    }
}

/* About Section */
.about-section {
    background-color: var(--foton-navy);
    color: var(--foton-white);
}

.about-section .section-title {
    color: var(--foton-white);
}

.about-section .section-title::after {
    background-color: var(--foton-orange);
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--foton-orange);
    font-weight: bold;
}

/* =============================================================================
   HIGHLIGHTS SECTION
   ============================================================================= */

.highlight-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

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

.highlight-card:hover img {
    transform: scale(1.05);
}

.highlight-card .highlight-title {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(81, 81, 81, 0.8);
    color: var(--foton-white);
    padding: 8px 20px;
    border-bottom-right-radius: 10px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.highlight-card:hover .highlight-title {
    background-color: var(--foton-navy);
    padding-right: 30px;
}

.highlight-featured {
    height: calc(100vh - 150px);
    min-height: 400px;
}

.highlight-sidebar {
    height: calc(100vh - 150px);
    min-height: 400px;
}

.highlight-sidebar .highlight-card {
    height: calc(50% - 10px);
}

/* =============================================================================
   FOOTER STYLES
   ============================================================================= */

.footer-foton {
    background-color: var(--foton-navy);
    color: var(--foton-white);
    padding-top: 60px;
}

.footer-logo img {
    height: 60px;
}

.footer-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px;
}

.footer-foton h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--foton-white);
    text-decoration: none;
    position: relative;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--foton-orange);
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--foton-white);
    transition: var(--transition-normal);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Social Icons */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    color: var(--foton-white);
    transition: var(--transition-normal);
}

.social-icons a:hover {
    color: var(--foton-orange);
    transform: scale(1.2);
}

.social-icons svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.footer-legal-links {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-normal);
}

.footer-legal-links a:hover {
    color: var(--foton-white);
    text-decoration: underline;
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.5);
}

/* Back to Top Button */
.btn-back-to-top {
    border: 1px solid var(--foton-white);
    color: var(--foton-white);
    background: transparent;
    padding: 10px 25px;
    transition: var(--transition-normal);
}

.btn-back-to-top:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--foton-white);
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

.bg-foton-navy {
    background-color: var(--foton-navy) !important;
}

.bg-foton-blue {
    background-color: var(--foton-blue) !important;
}

.bg-foton-orange {
    background-color: var(--foton-orange) !important;
}

.text-foton-navy {
    color: var(--foton-navy) !important;
}

.text-foton-orange {
    color: var(--foton-orange) !important;
}

/* Additional button styles for vehicle pages */
.btn-foton-navy {
    background-color: var(--foton-navy);
    color: var(--foton-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-foton-navy:hover {
    background-color: var(--foton-blue);
    color: var(--foton-white);
    transform: translateY(-2px);
}

.btn-outline-foton-navy {
    background-color: transparent;
    color: var(--foton-navy);
    border: 2px solid var(--foton-navy);
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-outline-foton-navy:hover {
    background-color: var(--foton-navy);
    color: var(--foton-white);
}

/* Line Clamp */
.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* =============================================================================
   RESPONSIVE STYLES
   ============================================================================= */

/* Large screens */
@media (min-width: 992px) {
    .mobile-fixed-btn {
        display: none;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .navbar-foton {
        height: auto;
        min-height: 70px;
    }

    .navbar-foton .navbar-collapse {
        background-color: var(--foton-navy);
        padding: 15px;
        margin-top: 10px;
        border-radius: 8px;
    }

    .navbar-foton .nav-link {
        padding: 10px 0 !important;
        text-align: center;
    }

    .navbar-foton .nav-link::after {
        display: none;
    }

    .hero-section {
        height: 80vh;
        min-height: 500px;
    }

    .highlight-featured,
    .highlight-sidebar {
        height: auto;
        min-height: auto;
    }

    .highlight-featured {
        margin-bottom: 20px;
    }

    .highlight-sidebar .highlight-card {
        height: 250px;
        margin-bottom: 20px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .hero-section {
        height: 70vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem !important;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .vehicle-card {
        height: 250px;
    }

    .footer-foton {
        padding-bottom: 100px; /* Space for mobile fixed button */
    }

    .highlight-featured {
        height: 300px;
    }

    .highlight-sidebar .highlight-card {
        height: 200px;
    }
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.75rem !important;
    }

    .btn-foton-orange,
    .btn-foton-white {
        font-size: 14px;
        padding: 8px 15px;
    }
}

