:root {
    --primary-color: #222222; 
    --secondary-color: #555555;
    --text-color: #333333; 
    --bg-color: #ffffff;   
    --light-gray: #f4f4f4; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.header {
    background: var(--primary-color); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff; 
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff; 
    font-weight: 500;
    transition: color 0.3s;
    opacity: 0.9;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff; 
    opacity: 1;
    font-weight: bold;
}

.nav-actions {
    margin-left: 25px;
}

.login-button {
    background: #fff;
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff; 
}

.banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/banner-desktop.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.banner-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.banner-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.portfolio-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.form-container, .checkout-form {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fff;
    color: #333;
}

.error-message { color: #dc3545; }
.success-message { color: #28a745; }
.hidden { display: none; }


.payment-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
    text-align: center;
}

.payment-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.qr-code-img {
    max-width: 180px;
    margin: 1rem auto;
    display: block;
    border-radius: 8px;
    background: white;
    padding: 10px;
}

.upi-btn {
    width: 100%;
    margin-bottom: 1.5rem;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.form-group-checkbox input[type="checkbox"] {
    width: auto;
}
.form-group-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}


.booking-card {
    text-align: left;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary-color);
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 5px;
}

.booking-card h3 {
    margin-bottom: 1rem;
}

.booking-card p {
    margin-bottom: 0.5rem;
}

.status-pending-confirmation { color: #f0ad4e; font-weight: bold; }
.status-confirmed { color: #5cb85c; font-weight: bold; }
.status-cancelled { color: #d9534f; font-weight: bold; }
.status-payment { color: #0275d8; font-weight: bold; }


.footer {
    background: #333333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #ffffff; 
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    .nav-item {
        margin: 16px 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-actions {
        display: none;
    }
    .nav-menu.active .nav-link {
        color: var(--text-color); 
    }
    .nav-menu.active .nav-link:hover {
        color: var(--primary-color); 
    }
}
.admin-table-container {
    overflow-x: auto; 
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.admin-table th, .admin-table td {
    border: 1px solid #333;
    padding: 12px 15px;
    text-align: left;
}

.admin-table th {
    background-color: var(--light-gray);
    color: var(--text-color);
    font-weight: bold;
}

.admin-table tr:nth-child(even) {
    background-color: #1a1a1a;
}

.actions-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-select {
    padding: 8px;
    border-radius: 5px;
    background: #333;
    color: #fff;
    border: 1px solid #555;
}

.btn-update {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-update:hover {
    background-color: var(--secondary-color);
}
.nav-logo img {
    height: 50px;  
    width: auto;  
    vertical-align: middle;
}

.email-choice-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.email-choice-container button {
    flex-grow: 1; 
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}


.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}