/* ============================================
   Custom styles for Lombok Marlin Transport website
   ============================================ */

/* ============================================
   CSS Variables & Global Styles
   ============================================ */
:root {
    --primary-color: #E6A800;
    --secondary-color: #6B4E0F;
    --accent-color: #FFD54F;
    --light-color: #FFF9E6;
    --dark-color: #2C2416;
    --light-yellow: #FFF8E1;
    --light-yellow-hover: #FFECB3;
    --light-blue: #FFF8E1;
    --light-blue-hover: #FFECB3;
    --border-radius: 8px;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    
    /* Header & Navigation Variables */
    --navbar-bg: #ffffff;
    --navbar-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --navbar-shadow-scrolled: 0 4px 30px rgba(230, 168, 0, 0.15);
    --nav-link-color: #212529;
    --nav-link-hover-bg: rgba(230, 168, 0, 0.08);
    --nav-link-active-color: #E6A800;
    --search-input-bg: #f8f9fa;
    --search-input-focus-bg: #ffffff;
    --search-btn-gradient: linear-gradient(135deg, #E6A800 0%, #6B4E0F 100%);
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

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

/* Utility Classes */
.bg-primary {
    background-color: var(--primary-color) !important;
}

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

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

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

/* Animation classes */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeIn {
    animation-name: fadeIn;
}

.fadeInUp {
    animation-name: fadeInUp;
}

/* Hover effects */
.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.pulse-once:hover {
    animation: pulse 1s 1;
}

/* Background colors */
.bg-light-blue {
    background-color: var(--light-yellow);
}

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

/* Section styling */
section {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 15px auto;
}

/* Search form animation */
.search-form-animated .form-control,
.search-form-animated .form-select {
    transition: all 0.3s ease;
}

.search-form-animated .form-control:focus,
.search-form-animated .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(230, 168, 0, 0.25);
    transform: translateY(-2px);
}

/* Samakan tinggi semua elemen form pencarian */
.search-form-animated .input-group {
    height: auto;
}

.search-form-animated .input-group-text,
.search-form-animated .form-control,
.search-form-animated .form-select {
    padding: 10px 12px;
    height: auto;
    min-height: 38px;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.search-form-animated .input-group-text {
    padding: 10px 12px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form-animated .input-group-text i {
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form-animated .btn {
    padding: 10px 20px;
    height: auto;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-section {
    background-color: #fff;
}

.whatsapp-banner {
    background-color: #e8f8f5;
    border-left: 4px solid #25d366;
    transition: all 0.3s ease;
}

.whatsapp-banner:hover {
    background-color: #d4f4ea;
}

/* Card improvements */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

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

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.card:hover .card-overlay {
    bottom: 0;
    opacity: 1;
}

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

.card-title {
    font-weight: 600;
    margin-top: 10px;
    color: var(--primary-color);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 1.5rem;
}

/* Featured vehicles section */
.featured-section {
    position: relative;
}

.vehicle-card .price {
    font-size: 0.9rem;
}

.vehicle-card .price h5 {
    font-size: 1.2rem;
    margin-top: 5px;
}

.vehicle-card .btn-outline-primary {
    border-width: 2px;
}

/* Feature boxes in Why Choose Us section */
.feature-box {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    margin-bottom: 20px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.feature-box:hover .icon-circle {
    background-color: var(--primary-color);
    color: white !important;
}

/* Testimonial section */
.testimonial-card {
    position: relative;
    padding: 25px 20px;
}

.testimonial-quote {
    position: absolute;
    top: 15px;
    right: 15px;
}

.testimonial-card .card-body {
    padding-top: 2rem;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating .fa-star.text-warning {
    color: var(--accent-color) !important;
}

.testimonial-avatar img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 3px solid var(--light-blue);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Blog Section Styles
   ============================================ */

/* Blog Cards */
.blog-card {
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.blog-card .card-img-top {
    height: 200px;
    transition: transform 0.3s ease;
}

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

.blog-card .card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.blog-card .card-title a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

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

.blog-card .card-text {
    color: #6c757d;
    line-height: 1.6;
}

/* Blog Meta */
.blog-meta {
    font-size: 0.9rem;
}

.blog-meta .badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
}

.blog-meta .text-muted {
    font-size: 0.875rem;
}

/* Blog Sidebar */
.blog-sidebar .card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.blog-sidebar .card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.blog-sidebar .card-header {
    font-weight: 600;
    font-size: 1rem;
    border-bottom: none;
}

.blog-sidebar .list-group-item {
    border-left: none;
    border-right: none;
    padding: 0.75rem 0;
    transition: var(--transition);
}

.blog-sidebar .list-group-item:hover {
    background-color: var(--light-blue);
    padding-left: 0.5rem;
}

.blog-sidebar .list-group-item:last-child {
    border-bottom: none;
}

.blog-sidebar .list-group-item-action h6 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.blog-sidebar .list-group-item-action small {
    font-size: 0.8rem;
}

/* Blog Detail */
.blog-detail {
    background: #fff;
}

.blog-header {
    margin-bottom: 2rem;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.blog-meta {
    font-size: 0.9rem;
    gap: 1rem;
}

.blog-meta .badge {
    font-weight: 500;
    padding: 0.5em 1em;
    font-size: 0.875rem;
}

.blog-meta .text-muted {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.blog-featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.blog-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-featured-image:hover img {
    transform: scale(1.02);
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #495057;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.blog-content h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 0.5rem;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.75rem;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.blog-footer-actions {
    padding-top: 1rem;
}

.blog-tags .btn {
    margin-bottom: 0.5rem;
    transition: var(--transition);
    border-width: 1.5px;
}

.blog-tags .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.blog-share .btn {
    transition: var(--transition);
    font-weight: 500;
}

.blog-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Blog Comments */
.blog-comments {
    margin-top: 3rem;
}

.blog-comments h4 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.blog-comment-card {
    transition: var(--transition);
    background: #f8f9fa;
    border-left: 3px solid var(--primary-color) !important;
}

.blog-comment-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.blog-comment-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff !important;
}

.blog-comment-avatar i {
    color: #fff !important;
}

.blog-comment-form {
    margin-top: 3rem;
}

.blog-comment-form h4 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.blog-comment-form .form-control {
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    transition: var(--transition);
}

.blog-comment-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 168, 0, 0.15);
}

.comments-list .card {
    transition: var(--transition);
}

.comments-list .card:hover {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

/* Blog Related Posts */
.blog-related {
    margin-top: 3rem;
}

.blog-related h4 {
    font-size: 1.75rem;
    color: var(--dark-color);
    font-weight: 700;
}

.blog-related-card {
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.blog-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.blog-related-image {
    transition: transform 0.4s ease;
}

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

.blog-related .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-related .card-title a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

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

.blog-related .card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d;
}

.blog-related .btn-outline-primary {
    transition: var(--transition);
    font-weight: 500;
}

.blog-related .btn-outline-primary:hover {
    transform: translateX(3px);
}

/* Blog Author Card */
.blog-author-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid var(--primary-color) !important;
}

.blog-author-avatar {
    border: 3px solid var(--primary-color);
    transition: var(--transition);
}

.blog-author-card:hover .blog-author-avatar {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(230, 168, 0, 0.3);
}

.blog-author-card h5 {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.blog-author-card h6 {
    font-size: 1rem;
}

.blog-author-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

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

.breadcrumb-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    padding: 0 0.5rem;
}

/* Blog Date */
.blog-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    text-align: center;
    border-radius: 5px;
    z-index: 1;
}

.blog-date .day {
    font-size: 20px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.blog-date .month {
    font-size: 14px;
    display: block;
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-lg {
    padding: 12px 25px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    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);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* ============================================
   Navigation & Header Styles
   ============================================ */
/* ============================================
   Top Bar - Mobile First
   ============================================ */
.top-bar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4A3A0A 100%);
    color: #fff;
    padding: 5px 0;
    font-size: 11px;
    transition: var(--transition-smooth);
}

/* Top Bar Wrapper - Mobile First (Single horizontal line) */
.top-bar-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 2px 0;
}

/* Contact Info - Mobile First (horizontal, phone only; email hidden via d-none d-md-inline-flex) */
.top-bar-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    width: auto;
    flex-shrink: 0;
}

.top-bar-contact .contact-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
}

.top-bar-contact .contact-item i {
    transition: var(--transition-fast);
    margin-right: 4px;
    font-size: 10px;
}

.top-bar-contact .contact-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.top-bar-contact .contact-item:hover i {
    color: var(--accent-color);
    transform: scale(1.15);
}

/* Social Icons Wrapper - Mobile First (single line) */
.top-bar-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    flex-shrink: 0;
    gap: 4px;
}

.top-bar-social .language-switcher {
    margin-right: 6px;
    font-size: 10px;
}

.top-bar-social .language-switcher a {
    white-space: nowrap;
}

/* Top bar social icons - smaller on mobile for single line */
.top-bar .social-icons {
    gap: 4px;
}

.top-bar .social-icons a {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
}

.top-bar .social-icons a i {
    font-size: 0.75rem;
}

.top-bar a {
    color: #fff;
    transition: var(--transition-fast);
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Tablet Styles (576px and up) */
@media (min-width: 576px) {
    .top-bar {
        padding: 8px 0;
        font-size: 13px;
    }
    
    .top-bar-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    
    .top-bar-contact {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: auto;
    }
    
    .top-bar-contact .contact-item {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .top-bar-contact .contact-item i {
        font-size: 12px;
    }
    
    .top-bar-social {
        width: auto;
    }
    
    .social-icons {
        gap: 8px;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .social-icons a i {
        font-size: 0.95rem;
    }
    
    .top-bar .social-icons a {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .top-bar .social-icons a i {
        font-size: 0.95rem;
    }
}

/* Desktop Styles (992px and up) */
@media (min-width: 992px) {
    .top-bar {
        padding: 10px 0;
        font-size: 14px;
    }
    
    .top-bar-wrapper {
        gap: 0;
    }
    
    .top-bar-contact {
        gap: 16px;
    }
    
    .top-bar-contact .contact-item {
        font-size: 14px;
        padding: 4px 8px;
    }
    
    .top-bar-contact .contact-item i {
        font-size: 14px;
        margin-right: 8px;
    }
    
    .top-bar-contact .contact-item:hover {
        transform: translateX(3px);
    }
    
    .social-icons {
        gap: 8px;
    }
    
    .social-icons a {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }
    
    .social-icons a:hover {
        transform: translateY(-5px) scale(1.1) rotate(5deg);
    }
    
    .social-icons a i {
        font-size: 1rem;
    }
}

.navbar {
    background-color: var(--navbar-bg);
    box-shadow: var(--navbar-shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.7s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

/* Navbar scroll effect - background kuning, teks putih, transisi jelas */
.navbar.scrolled {
    box-shadow: var(--navbar-shadow-scrolled);
    padding: 10px 0;
    background-color: var(--primary-color) !important;
}

.navbar.scrolled .navbar-brand {
    font-size: 1.4rem;
    color: #ffffff !important;
    transition: color 0.4s ease;
}

.navbar.scrolled .navbar-brand:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar.scrolled .nav-link {
    color: #ffffff;
    transition: color 0.4s ease;
}

.navbar.scrolled .nav-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.navbar.scrolled .nav-link i {
    color: #ffffff;
    transition: color 0.4s ease;
}

.navbar.scrolled .nav-link:hover i {
    color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .nav-item.active .nav-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .nav-item.active .nav-link i {
    color: #ffffff;
}

/* Toggler & search form saat scrolled */
.navbar.scrolled .navbar-toggler {
    border-color: #ffffff;
}

.navbar.scrolled .navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.15);
}

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

.navbar.scrolled .navbar-toggler:hover .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(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .search-form .form-control {
    background-color: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
}

.navbar.scrolled .search-form .form-control::placeholder {
    color: #666;
}

.navbar.scrolled .search-form .form-control:focus {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--dark-color);
}

.navbar.scrolled .search-form .btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
}

.navbar.scrolled .search-form .btn:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    color: #ffffff;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px) scale(1.02);
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-smooth);
    border-radius: 2px;
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-brand img {
    height: 40px;
    transition: var(--transition-smooth);
}

.navbar-brand:hover img {
    transform: scale(1.05) rotate(2deg);
}

.navbar .nav-link {
    color: var(--nav-link-color);
    font-weight: 500;
    padding: 0.6rem 0.95rem;
    position: relative;
    transition: var(--transition-smooth);
    border-radius: 8px;
    margin: 0 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
}

.navbar .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--nav-link-hover-bg);
    transition: width var(--transition-smooth);
    z-index: -1;
    border-radius: 8px;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px 3px 0 0;
    transition: width var(--transition-smooth);
}

.navbar .nav-link:hover {
    color: var(--nav-link-active-color);
    transform: translateY(-2px);
}

.navbar .nav-link:hover::before {
    width: 100%;
}

.navbar .nav-link:hover::after {
    width: calc(100% - 2.4rem);
}

.navbar .nav-link i {
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.navbar .nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-color);
}

/* Active state */
.navbar .nav-item.active .nav-link {
    color: var(--nav-link-active-color);
    background: var(--nav-link-hover-bg);
}

.navbar .nav-item.active .nav-link::before {
    width: 100%;
}

.navbar .nav-item.active .nav-link::after {
    width: calc(100% - 2.4rem);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.navbar .nav-item.active .nav-link i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    background-color: transparent;
}

.navbar-toggler:hover {
    background-color: var(--nav-link-hover-bg);
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(230, 168, 0, 0.25);
    outline: none;
}

.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(230, 168, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: var(--transition-smooth);
}

.navbar-toggler:hover .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(107, 78, 15, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar collapse animation */
.navbar-collapse {
    transition: var(--transition-smooth);
}

.navbar-collapse.collapsing {
    transition: height 0.35s ease;
}

/* Fade in animation for nav items */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-collapse.show .nav-item {
    animation: fadeInDown 0.3s ease forwards;
}

.navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.4s; }
.navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.5s; }
.navbar-collapse.show .nav-item:nth-child(6) { animation-delay: 0.6s; }

/* Additional enhancements for better UX */
.navbar .navbar-nav {
    align-items: center;
    flex-wrap: nowrap;
}

/* Smooth transitions for all interactive elements */
.navbar * {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states for accessibility */
.navbar .nav-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 8px;
}

.search-form .form-control:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.search-form .btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading state for search button */
.search-form .btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.search-form .btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Search Form in Navbar */
.search-form {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.search-form .form-control {
    border-radius: 50px 0 0 50px;
    border: 2px solid #e0e0e0;
    border-right: none;
    min-width: 170px;
    padding: 0.6rem 1.2rem;
    background-color: var(--search-input-bg);
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.search-form .form-control:focus {
    background-color: var(--search-input-focus-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 168, 0, 0.15);
    min-width: 210px;
    outline: none;
}

.search-form .form-control::placeholder {
    color: #999;
    transition: var(--transition-fast);
}

.search-form .form-control:focus::placeholder {
    color: #bbb;
    transform: translateX(5px);
}

.search-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.6rem 1.5rem;
    background: var(--search-btn-gradient);
    border: 2px solid transparent;
    border-left: none;
    color: #fff;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.search-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transition: left var(--transition-smooth);
    z-index: -1;
}

.search-form .btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 20px rgba(230, 168, 0, 0.4);
}

.search-form .btn:hover::before {
    left: 0;
}

.search-form .btn:active {
    transform: translateY(0) scale(1);
}

.search-form .btn i {
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.search-form .btn:hover i {
    transform: scale(1.2) rotate(15deg);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1.2) rotate(15deg);
    }
    50% {
        transform: scale(1.3) rotate(15deg);
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    padding: 150px 0;
    color: #fff;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* ============================================
   Social Icons - Mobile First
   ============================================ */
.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    touch-action: manipulation;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width var(--transition-smooth), height var(--transition-smooth);
    z-index: -1;
}

.social-icons a:hover,
.social-icons a:active {
    background-color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    color: #fff;
    box-shadow: 0 4px 12px rgba(230, 168, 0, 0.4);
}

.social-icons a:hover::before,
.social-icons a:active::before {
    width: 100%;
    height: 100%;
}

.social-icons a i {
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    z-index: 1;
}

.social-icons a:hover i,
.social-icons a:active i {
    transform: scale(1.15);
}

/* Specific colors for different social media */
.social-icons a[href*="facebook"]:hover {
    background-color: #1877f2;
}

.social-icons a[href*="twitter"]:hover {
    background-color: #1da1f2;
}

.social-icons a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons a[href*="whatsapp"]:hover {
    background-color: #25d366;
}

.social-icons a.text-white {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icons a.text-white:hover {
    background-color: var(--primary-color);
}

/* ============================================
   Booking Card
   ============================================ */
.booking-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin-top: -70px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Terms Section
   ============================================ */
.terms-section .card {
    margin-bottom: 20px;
}

.terms-section .card-header {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

/* ============================================
   Blog Styles
   ============================================ */
.blog-post img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.blog-post .post-meta {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 14px;
}

.blog-sidebar .recent-post {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.blog-sidebar .recent-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
}

.blog-sidebar .recent-post h6 {
    margin-bottom: 5px;
    font-size: 15px;
}

.blog-sidebar .recent-post .post-date {
    font-size: 12px;
    color: #6c757d;
}

/* ============================================
   Contact Info
   ============================================ */
.contact-info i {
    font-size: 24px;
    margin-right: 15px;
    color: var(--primary-color);
}

/* ============================================
   WhatsApp Button
   ============================================ */
.whatsapp-btn {
    background-color: #25d366;
    color: #fff;
    border: none;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    color: #fff;
}

.whatsapp-floating-btn {
    position: fixed;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    line-height: 0;
    animation: pulse 2.2s infinite;
}

.whatsapp-floating-btn i {
    font-size: 30px;
}

.whatsapp-floating-btn:hover {
    color: #ffffff;
    background-color: #1eb759;
    transform: translateY(-2px) scale(1.03);
}

@media (min-width: 768px) {
    .whatsapp-floating-btn {
        right: 18px;
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        width: 60px;
        height: 60px;
    }

    .whatsapp-floating-btn i {
        font-size: 32px;
    }
}

/* ============================================
   Footer Styles
   ============================================ */
footer {
    background-color: var(--dark-color);
    color: #fff;
}

footer h5 {
    margin-bottom: 1rem;
    font-weight: 600;
}

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

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-color);
}

footer .input-group .form-control {
    border-radius: 5px 0 0 5px;
}

footer .input-group .btn {
    border-radius: 0 5px 5px 0;
}

/* ============================================
   Content Wrapper
   ============================================ */
.content-wrapper {
    min-height: calc(100vh - 400px);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 100px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    /* Navbar Mobile Styles */
    .navbar {
        padding: 12px 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar .nav-link {
        padding: 0.75rem 1rem;
        margin: 2px 0;
        border-radius: 8px;
        width: 100%;
        text-align: left;
    }
    
    .navbar .nav-link::before {
        border-radius: 8px;
    }
    
    .navbar .nav-link::after {
        display: none;
    }
    
    .navbar .nav-link:hover {
        transform: translateX(5px);
    }
    
    .navbar .nav-item.active .nav-link::after {
        display: none;
    }
    
    .navbar-toggler {
        border: 2px solid var(--primary-color);
        border-radius: 8px;
        padding: 0.4rem 0.6rem;
        transition: var(--transition-smooth);
    }
    
    .navbar-toggler:hover {
        background-color: var(--nav-link-hover-bg);
        transform: scale(1.05);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(230, 168, 0, 0.25);
    }
    
    /* Search Form Mobile Styles */
    .search-form {
        margin-top: 1rem;
        flex-direction: column;
        width: 100%;
    }
    
    .search-form .form-control {
        border-radius: 50px;
        border: 2px solid #e0e0e0;
        border-right: 2px solid #e0e0e0;
        margin-bottom: 0.75rem;
        min-width: 100%;
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
    
    .search-form .form-control:focus {
        min-width: 100%;
    }
    
    .search-form .btn {
        border-radius: 50px;
        width: 100%;
        padding: 0.75rem 1.5rem;
        border: 2px solid var(--primary-color);
        border-left: 2px solid var(--primary-color);
    }
    
    .search-form .btn:hover {
        transform: translateY(-2px);
    }
    
    /* Top Bar - Tablet adjustments already handled by base mobile styles */
    
    /* Blog Tablet Styles */
    .blog-card .col-md-4 {
        max-width: 100%;
    }
    
    .blog-card .col-md-8 {
        max-width: 100%;
    }
    
    .blog-title {
        font-size: 1.75rem;
    }
    
    .blog-sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    /* Navbar Mobile Small */
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar .nav-link {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
    }
    
    .navbar .nav-link i {
        font-size: 0.85rem;
    }
    
    /* Search Form Mobile Small */
    .search-form .form-control {
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .search-form .btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Top Bar Mobile Small - Already optimized in base styles */
    
    .booking-card {
        margin-top: -30px;
        padding: 20px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-footer {
        padding: 0.75rem 1rem;
    }
    
    /* Blog Responsive Styles */
    .blog-card .row {
        flex-direction: column;
    }
    
    .blog-card .col-md-4 {
        width: 100%;
        max-width: 100%;
    }
    
    .blog-card .col-md-8 {
        width: 100%;
        max-width: 100%;
    }
    
    .blog-card img {
        border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
        min-height: 200px;
    }
    
    .blog-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .blog-header {
        margin-bottom: 1.5rem;
    }
    
    .blog-meta {
        font-size: 0.8rem;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    
    .blog-meta span {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .blog-featured-image {
        margin-bottom: 2rem;
    }
    
    .blog-featured-image img {
        max-height: 300px;
    }
    
    .blog-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.25rem;
    }
    
    .blog-footer-actions {
        margin-bottom: 2rem;
    }
    
    .blog-tags h5,
    .blog-share h5 {
        font-size: 1rem;
    }
    
    .blog-share .btn,
    .blog-tags .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .blog-author-card {
        margin-bottom: 2rem;
    }
    
    .blog-author-card .card-body {
        padding: 1.5rem !important;
    }
    
    .blog-author-card .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .blog-author-card .ms-4 {
        margin-left: 0 !important;
        margin-top: 1rem;
    }
    
    .blog-author-avatar {
        width: 70px !important;
        height: 70px !important;
    }
    
    .blog-related {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .blog-related h4 {
        font-size: 1.5rem;
    }
    
    .blog-related .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    .blog-related-card .card-body {
        padding: 1.25rem !important;
    }
    
    .blog-related-image {
        height: 180px !important;
    }
    
    .blog-comments {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .blog-comments h4,
    .blog-comment-form h4 {
        font-size: 1.25rem;
    }
    
    .blog-comment-card .card-body {
        padding: 1rem !important;
    }
    
    .blog-comment-card .d-flex {
        flex-direction: column;
    }
    
    .blog-comment-card .ms-3 {
        margin-left: 0 !important;
        margin-top: 0.75rem;
    }
    
    .blog-comment-avatar {
        width: 40px !important;
        height: 40px !important;
    }
    
    .blog-comment-form {
        margin-top: 2rem;
    }
    
    .blog-comment-form .card-body {
        padding: 1.5rem !important;
    }
    
    .blog-sidebar {
        margin-top: 2rem;
    }
    
    .blog-sidebar .card {
        margin-bottom: 1.5rem;
    }
    
    .comments-list .card-body {
        padding: 1rem;
    }
    
    .comments-list .d-flex {
        flex-direction: column;
    }
    
    .comments-list .ms-3 {
        margin-left: 0 !important;
        margin-top: 0.75rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
}

/* Banner Slider */
.banner-slider {
    margin-top: -56px;
    padding: 0 !important;  /* Override section padding 80px 0 */
}

.banner-slider .carousel-item {
    position: relative;
}

.banner-slider .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.banner-slider .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    z-index: 1;
}

.banner-slider .carousel-caption h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.banner-slider .carousel-caption p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.banner-slider .carousel-indicators {
    bottom: 20px;
}

.banner-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.banner-slider .carousel-indicators button.active {
    background-color: var(--primary-color);
}

.banner-slider .carousel-control-prev,
.banner-slider .carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-slider:hover .carousel-control-prev,
.banner-slider:hover .carousel-control-next {
    opacity: 1;
}

@media (max-width: 768px) {
    .banner-slider .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .banner-slider .carousel-caption p {
        font-size: 1rem;
    }
    
    .banner-slider .carousel-item img {
        height: 400px !important;
    }
}

/* ============================================
   Additional Improvements
   ============================================ */

/* Alert Messages */
.alert {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-dismissible .btn-close {
    padding: 0.75rem 1rem;
}

/* Form Controls */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(230, 168, 0, 0.25);
}

.form-control,
.form-select {
    border-radius: var(--border-radius);
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
    transition: var(--transition);
}

/* Input Groups */
.input-group-text {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

/* List Groups */
.list-group-item {
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.list-group-item:hover {
    background-color: var(--light-blue);
    transform: translateX(5px);
}

.list-group-item-action {
    cursor: pointer;
}

/* Page Header */
.bg-primary {
    padding: 3rem 0;
}

.bg-primary h1 {
    margin-bottom: 0.5rem;
}

.bg-primary .lead {
    margin-bottom: 0;
    opacity: 0.9;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
    transition: var(--transition);
}

.page-link:hover {
    color: var(--secondary-color);
    background-color: var(--light-blue);
    border-color: var(--primary-color);
}

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Text Selection */
::selection {
    background-color: var(--primary-color);
    color: #fff;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: #fff;
}

/* ============================================
   Google Maps Section
   ============================================ */
.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .map-container {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .map-container {
        height: 300px;
    }
}

/* ============================================
   Testimonial Form Styles
   ============================================ */
.testimonial-form-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.testimonial-form-card .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

.testimonial-form .form-control,
.testimonial-form .form-control-lg {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fff;
}

.testimonial-form .form-control:focus,
.testimonial-form .form-control-lg:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(230, 168, 0, 0.15);
    transform: translateY(-2px);
    background-color: #fff;
}

.testimonial-form .form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.98-.98-.98-.98-.98.98.98.98zm5.4-5.4L6.73.35l-.98.98.98.98.98-.98z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.testimonial-form .form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4m0 4.8-.4-.4-.4.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.testimonial-form .form-label {
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.testimonial-form .form-label i {
    font-size: 1rem;
}

/* Star Rating Styles */
.rating-container {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-bottom: 10px;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-direction: row-reverse;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label.star {
    font-size: 2.5rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 0 5px;
    user-select: none;
}

.star-rating label.star:hover,
.star-rating label.star:hover ~ label.star {
    color: var(--accent-color);
    transform: scale(1.15);
}

.star-rating input[type="radio"]:checked ~ label.star {
    color: var(--accent-color);
}

.star-rating label.star.active {
    color: var(--accent-color);
}

.rating-text {
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 24px;
}

.rating-text #ratingLabel {
    transition: all 0.3s ease;
}

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
}

.file-upload-label {
    display: block;
    width: 100%;
    padding: 40px 20px;
    border: 3px dashed #ced4da;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 168, 0, 0.1);
}

.file-upload-label .file-upload-content {
    color: var(--dark-color);
}

.file-upload-label .file-upload-content i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.file-upload-label:hover .file-upload-content i {
    transform: scale(1.1) translateY(-5px);
}

.file-upload-label .file-upload-content p {
    margin: 0;
    font-weight: 500;
    color: var(--dark-color);
}

.file-upload-label .file-upload-content small {
    color: #6c757d;
}

/* Photo Preview Styles */
.photo-preview {
    animation: fadeIn 0.3s ease;
}

.preview-container {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preview-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.btn-remove-photo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-remove-photo:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Character Counter */
#charCount {
    font-weight: 600;
    color: var(--primary-color);
}

#charCount.warning {
    color: #ff9800;
}

#charCount.danger {
    color: #dc3545;
}

/* Form Feedback */
.form-feedback {
    min-height: 20px;
    font-size: 0.875rem;
    margin-top: 5px;
}

.form-feedback.valid {
    color: #28a745;
}

.form-feedback.invalid {
    color: #dc3545;
}

/* Button Styles */
.testimonial-form .btn-lg {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(230, 168, 0, 0.3);
}

.testimonial-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 168, 0, 0.4);
}

.testimonial-form .btn-primary:active {
    transform: translateY(0);
}

.testimonial-form .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.testimonial-form .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: translateY(-2px);
}

/* Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design for Testimonial Form */
@media (max-width: 768px) {
    .testimonial-form-card {
        margin: 0 10px;
    }
    
    .star-rating label.star {
        font-size: 2rem;
    }
    
    .rating-container {
        padding: 15px;
    }
    
    .preview-img {
        width: 150px;
        height: 150px;
    }
    
    .testimonial-form .btn-lg {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .testimonial-form .d-md-flex {
        flex-direction: column;
    }
    
    .testimonial-form .me-md-2 {
        margin-right: 0 !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .top-bar,
    footer,
    .btn,
    .search-form,
    .map-container {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
} 