:root {
    --color-bg: #F5E6D3;
    --color-text: #333;
    --color-primary: #D4AF37;
    --color-secondary: #E67E22;
    --color-accent1: #4A90E2;
    --color-accent2: #C0392B;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.5s ease;
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    transition: padding 0.3s ease;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 700;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    transition: width 0.4s ease;
}

nav a:hover {
    color: var(--color-primary);
}

nav a:hover::after {
    width: 100%;
}

.hero {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0.2), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1524492412937-b28074a5d7da?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1171&q=80') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    animation: fadeIn 2s ease-in-out;
}

.company-name {
    font-family: var(--font-heading);
    font-size: 7rem;
    color: white;
    text-shadow: 0 0 5px var(--color-primary), 0 0 15px var(--color-primary), 0 0 30px var(--color-primary);
    margin: 0;
    animation: fadeInDown 2s 0.5s both;
}

.tagline {
    font-size: 1.8rem;
    margin: 1rem 0 2.5rem;
    animation: fadeInUp 2s 0.5s both;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    margin: 0.5rem;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
}

.cta-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    border-color: white;
}

.cta-button.animated {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

.cta-button.secondary:hover {
    background: var(--color-primary);
    color: white;
}

.cab-booking-section {
    padding: 6rem 5%;
    background-color: #fff;
    text-align: center;
}

#cab-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    flex: 1;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-accent2);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.about-us-section {
    padding: 6rem 5%;
    background: linear-gradient(to bottom, var(--color-bg), #fff);
    text-align: center;
}

.about-us-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.about-us-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.stats-section {
    padding: 6rem 5%;
    background-color: #fff;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent2);
}

.stat-card p {
    font-size: 1rem;
    color: #777;
    margin-top: 0.5rem;
}

.faq-section {
    padding: 6rem 5%;
    background-color: var(--color-bg);
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 1rem;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-accent2);
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.faq-answer p {
    padding: 0 1rem 1.5rem 1rem;
    margin: 0;
    line-height: 1.7;
    color: #555;
}

.why-darbaar, .testimonials, .popular-tours-section, .vehicle-showcase-section {
    padding: 6rem 5%;
    text-align: center;
    background-color: var(--color-bg);
}

.popular-tours-section, .vehicle-showcase-section {
    background-color: #fff;
}

.tours-container, .vehicle-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tour-card, .vehicle-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover, .vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.tour-card img, .vehicle-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.tour-info {
    padding: 1.5rem;
}

.tour-info h3, .vehicle-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-accent2);
    margin-top: 0;
}

.tour-info p, .vehicle-card p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.vehicle-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vehicle-card img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-bottom: 1.5rem;
    border: 5px solid var(--color-primary);
}


h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-accent2);
    margin-bottom: 4rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature .icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.feature h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-accent2);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 250px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.testimonial.active {
    opacity: 1;
}

.testimonial p {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    color: #555;
}

.testimonial span {
    display: block;
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

footer {
    background: linear-gradient(to top, #3d7ab8, var(--color-accent1));
    color: white;
    padding: 3rem 5%;
    text-align: center;
    border-top: 5px solid var(--color-primary);
}

.social-icons a {
    margin: 0 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icons .icon {
    width: 30px;
    height: 30px;
    color: white;
}

.social-icons a:hover {
    transform: scale(1.2);
}

footer p {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-top {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-contact-form {
    max-width: 500px;
    width: 100%;
}

.footer-contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
}

#footer-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#footer-contact-form input,
#footer-contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

#footer-contact-form input::placeholder,
#footer-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#footer-contact-form button {
    align-self: flex-start;
}

.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.back-to-top-btn:hover {
    background: var(--color-secondary);
    transform: scale(1.1);
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    .company-name {
        font-size: 4rem;
    }
    .tagline {
        font-size: 1.2rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    .form-row {
        flex-direction: column;
    }
}
