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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #1a365d;
}

.nav-logo i {
    margin-right: 10px;
    color: #ff6b35;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    /* color: #ff6b35; */
    color: #cc1718;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hero Slider */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

/* Slider Navigation */

/* Slider Indicators */

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    /* background: #ff6b35; */
    background: #cc1718;
    color: white;
}

.btn-primary:hover {
    /* background: #e55a2b; */
    background: #cc1718;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a365d;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.hero-features {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    /* color: #ff6b35; */
    color: #cc1718;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 15px;
}

.feature-card p {
    color: #64748b;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.about-icon {
    /* background: #ff6b35; */
    background: #cc1718;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-details h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 10px;
}

.about-details p {
    color: #64748b;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #f8fafc;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    /* background: #ff6b35; */
    background: #cc1718;
    color: white;
    /* border-color: #ff6b35; */
    background-color: #cc1718;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item.hide {
    opacity: 0;
    transform: scale(0.8);
}

.review-item {
    transition: all 0.3s ease;
}

.review-item.hide {
    opacity: 0;
    transform: scale(0.8);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: scale-down;
    transition: transform 0.3s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-image:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-overlay .price {
    font-size: 1.2rem;
    font-weight: 700;
    /* color: #ff6b35; */
    color: #cc1718;
    float: right;
    margin-top: -40px;
}

.gallery-item-details {
    padding: 15px;
    text-align: left;
}

.carname {
    text-align: center;
}

.gallery-item-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 10px;
}

.gallery-item-details p {
    font-size: 0.9rem;
    color: #64748b;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    /* background: #ff6b35; */
    background: #cc1718;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 5px;
}

.contact-item p {
    color: #64748b;
    line-height: 1.6;
}

.contact-form {
    background: #f8fafc;
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    /* border-color: #ff6b35; */
    border-color: #cc1718;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    /* background: #1a365d; */
    background: #FAF0E6;
    color: #1a1a1a;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    margin-right: 10px;
    /* color: #ff6b35; */
    color: #cc1718;
}

.footer-section h3 {
    margin-bottom: 20px;
    /* color: #ff6b35; */
    color: #cc1718;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    /* color: #ff6b35; */
    color: #cc1718;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    /* background: #ff6b35; */
    background: #cc1718;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .slide-content {
        right: 5%;
        text-align: center;
        left: 5%;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-nav {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .slider-nav.prev {
        left: 15px;
    }

    .slider-nav.next {
        right: 15px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-filters {
        justify-content: center;
    }

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

    /* Mobile booking form - stack fields vertically */
    .form-group-row {
        flex-direction: column;
        gap: 1rem;
    }

    .form-group-row .form-group {
        width: 100%;
    }

    /* Disable gallery transitions/animations on mobile */
    .gallery-item,
    .gallery-image img,
    .gallery-overlay,
    .review-item {
        transition: none !important;
        animation: none !important;
    }

    .gallery-image:hover img {
        transform: none !important;
    }

    .gallery-image:hover .gallery-overlay {
        transform: none !important;
    }

    /* Ensure gallery is visible even if JS sets opacity/transform */
    #gallery,
    #gallery .gallery-item {
        opacity: 1 !important;
        transform: none !important;
    }

    /* WhatsApp floating: tap-to-toggle on mobile */
    .whatsapp-float-container.open .whatsapp-numbers {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto;
    }

    /* Ensure button receives taps when closed */
    .whatsapp-numbers {
        pointer-events: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.about-item {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.gallery-item {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.review-item {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.whatsapp-float i {
    margin-top: 16px;
}

.whatsapp-float-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-main {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    cursor: pointer;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.whatsapp-numbers {
    position: absolute;
    bottom: 65px;
    /* Overlap slightly with the main button */
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    /* Initially hidden with smooth transition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s ease-in-out;
    z-index: 1;
}

@media (hover: hover) {
    .whatsapp-float-container:hover .whatsapp-numbers {
        /* Visible on hover for devices with hover */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.whatsapp-number {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: #25D366;
    color: #FFF;
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.whatsapp-number:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.whatsapp-number span {
    margin-right: 10px;
    font-weight: bold;
}

.gallery-item-details .carname {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery-item-details p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.reviews {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.review-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.review-author h3 {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

.review-stars {
    color: #ffc107;
}

.review-text {
    font-style: italic;
    color: #555;
}

.footer {
    margin-top: 100px;
}

.booking {
    padding: 100px 0;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    text-align: center;
}

.booking .section-title,
.booking .section-subtitle {
    color: #fff;
}

.booking-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 30px auto 0;
    max-width: 700px;
}

.btn-whatsapp {
    width: 100%;
    justify-content: center;
    background-color: #25D366;
    color: #fff;
    padding: 20px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .btn-whatsapp {
        width: 100%;
        max-width: none;
        padding: 18px 30px;
        font-size: 1.1rem;
        transition: background-color 0.3s ease, transform 0.2s;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.booking-form {
    max-width: 700px;
    margin: 20px auto 0;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1E88E5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.3);
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    text-align: left;
    font-weight: 500;
}