:root {
    --bg-color: #fcfaf7;
    --card-bg: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --primary: #c9a66b;
    --secondary: #1a2a6c;
    --whatsapp-green: #25d366;
    --call-blue: #3498db;
    --border-color: #e0e0e0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

.hero { 
    text-align: center; 
    padding: 80px 20px; 
    background: linear-gradient(rgba(26, 42, 108, 0.7), rgba(26, 42, 108, 0.7)), 
                url('https://images.unsplash.com/photo-1544124499-58912cbddaad?w=1200');
    background-size: cover; 
    background-position: center;
    color: white;
}


.navbar { display: flex; justify-content: center; padding: 20px; width: 100%; }
#searchInput {
    padding: 12px 25px; width: 90%; max-width: 600px; border-radius: 30px;
    border: 1px solid var(--border-color); outline: none; font-size: 16px;
}


.categories { 
    display: flex; justify-content: center; gap: 10px; padding: 10px 20px;
    overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;
}
.filter-btn {
    padding: 8px 18px; border: 1px solid var(--primary);
    background: transparent; color: var(--primary); cursor: pointer;
    font-weight: bold; border-radius: 5px; flex-shrink: 0; 
}
.filter-btn.active { background: var(--primary); color: white; }


.products-container {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px; max-width: 1200px; margin: 40px auto; padding: 0 20px;
}
.card {
    background: var(--card-bg); border-radius: 12px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); cursor: pointer; transition: 0.3s;
}
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-info { padding: 20px; }


.modal {
    display: none; position: fixed; z-index: 1000; left: 0; top: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.85); overflow-y: auto;
}
.modal-content {
    background: var(--card-bg); margin: 20px auto; width: 95%; max-width: 900px;
    border-radius: 15px; position: relative; overflow: hidden;
}
.modal-media video { width: 100%; display: block; background: #000; }
.modal-details { padding: 40px; }
.book-now-btn { 
    background: var(--secondary); color: white; border: none; 
    padding: 15px; width: 100%; cursor: pointer; font-size: 1.1rem; 
    font-weight: bold; border-radius: 8px; margin-top: 20px;
}
.contact-options { display: none; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.contact-btn {
    padding: 10px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    font-size: 13px;
    display: inline-block;
}

.whatsapp {
    background-color: #25D366; /* WhatsApp Green */
}

.call {
    background-color: #007bff; /* Professional Blue */
}

.contact-card:hover {
    background-color: #f9f9f9;
}


#adminAuthModal {
    display: none; position: fixed; top: 0; left: 0; 
    width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); 
    z-index: 9999; justify-content: center; align-items: center;
    backdrop-filter: blur(5px);
}
.admin-box {
    background: white; padding: 30px; border-radius: 12px; 
    text-align: center; width: 300px; box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.admin-box input {
    width: 100%; padding: 12px; margin: 15px 0; border: 1px solid #ddd; 
    border-radius: 6px; box-sizing: border-box;
}
.admin-box button { width: 100%; padding: 10px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; }
.login-btn { background: #3498db; color: white; margin-bottom: 10px; }
.cancel-btn { background: #eee; color: #666; }

@media (max-width: 768px) {
    .modal-details { padding: 20px; }
    .hero h1 { font-size: 1.8rem; }
    .contact-options { grid-template-columns: 1fr; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

}
.contact-btn {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    filter: brightness(1.1);
}
.modal-media {
    width: 100%;
    min-height: 250px; /* Forces the area to exist even if video hasn't loaded */
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

video {
    max-height: 70vh; /* Prevents video from being taller than the screen */
    width: 100% !important;
    height: auto !important;
}