/* --- General & Root Styles --- */
:root {
    --primary-color: #3498db;
    --primary-hover: #2980b9;
    --secondary-color: #2ecc71;
    --text-dark: #333;
    --text-light: #fdfdfd;
    --bg-light: #f4f7f6;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.7;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* --- Header & Navigation --- */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- General Content Styling --- */
main {
    padding: 0;
}

.page-section {
    padding: 4rem 5%;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.cta-button {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* --- Hero Section (Home Page) --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('BIT Mesra.png') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 6rem 5%;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* --- How It Works Section (Home Page) --- */
.how-it-works {
    padding: 4rem 5%;
    background-color: var(--bg-white);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    flex-basis: 300px;
    border: 1px solid var(--border-color);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- Cycle Gallery (Cycles Page) --- */
.cycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.cycle-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cycle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cycle-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.cycle-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cycle-card-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.cycle-card-content .price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: auto;
    margin-bottom: 1.5rem;
}

/* --- Booking & Contact Page --- */
.booking-page-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.booking-form-section, .contact-details-section {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.booking-form-section h3, .contact-details-section h3 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* --- Notification Modal (Booking Page) --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    text-align: center;
    max-width: 400px;
    width: 80%;
    position: relative;
    animation: fadeIn 0.3s;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: var(--text-dark);
}

@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
}


/* --- Footer --- */
footer {
    background-color: #2c3e50;
    color: var(--text-light);
    text-align: center;
    padding: 2rem 5%;
    margin-top: 4rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .booking-page-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--bg-white);
        position: absolute;
        top: 67px; /* Adjust based on header height */
        left: 0;
        text-align: center;
        box-shadow: 0 10px 10px -10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .menu-icon {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .page-title, .how-it-works h2 {
        font-size: 2rem;
    }
}
