/* 
   Ella Rides Premium Design System 2026 
   Concept: Editorial Luxury & Professionalism
*/

:root {
    --bg-premium: #F9F7F2;
    --text-primary: #0A1A2F;
    --text-muted: #5A6A7D;
    --accent-gold: #B8860B;
    --accent-gold-hover: #966D09;
    --white: #ffffff;
    --border-light: #E8E2D6;
    --shadow-premium: 0 20px 50px rgba(10, 26, 47, 0.05);
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-premium);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Premium Navbar */
.navbar-premium {
    padding: 25px 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
}

.navbar-premium.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.navbar-premium .container {
    display: flex;
    align-items: center;
}

.navbar-brand {
    margin-right: 60px !important; /* Force more space */
    display: flex;
    align-items: center;
    min-width: fit-content; /* Ensure brand area doesn't collapse */
}

.navbar-brand .ms-3 {
    white-space: nowrap; /* Prevent tagline from wrapping and causing overlap */
}

.nav-link-premium {
    font-weight: 600;
    font-size: 0.72rem !important;
    text-transform: uppercase;
    letter-spacing: 1.8px !important;
    color: var(--text-primary) !important;
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    padding: 10px 15px !important;
}

@media (min-width: 1200px) {
    .nav-link-premium {
        margin: 0 12px;
    }
}

/* Custom Dropdown Arrow Fix - Inline with text */
.navbar-premium .dropdown-toggle::after {
    display: inline-block !important;
    border: none !important;
    content: "\f107" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 0.6rem !important;
    margin-left: 6px !important;
    color: var(--accent-gold) !important;
    vertical-align: middle !important;
    transition: transform 0.3s ease;
}

.navbar-premium .dropdown-toggle:hover::after {
    transform: translateY(2px);
}

/* Remove the previous ::before attempt */
.navbar-premium .dropdown-toggle::before {
    display: none !important;
}

/* Hero Overhaul - Immersive & Modern */
.hero-editorial {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0;
    background: transparent; /* Changed from var(--text-primary) */
    overflow: hidden;
}

.hero-editorial .container {
    position: relative;
    z-index: 5;
}

.hero-editorial-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 700;
}

.hero-editorial-title i {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    color: var(--accent-gold);
}

.hero-editorial-subtitle {
    font-size: 1.1rem;
    color: var(--text-primary);
    opacity: 0.8;
    max-width: 650px;
    margin-bottom: 50px;
    font-weight: 400;
}

/* Glassmorphism Smart Search Widget */
.search-widget-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    max-width: 850px;
    border: 1px solid rgba(10, 26, 47, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
}

.search-input-group {
    flex: 1;
    padding: 0 35px;
    border-right: 1px solid rgba(10, 26, 47, 0.1);
}

.search-input-group:last-of-type {
    border-right: none;
}

.search-input-group label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 4px;
    font-weight: 700;
}

.search-input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1.05rem;
    background: transparent;
    color: var(--text-primary);
}

.search-input-group input::placeholder {
    color: rgba(10, 26, 47, 0.4);
}

.btn-search-premium {
    background: var(--accent-gold);
    color: var(--white);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex-shrink: 0;
}

.btn-search-premium:hover {
    background: var(--text-primary);
    color: var(--white);
    transform: scale(1.05) rotate(15deg);
}

/* Hero Background Visual */
.hero-visual-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-premium);
}

.hero-visual-v2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(249, 247, 242, 0.9) 20%, rgba(249, 247, 242, 0.4) 100%);
}

.hero-visual-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .hero-editorial {
        min-height: auto;
        padding: 150px 0 100px;
        text-align: center;
    }

    .hero-editorial-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .search-widget-premium {
        flex-direction: column;
        border-radius: 20px;
        padding: 30px;
        gap: 25px;
    }

    .search-input-group {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0 0 15px 0;
        width: 100%;
    }

    .btn-search-premium {
        width: 100%;
        border-radius: 10px;
        height: 55px;
    }
}

/* Silo Card Design */
.silo-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 40px;
    transition: all 0.4s ease;
}

.silo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

/* Page Header Section */
.page-header-section {
    position: relative;
    padding: 160px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    text-align: center;
}

.page-header-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 26, 47, 0.75) 0%, rgba(10, 26, 47, 0.9) 100%);
    z-index: 1;
}

.page-header-section .container {
    position: relative;
    z-index: 2;
}

.page-header-section h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.page-header-section p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--border-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* USP Grid & Cards */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.usp-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.usp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.usp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: transparent;
}

.usp-card:hover::before {
    transform: scaleX(1);
}

.usp-card .usp-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.usp-card:hover .usp-icon {
    transform: scale(1.1);
}

.usp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.usp-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Destinations Section */
.destinations-section {
    background-color: var(--bg-premium);
    padding: 80px 0;
}

.destinations-section .section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.destinations-section .section-header p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Service Hub Cards */
.hub-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 30px 20px;
    transition: all 0.4s ease;
    height: 100%;
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--accent-gold);
}

.hub-card i {
    color: var(--accent-gold) !important;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.hub-card h5 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Navigation Pills for Destinations */
.nav-pills-premium {
    gap: 10px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
}

.nav-pills-premium .nav-link {
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.nav-pills-premium .nav-link.active,
.nav-pills-premium .nav-link:hover {
    color: var(--accent-gold) !important;
    background: transparent !important;
    border-bottom: 2px solid var(--accent-gold);
}

/* Destination Pill Cards */
.destination-pill {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 15px 20px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.destination-pill:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
}

/* Destinations Call to Action */
.destinations-cta {
    background: var(--text-primary) !important;
    border: 1px solid rgba(184, 134, 11, 0.3);
    padding: 50px 30px;
    border-radius: 4px;
    color: var(--white);
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.destinations-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.destinations-cta h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
}

.destinations-cta p {
    font-family: var(--font-body);
    color: var(--border-light);
    font-weight: 300;
}

/* Contact Section & Info */
.contact-section {
    background-color: var(--bg-premium);
    padding: 80px 0;
}

.contact-info {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 40px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item .contact-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 50px;
    height: 50px;
    background: var(--bg-premium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Contact Social */
.contact-social {
    margin-top: 40px;
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
}

.contact-social h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-social .social-links {
    display: flex;
    gap: 15px;
}

.contact-social .social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-premium);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-social .social-links a:hover {
    background: var(--accent-gold);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form Styling */
.contact-form {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.contact-form .form-control,
.contact-form .form-select {
    font-family: var(--font-body);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 12px 18px;
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: var(--bg-premium);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
    outline: none;
    background-color: var(--white);
}

.contact-form button[type="submit"] {
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    width: 100%;
}

.contact-form button[type="submit"]:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.2);
}

/* Things To Do Section */
.things-to-do-section {
    background-color: var(--bg-premium);
    padding: 80px 0;
}

.things-to-do-section .section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.activity-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--accent-gold);
}

.activity-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.activity-card:hover .activity-image img {
    transform: scale(1.08);
}

.activity-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.activity-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.activity-content p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.activity-meta {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.activity-meta span i {
    color: var(--accent-gold);
    margin-right: 6px;
}

.activity-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.activity-link:hover {
    color: var(--accent-gold-hover);
}

/* Premium Accordion (FAQ) */
.faq-section {
    background-color: var(--white) !important;
    padding: 80px 0;
}

.faq-section #faqAccordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section .accordion-item {
    background-color: var(--bg-premium);
    border: 1px solid var(--border-light) !important;
    border-radius: 4px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-section .accordion-button {
    background-color: var(--bg-premium);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 20px 25px;
    border: none;
    box-shadow: none !important;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: var(--bg-premium);
    color: var(--accent-gold);
    border-bottom: 1px solid var(--border-light);
}

.faq-section .accordion-button::after {
    filter: sepia(100%) hue-rotate(10deg) saturate(3); /* Tint the chevron to gold */
}

.faq-section .accordion-body {
    background-color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    padding: 25px;
}
