/* Google Fonts - Noto Sans Devanagari */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #00BFFF;
    --primary-dark: #009acd;
    --secondary-color: #ffffff;
    --dark-color: #222222;
    --gray-light: #f4f9fc;
    --border-color: #b0e0e6;
    --text-color: #333333;
    --shadow: 0 4px 15px rgba(0, 191, 255, 0.2);
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Noto Sans Devanagari', sans-serif;
    background-color: var(--gray-light);
    color: var(--text-color);
    line-height: 1.6;
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-scooty-animation {
    font-size: 50px;
    animation: bounce 1.2s infinite alternate;
}

.loader-text {
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 700;
    margin-top: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.loader-subtext {
    color: var(--secondary-color);
    font-size: 16px;
    margin-top: 5px;
}

@keyframes bounce {
    0% { transform: translateY(0) translateX(-20px); }
    100% { transform: translateY(-15px) translateX(20px); }
}

.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Header & 3D Logo */
header {
    background-color: var(--primary-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    text-shadow: 2px 2px 0px #0073e6, 4px 4px 0px rgba(0,0,0,0.15);
    letter-spacing: 1px;
}

/* Navigation */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 17px;
    padding: 8px 15px;
    border-radius: 20px;
    transition: var(--transition);
}

.navbar a:hover, .navbar a.active {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: var(--secondary-color);
}

/* Image Slider */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 20px auto;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.slide.active {
    opacity: 1;
}

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

.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 50px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 600;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 12px 18px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-dark);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* General Layout Elements */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-weight: 700;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--secondary-color);
    text-align: center;
    padding: 60px 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 5px;
}

.btn:hover {
    background-color: var(--dark-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.card {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

.card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 22px;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    background: #fff;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.error-msg {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--secondary-color);
    padding: 50px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

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

.social-icons a {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 15px;
    color: #aaa;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .navbar {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .navbar.active {
        display: block;
    }

    .navbar ul {
        flex-direction: column;
        padding: 20px;
        align-items: center;
    }

    .hamburger {
        display: block;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .slider-container {
        height: 250px;
    }
}
