:root {
    --primary: #EF8354; /* Coral Orange */
    --secondary: #2D3142; /* Dark Navy Blue */
    --text: #4F5D75; /* Slate Gray */
    --background: #FFFFFF;
    --white: #fff;
    --glass: rgba(255, 255, 255, 0.7);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

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

/* Header & Nav */
#site-header {
    background: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#site-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: #f1c40f;
    font-weight: 500;
}

.google-rating span {
    color: var(--text);
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 600;
}

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

.btn-admin {
    padding: 0.5rem 1rem;
    background-color: #f4f4f4;
    border-radius: 50%;
    color: var(--secondary);
}

.btn-admin:hover {
    background-color: var(--secondary);
    color: white;
}

/* Hero Section */
#hero {
    height: 70vh;
    background: linear-gradient(135deg, #2D3142 0%, #4F5D75 100%), 
                url('https://images.unsplash.com/photo-1471506480208-41b37bc7d2ba?auto=format&fit=crop&w=1500&q=80');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: var(--transition);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(239, 131, 84, 0.4);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    margin-left: 1rem;
}

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

/* Sections */
.section-title {
    text-align: center;
    margin: 4rem 0 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

/* Catalog Grid */
.grid-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
    justify-content: center;
}

.bike-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
    max-width: 380px;
    width: 100%;
}

.bike-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.bike-image {
    position: relative;
    height: 220px;
    background: #f8fafc;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bike-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.bike-info {
    padding: 1.5rem;
}

.bike-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.bike-info .description {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 1rem;
    height: 3rem;
    overflow: hidden;
}

.features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.features span {
    font-size: 0.85rem;
    background: #f8f9fa;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.price {
    font-weight: 600;
    margin-bottom: 1rem;
}

.price span {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 800;
}

.btn-book {
    width: 100%;
    background-color: var(--secondary);
    color: white;
}

/* Modal Styling & Glassmorphism Premium */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content.glass-premium {
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 420px;
    max-height: 95vh;
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    animation: slideUp 0.4s ease-out;
    overflow-y: auto;
}

.modal-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.modal-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.modal-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
}

.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.4);
}

/* Form Elements Premium */
.form-row-flex {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.flex-1 { flex: 1; }

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(0,0,0,0.03);
    border-radius: 10px;
    margin-top: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0; /* Override */
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.bike-card.no-image {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.bike-card.no-image::before {
    content: "\f206"; /* FontAwesome Bicycle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 8rem;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.bike-card.no-image .bike-info {
    position: relative;
    z-index: 1;
    padding-top: 2.5rem;
}

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

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    color: var(--secondary);
    opacity: 0.8;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid #edf2f7;
    background: #f8fafc;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
    box-shadow: 0 10px 15px -3px rgba(239, 131, 84, 0.1);
}

/* Summary Card */
.summary-card {
    background: var(--secondary);
    color: white;
    padding: 1.2rem;
    border-radius: 14px;
    margin: 1.2rem 0;
    box-shadow: 0 8px 20px rgba(45, 49, 66, 0.15);
}

.return-info-item, .availability-item, .total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.total-item {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0;
}

.summary-card .label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.summary-card .value {
    font-size: 0.9rem;
    font-weight: 700;
}

.total-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

/* Checkout Button */
.btn-checkout {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 8px 20px rgba(239, 131, 84, 0.3);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    background: #fc9c6c;
    box-shadow: 0 12px 28px rgba(239, 131, 84, 0.4);
}

.stripe-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text);
    opacity: 0.6;
}

.stripe-badge i {
    font-size: 1rem;
}

.terms-checkbox {
    margin-top: 1.5rem;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.8rem !important;
    font-size: 0.8rem !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    margin-top: 2px;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 700;
}

.return-info-box {
    transition: var(--transition);
}

#availability-status {
    text-align: center;
    padding: 5px;
    border-radius: 6px;
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-info h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 1.2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.footer-links ul li a i {
    width: 25px;
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.footer-links ul li:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Cart Sidebar Styling */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--secondary);
    color: white;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-cart {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.empty-msg {
    text-align: center;
    color: #999;
    margin-top: 3rem;
    font-style: italic;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f9f9f9;
    background: #fff;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.cart-item-info h4 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    color: var(--secondary);
}

.cart-item-info p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.7;
}

.cart-item-price {
    text-align: right;
}

.cart-item-price .item-total {
    display: block;
    font-weight: 800;
    color: var(--primary);
}

.remove-item {
    color: #ff4d4d;
    cursor: pointer;
    margin-left: 1rem;
    font-size: 0.9rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.remove-item:hover {
    opacity: 1;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-size: 1.2rem;
}

.btn-checkout-final {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-checkout-final:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-checkout-final:hover:not(:disabled) {
    background: #fc9c6c;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .grid-catalog {
        grid-template-columns: 1fr;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }
}
