/* =========================================================================
   RIDE LANKA CABS - PREMIUM LUXURY THEME (STAR CABS STYLE)
   ========================================================================= */

/* 1. Global Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary-blue: #0B2C5F;
    --secondary-gold: #D4AF37;
    --gold-hover: #AA8B2C;
    --text-dark: #222222;
    --text-muted: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease-in-out;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* 2. Sticky Premium Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.logo img {
    height: 65px; 
    width: auto;  
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 25px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

/* Navigation Hover Animation */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-gold);
    transition: var(--transition);
}

nav a:hover {
    color: var(--secondary-gold);
}

nav a:hover::after {
    width: 100%;
}

/* Premium Navigation Button */
.btn-book-nav {
    background: linear-gradient(135deg, var(--primary-blue), #15458c);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 50px;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(11, 44, 95, 0.2);
}

.btn-book-nav:hover {
    background: transparent;
    color: var(--primary-blue) !important;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 44, 95, 0.15);
}

.btn-book-nav::after {
    display: none;
}

/* 3. Luxury Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.hero-text p {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

/* Premium Main Button */
.btn-gold {
    background: linear-gradient(135deg, var(--secondary-gold), #b5922c);
    color: white;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    display: inline-block;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #b5922c, var(--secondary-gold));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* 4. Star Cabs Style Fleet Grid Cards */
.fleet-section h2, .services h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 40px;
}

.fleet-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-gold);
}

.fleet-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.fleet-card {
    background: var(--bg-white);
    padding: 35px 25px;
    width: 320px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-top: 5px solid var(--primary-blue);
    transition: var(--transition);
}

.fleet-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--secondary-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.fleet-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* 5. Modern Input Fields Styling (Wizard) */
input, select, textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border: 1px solid #e1e1e1;
    background-color: #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(11, 44, 95, 0.1);
}

/* 6. Luxury Footer */
footer {
    background: linear-gradient(135deg, #061938, var(--primary-blue));
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.95rem;
    border-top: 4px solid var(--secondary-gold);
}

footer p {
    opacity: 0.85;
}

/* 7. Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 8. Responsive Design (Mobile Menu Toggle සඳහා) */
@media (max-width: 768px) {
    .navbar { padding: 15px; }
    nav { display: none; } /* Mobile Hamburger Menu එකක් පසුව එක් කරගත හැක */
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text p { font-size: 1.1rem; }
}