/* Custom CSS untuk AutoTrans RentCar */

/* Root Variables */
:root {
    --primary-color: #f0b632;
    --secondary-color: #f0b632;
    --success-color: #4CAF50;
    --danger-color: #dc3545;
    --warning-color: #FFA500;
    --info-color: #f0b632;
    --light-color: #ffffff;
    --dark-color: #1a1a1a;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Bootstrap Override - Primary Color */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Link Primary Color */
a.text-primary:hover {
    color: var(--secondary-color) !important;
}

/* Heading Hover Effects */
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Icon Hover Effects */
i.text-primary {
    transition: all 0.3s ease;
}

i.text-primary:hover {
    color: var(--secondary-color) !important;
    transform: scale(1.1);
}

/* General Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.container-fluid {
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* Link Styles */
a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Navbar Link Styles */
.navbar a,
.nav-link {
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.navbar a:hover,
.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Footer Link Styles */
footer a {
    color: #aaa;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

/* Navbar Styles */
.navbar-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 35px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 45px;
        width: auto;
        max-width: 150px;
    }
    
    .footer-logo {
        height: 28px;
        width: auto;
        max-width: 100px;
    }
}


/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    padding: 100px 0 60px;
    margin-bottom: 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Search Form */
.search-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.search-form .form-control, 
.search-form .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.search-form .form-control:focus, 
.search-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(240, 182, 50, 0.25);
}

/* Card Styles */
/* Old Car Card - Keep for other pages */
.car-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 2rem;
    width: 100%;
    background: white;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(240, 182, 50, 0.3);
    border: 2px solid var(--primary-color);
}

@media (max-width: 768px) {
    .car-card:hover {
        transform: translateY(-5px);
    }
}

.car-card img {
    height: 220px;
    object-fit: cover;
    object-position: center;
    width: 100%;
    border-radius: 15px 15px 0 0;
    display: block;
}

.car-card-body {
    padding: 1.5rem;
}

.car-brand {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-model {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.car-card:hover .car-model {
    color: var(--primary-color);
}

.car-card:hover .car-brand {
    color: var(--secondary-color);
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.car-spec {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.car-spec i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
}

.price-period {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* New Car Card Design - Homepage */
.car-card-new {
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.car-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(240, 182, 50, 0.25);
}

/* Promo Badge */
.promo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 75, 87, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.promo-label {
    background: linear-gradient(135deg, rgba(240, 182, 50, 0.1), rgba(255, 200, 80, 0.1));
    border: 1px solid #f0b632;
    color: #d9a329;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.75rem;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-original {
    font-size: 0.75rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-discount {
    color: #ff4757 !important;
    font-weight: 800 !important;
}

.car-image-wrapper {
    background: white;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.car-image {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    object-position: center;
}

.car-card-content {
    padding: 1.5rem 1.25rem;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.car-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.35rem;
    text-align: center;
}

.car-year {
    font-size: 0.9rem;
    color: #888;
    text-align: center;
    margin-bottom: 1.25rem;
}

.car-pricing {
    flex: 1;
    margin-bottom: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.price-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-color);
}

.price-value small {
    font-size: 0.75rem;
    font-weight: 400;
    color: #999;
}

.btn-book {
    width: 100%;
    background: linear-gradient(135deg, #f0b632, #ffc850);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.btn-book:hover {
    background: linear-gradient(135deg, #d9a329, #f0b632);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 182, 50, 0.4);
    color: white;
}

/* Car Status Badge */
.car-status-badge {
    text-align: center;
}

.car-status-badge .badge {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Responsive adjustments for new card */
@media (max-width: 1200px) {
    .car-card-new {
        min-height: 540px;
    }
    
    .car-image-wrapper {
        min-height: 200px;
        padding: 1.5rem 1rem;
    }
    
    .car-image {
        max-height: 180px;
    }
}

@media (max-width: 991.98px) {
    .car-card-new {
        min-height: 520px;
    }
    
    .car-image-wrapper {
        min-height: 180px;
        padding: 1.25rem 1rem;
    }
    
    .car-image {
        max-height: 160px;
    }
    
    .car-card-content {
        padding: 1.25rem 1rem;
    }
    
    .car-title {
        font-size: 1.15rem;
        margin-bottom: 0.3rem;
    }
    
    .car-year {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .price-item {
        padding: 0.55rem 0;
        font-size: 0.85rem;
    }
    
    .price-label {
        font-size: 0.85rem;
    }
    
    .price-value {
        font-size: 0.9rem;
    }
    
    .btn-book {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
    }
}

@media (max-width: 768px) {
    .car-card-new {
        margin-bottom: 1.5rem;
        min-height: auto;
    }
    
    .car-image-wrapper {
        min-height: 160px;
        padding: 1rem 0.75rem;
    }
    
    .car-image {
        max-height: 140px;
    }
    
    .car-card-content {
        padding: 1rem 0.85rem;
    }
    
    .car-title {
        font-size: 1.05rem;
    }
    
    .car-year {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .price-item {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }
    
    .price-label {
        font-size: 0.8rem;
    }
    
    .price-value {
        font-size: 0.85rem;
    }
    
    .btn-book {
        font-size: 0.9rem;
        padding: 0.65rem 0.85rem;
    }
    
    .car-status-badge .badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    .promo-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        top: 8px;
        right: 8px;
    }
    
    .promo-label {
        font-size: 0.75rem;
        padding: 5px 10px;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 576px) {
    .car-card-new {
        min-height: auto;
        margin-bottom: 1.25rem;
    }
    
    .car-image-wrapper {
        min-height: 140px;
        padding: 0.75rem 0.5rem;
    }
    
    .car-image {
        max-height: 120px;
    }
    
    .car-card-content {
        padding: 0.85rem 0.75rem;
    }
    
    .car-title {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .car-year {
        font-size: 0.75rem;
        margin-bottom: 0.65rem;
    }
    
    .price-item {
        padding: 0.4rem 0;
        font-size: 0.75rem;
    }
    
    .price-label {
        font-size: 0.75rem;
    }
    
    .price-label i {
        font-size: 0.7rem;
    }
    
    .price-value {
        font-size: 0.8rem;
    }
    
    .price-value small {
        font-size: 0.65rem;
    }
    
    .btn-book {
        font-size: 0.85rem;
        padding: 0.6rem 0.75rem;
    }
    
    .car-status-badge .badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .promo-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
        top: 6px;
        right: 6px;
    }
    
    .promo-label {
        font-size: 0.7rem;
        padding: 4px 8px;
        margin-bottom: 0.5rem;
    }
}

/* Extra small phones */
@media (max-width: 400px) {
    .car-card-new {
        margin-bottom: 1rem;
    }
    
    .car-image-wrapper {
        min-height: 120px;
        padding: 0.5rem;
    }
    
    .car-image {
        max-height: 100px;
    }
    
    .car-card-content {
        padding: 0.75rem 0.65rem;
    }
    
    .car-title {
        font-size: 0.9rem;
    }
    
    .car-year {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .price-item {
        padding: 0.35rem 0;
        font-size: 0.7rem;
    }
    
    .price-label {
        font-size: 0.7rem;
    }
    
    .price-value {
        font-size: 0.75rem;
    }
    
    .btn-book {
        font-size: 0.8rem;
        padding: 0.55rem 0.65rem;
    }
}

@media (max-width: 576px) {
    .car-image-wrapper {
        min-height: 160px;
    }
    
    .car-image {
        max-height: 140px;
    }
    
    .price-item {
        padding: 0.4rem 0;
    }
    
    .price-label {
        font-size: 0.75rem;
    }
    
    .price-value {
        font-size: 0.8rem;
    }
    
    .price-value small {
        font-size: 0.7rem;
    }
}

/* Button Styles */
.btn-custom {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
}

.btn-primary-custom:hover {
    background: linear-gradient(45deg, #d9a329, #f0b632);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 182, 50, 0.4);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.features-section .row {
    margin: 0;
}

.features-section .col-12 {
    padding: 0 15px;
}

.features-section .col-lg-3,
.features-section .col-md-6 {
    padding: 0 15px;
    margin-bottom: 0;
}

.feature-box {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-box p {
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .search-form {
        padding: 1.5rem 1rem;
        margin-top: 1rem;
    }
    
    .search-form h4 {
        font-size: 1.1rem;
    }
    
    .feature-box {
        margin-bottom: 2rem;
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .car-card {
        margin-bottom: 1.5rem;
        overflow: hidden;
    }
    
    .car-card img {
        height: 200px;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .car-specs {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .car-spec {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-custom {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-section {
        min-height: 100vh;
        padding: 100px 0 50px 0;
        background-position: center center;
        background-size: cover;
    }
    
    .hero-content {
        margin-top: 0;
    }
    
    .search-form {
        margin-top: 2rem;
    }
    
    .features-section {
        padding: 3rem 0;
    }
    
    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 100vh;
        padding: 80px 0 40px 0;
        background-position: center center;
        background-size: cover;
    }
    
    .hero-title {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .search-form {
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1.5rem;
    }
    
    .search-form h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-select,
    .form-control {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    
    .feature-box {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-box p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .car-card {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .car-card img {
        height: 180px;
        border-radius: 12px 12px 0 0;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .car-card-body {
        padding: 1rem;
    }
    
    .car-model {
        font-size: 1.1rem;
    }
    
    .price-tag {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .btn-custom {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 1.5rem 0 2rem 0;
    }
    
    .features-section {
        padding: 2.5rem 0;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    /* Fix for mobile overflow */
    .row {
        margin: 0 -0.5rem;
    }
    
    .row > * {
        padding: 0 0.5rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .feature-box {
        padding: 1.2rem 0.8rem;
    }
    
    .search-form {
        padding: 0.8rem;
    }
}

/* Fix for animations on mobile */
@media (max-width: 768px) {
    .fade-in {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-delay-2 {
    animation-delay: 0.4s;
}

.fade-in-delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gallery Section */
#galleryCarousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

#galleryCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

#galleryCarousel .carousel-inner {
    background: #000;
}

#galleryCarousel .carousel-control-prev,
#galleryCarousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(240, 182, 50, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

#galleryCarousel .carousel-control-prev {
    left: 20px;
}

#galleryCarousel .carousel-control-next {
    right: 20px;
}

#galleryCarousel .carousel-control-prev:hover,
#galleryCarousel .carousel-control-next:hover {
    opacity: 1;
    background: rgba(240, 182, 50, 1);
    transform: translateY(-50%) scale(1.1);
}

#galleryCarousel .carousel-control-prev-icon,
#galleryCarousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

#galleryCarousel .carousel-indicators {
    margin-bottom: 0;
    bottom: -40px;
}

#galleryCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.5;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#galleryCarousel .carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.3);
}

.gallery-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    aspect-ratio: 1 / 1;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumbnail img {
    transition: all 0.3s ease;
    object-fit: cover !important;
}

.gallery-thumbnail:hover {
    border-color: #f0b632;
    transform: translateY(-3px);
}

.gallery-thumbnail:hover img {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.gallery-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.gallery-thumbnail:hover::after {
    background: rgba(240, 182, 50, 0.2);
}

/* Gallery Carousel Caption */
#galleryCarousel .carousel-caption {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 80%;
}

#galleryCarousel .carousel-caption h5 {
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    #galleryCarousel {
        max-width: 100%;
    }
    
    #galleryCarousel .carousel-inner {
        border-radius: 10px !important;
    }
    
    #galleryCarousel .carousel-control-prev,
    #galleryCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #galleryCarousel .carousel-control-prev {
        left: 10px;
    }
    
    #galleryCarousel .carousel-control-next {
        right: 10px;
    }
    
    #galleryCarousel .carousel-caption h5 {
        font-size: 1rem;
    }
    
    .gallery-thumbnail {
        border-radius: 6px;
    }
}

@media (max-width: 576px) {
    .gallery-thumbnail {
        border-radius: 5px;
    }
}

/* ================================
   Video Section Styles
   ================================ */

/* Video Carousel (like Gallery) */
#videoCarousel {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

#videoCarousel .carousel-inner {
    background: #000;
    min-height: 400px;
}

#videoCarousel .carousel-item {
    padding: 0;
    margin: 0;
}

/* Portrait Video (9:16 - Vertical like TikTok) */
.video-slide-container.portrait {
    min-height: 600px;
}

.video-slide-container.portrait .video-wrapper {
    max-width: 500px !important;
    margin: 0 auto;
}

/* Landscape Video (16:9 - Horizontal) */
.video-slide-container.landscape {
    min-height: 400px;
}

.video-slide-container.landscape .video-wrapper {
    max-width: 100% !important;
}

/* Responsive Portrait Videos */
@media (max-width: 768px) {
    .video-slide-container.portrait {
        min-height: 500px;
    }
    
    .video-slide-container.portrait .video-wrapper {
        max-width: 90% !important;
    }
}

@media (max-width: 576px) {
    .video-slide-container.portrait {
        min-height: 400px;
    }
    
    .video-slide-container.portrait .video-wrapper {
        max-width: 95% !important;
    }
    
    .video-slide-container.landscape {
        min-height: 300px;
    }
}

#videoCarousel .carousel-control-prev,
#videoCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(240, 182, 50, 0.8);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#videoCarousel .carousel-control-prev {
    left: 20px;
}

#videoCarousel .carousel-control-next {
    right: 20px;
}

#videoCarousel .carousel-control-prev:hover,
#videoCarousel .carousel-control-next:hover {
    opacity: 1;
    background: rgba(240, 182, 50, 1);
}

#videoCarousel .carousel-caption {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 80%;
}

#videoCarousel .carousel-caption h5 {
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

/* Video Thumbnails */
.video-thumbnail {
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-thumbnail:hover {
    transform: translateY(-5px);
}

.video-thumbnail img {
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.1);
}

.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover::after {
    opacity: 1;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

/* Video Carousel - Remove all borders and rounded corners */
#videoCarousel video,
#videoCarousel iframe {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

/* Custom Video Controls Styling */
video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

video::-webkit-media-controls-play-button,
video::-webkit-media-controls-volume-slider {
    filter: brightness(1.2);
}

/* Disable right-click on video to prevent download */
video {
    pointer-events: auto;
    border: none;
    outline: none;
}

video::-internal-media-controls-download-button {
    display: none;
}

video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

video::-webkit-media-controls-panel {
    width: calc(100% + 30px);
}

/* Video Card Hover Effect */
.hover-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

/* Video Play Icon */
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.hover-card:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Responsive Video */
@media (max-width: 768px) {
    .video-container {
        border-radius: 8px;
    }
    
    .video-play-icon {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .video-container {
        border-radius: 6px;
    }
    
    .video-play-icon {
        font-size: 2.5rem;
    }
}

