/* Go Goa Car Booking - Main Stylesheet */
@import url('chatbot.css');

:root {
    --primary: #FF5E14;
    --secondary: #00BFA5;
    --dark: #1A1A1A;
    --light: #F8F9FA;
    --accent: #FFD700;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --font-serif: 'Georgia', serif;
    --font-sans: 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-deep: 0 20px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: var(--font-serif);
    line-height: 1.1;
    font-weight: 900;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

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

.highlight {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 94, 20, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #e65100;
    box-shadow: 0 8px 25px rgba(255, 94, 20, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 191, 165, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: #009688;
    box-shadow: 0 8px 25px rgba(0, 191, 165, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Advanced Card Additions */
.btn-sm {
    padding: 8px 15px;
    font-size: 0.75rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-outline-primary {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

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

.advanced-card {
    transition: var(--transition);
}

.advanced-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-deep);
}

.fleet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.fleet-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.fleet-header .price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.card-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 8px;
    margin-top: 15px;
}

.w-full {
    width: 100%;
    text-align: center;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 0;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

main {
    padding-top: 80px;
}

.navbar.sticky-active {
    height: 70px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 15px 0;
    display: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 8px 20px;
}

.dropdown-menu a {
    text-transform: none;
    font-size: 14px;
    color: #444;
}

.dropdown-menu a:hover {
    color: var(--primary);
}

.nav-links a {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    height: auto;
    padding: 80px 0;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), linear-gradient(135deg, #FFE0B2 0%, #B2DFDB 100%);
    color: var(--white);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    margin: 0;
    padding-right: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-tagline {
    background: var(--accent);
    color: var(--dark);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
}

/* Booking Form Section */
.booking-bar {
    background-color: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-deep);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.booking-bar h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: var(--dark);
    text-align: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.form-group label {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    font-weight: bold;
    margin-bottom: 4px;
}

.form-group input, .form-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    font-size: 14px;
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
    clear: both;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Fleet Grid */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
    box-shadow: 0 12px 30px rgba(0,191,165,0.1);
}

.card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--white);
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.card-actions {
    display: flex;
    gap: 10px;
}

.card-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.75rem;
    text-align: center;
}

/* Why Choose Us */
.why-us {
    background-color: var(--bg-light);
    padding: 100px 0;
}

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

.feature-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 127, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-box:hover .feature-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Places Section */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.place-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.place-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.place-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

/* Testimonial Page */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testi-card {
    padding: 30px;
    border-radius: 20px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.user-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #EEE;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #FAFAFA;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 300px;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-call { background-color: var(--primary); }
.float-whatsapp { background-color: #25D366; }
.float-email { background-color: #555555; }

/* Loader */
.loader-container {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #F3F3F3;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

/* Footer Styles */
#main-footer {
    background-color: #1A1A1A;
    color: var(--white);
    padding: 80px 0 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

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

.footer-links a, .footer-services a {
    color: #BBB;
}

.footer-links a:hover, .footer-services a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    background-color: var(--dark);
    color: var(--white);
    font-size: 10px;
    display: flex;
    align-items: center;
    padding: 15px 40px;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 20px;
    }
}

/* Page Transitions */
.page-fade {
    animation: fadeIn 0.5s ease;
}

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

/* Sitelinks Section */
.sitelinks-section {
    background: #fdfdfd;
    padding: 30px 0;
    border-top: 1px solid #f0f0f0;
}

.sitelinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.sitelink-item a {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sitelink-item a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .booking-bar {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Detail Page Specifics */
.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 15px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery-item:first-child {
        grid-row: span 1;
    }
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.info-sidebar {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    height: fit-content;
}

.info-sidebar .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.booking-sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    margin-bottom: 10px;
}

.blog-article {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-body {
    font-size: 1.1rem;
    color: #444;
}

.article-body h2, .article-body h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.article-body p {
    margin-bottom: 20px;
}

.article-img {
    width: 100%;
    height: 450px;
    max-height: 50vh;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 40px;
}

/* New Component Styles */
.fleet-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.fleet-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.fleet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.fleet-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.fleet-content {
    padding: 20px;
}

.fleet-specs {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    font-size: 13px;
    color: #666;
}

.fleet-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.fleet-price .price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
}

.fleet-price .price span {
    font-size: 13px;
    color: #888;
    font-weight: normal;
}

/* Animations */
.page-fade {
    animation: fadeIn 0.8s ease forwards;
}

.card-fade {
    animation: fadeInUp 0.8s ease forwards;
}

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

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

/* Utility Layouts */
.p-24 { padding: 24px; }
.shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.shadow-lg { box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.w-full { width: 100%; }

/* FAQ Styles */
.faq-icon {
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

/* Stat Box (About Page) */
.stat-box {
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    background-color: var(--white) !important;
    box-shadow: var(--shadow);
}

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

.testi-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary);
}

.testi-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testi-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-name {
    font-weight: 700;
    font-size: 15px;
}

.testi-location {
    font-size: 12px;
    color: #888;
}

/* Sidebar & Article Specifics */
.sidebar {
    position: relative;
}

.article-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.article-hero h1 {
    font-size: 3rem;
    color: white;
}

@media (max-width: 768px) {
    .article-hero h1 {
        font-size: 2rem;
    }
}

/* Mobile Adjustments */
body.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1001;
}

body.menu-open {
    overflow: hidden;
}
