/* Base CSS for Cult-Mua Website - Common styles and theme variables */

/* Root Variables - Updated for Black & Golden Theme */
:root {
    --primary-golden: #d4af37;
    --secondary-golden: #f4d03f;
    --black: #000000;
    --white: #ffffff;
    --gray-light: #cccccc;
    --gray-dark: #333333;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --whatsapp: #25d366;
    
    /* Legacy variables for backward compatibility */
    --primary-color: #d4af37;
    --secondary-color: #f8f9fa;
    --dark-color: #333333;
    --text-color: #666666;
    --border-color: #e0e0e0;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    position: relative;
}

/* Navigation Styles */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: #ffffff !important;
    border-bottom: 1px solid #e0e0e0;
}

.navbar-brand .logo {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #333333 !important;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 15px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Book Now Button in Navigation */
.btn-book-now-nav {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white !important;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-book-now-nav:hover {
    background: linear-gradient(45deg, #128C7E, #25D366);
    color: white !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.user-icon {
    color: #ffffff !important;
    font-size: 18px;
    padding: 5px 10px !important;
}

.user-icon:hover {
    color: var(--primary-color) !important;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a !important;
    margin-top: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 120px;
    width: 120px;
    object-fit: contain;
    border-radius: 8px;
    background-color: white;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 3px solid var(--primary-color);
    margin-right: 15px;
}

.footer-logo h5 {
    color: var(--primary-color) !important;
    font-family: 'Georgia', serif;
    font-weight: bold;
    font-size: 24px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.footer h5,
.footer-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-description {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    font-size: 18px !important;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon.facebook {
    background-color: #3b5998;
    color: var(--white);
}

.social-icon.whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.social-icon.youtube {
    background-color: #ff0000;
    color: var(--white);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Contact Info */
.contact-info {
    color: #cccccc;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-icon {
    color: var(--primary-color);
    width: 20px;
    margin-right: 10px;
    margin-top: 2px;
}

/* Bottom Footer */
.bottom-footer {
    border-top: 1px solid #333 !important;
    color: #cccccc !important;
}

.bottom-footer p {
    font-size: 14px;
}

.heart {
    color: #ff0000;
}

.footer-link-highlight {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-link-highlight:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        text-align: center;
    }
    
    .btn-book-now-nav {
        padding: 10px 20px;
        font-size: 16px;
        margin: 10px 0;
    }
    
    .user-icon {
        text-align: center;
        justify-content: center;
    }
    
    .footer .col-lg-3,
    .footer .col-lg-2 {
        margin-bottom: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 10px 0;
    }
    
    /*.navbar-brand .logo {*/
    /*    height: 40px;*/
    /*}*/
    
    .footer-logo-img {
        height: 60px;
    }
    
    .contact-item {
        font-size: 13px;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b8941f;
    border-color: #b8941f;
}

/* Page Content Spacing */
.page-content {
    padding: 40px 0;
}

.section-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 50px 0;
    color: var(--text-color);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    border-radius: 50%;
}

.whatsapp-link:hover {
    color: white;
    text-decoration: none;
}

.whatsapp-float i {
    line-height: 60px;
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Hide WhatsApp button on very small screens */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .whatsapp-float i {
        line-height: 50px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 140px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), #f4d03f);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, #f4d03f, var(--primary-color));
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 1000;
    padding: 8px 0;
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #cccccc;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
    min-width: 60px;
}

.bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.bottom-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary-color);
    text-decoration: none;
    background: rgba(212, 175, 55, 0.1);
}

.bottom-nav-item.dropdown .dropdown-menu {
    bottom: 100%;
    top: auto;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
}

.bottom-nav-item.dropdown .dropdown-item {
    color: #cccccc;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 2px 8px;
}

.bottom-nav-item.dropdown .dropdown-item:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-color);
}

/* Mobile Book Now Button */
.btn-book-now-mobile {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white !important;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-book-now-mobile:hover {
    background: linear-gradient(45deg, #128C7E, #25D366);
    color: white !important;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Mobile Responsive Adjustments */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 70px;
    }
    
    /* Fix button positioning to avoid overlap */
    .scroll-to-top {
        bottom: 150px;
        right: 20px;
    }
    
    .whatsapp-float {
        bottom: 90px;
        right: 20px;
    }
    
    /* Hide desktop navigation elements on mobile */
    .navbar-collapse {
        display: none !important;
    }
    
    /* Hide tablet offcanvas on mobile */
    .offcanvas {
        display: none !important;
    }
    
    /* Hide hamburger on mobile */
    .navbar-toggler {
        display: none !important;
    }
    
    /* Show mobile navigation toggle */
    .mobile-nav-toggle {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
    }
    
    /* Hide footer on mobile */
    .footer {
        display: none !important;
    }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hide mobile bottom nav on tablet */
    .mobile-bottom-nav {
        display: none !important;
    }
    
    /* Show footer on tablet */
    .footer {
        display: block !important;
    }
    
    body {
        padding-bottom: 0;
    }
    
    .scroll-to-top {
        bottom: 140px;
    }
    
    .whatsapp-float {
        bottom: 80px;
    }
    
    /* Hamburger menu positioning */
    .navbar-toggler {
        margin-left: auto;
        border: 1px solid var(--primary-color);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    }
}

/* Desktop specific adjustments */
@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
    
    .mobile-nav-toggle {
        display: none !important;
    }
    
    /* Ensure footer is visible on desktop */
    .footer {
        display: block !important;
    }
    
    /* Reset button positions for desktop */
    .scroll-to-top {
        bottom: 140px;
    }
    
    .whatsapp-float {
        bottom: 80px;
    }
    
    body {
        padding-bottom: 0;
    }
}

/* Tablet Side Navigation Panel Styling */
.offcanvas {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    width: 300px !important;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1.5rem;
}

.offcanvas-title {
    color: var(--primary-color);
}

.btn-close {
    filter: invert(1);
}

.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas .nav-link {
    color: #cccccc !important;
    padding: 0.75rem 0;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.offcanvas .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(212, 175, 55, 0.1);
    padding-left: 10px;
}

.offcanvas .nav-link i {
    width: 20px;
    color: var(--primary-color);
}

.offcanvas hr {
    border-color: rgba(212, 175, 55, 0.3);
    margin: 1.5rem 0;
}

.offcanvas .btn-success {
    background: linear-gradient(45deg, #25D366, #128C7E);
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
}

.offcanvas .btn-success:hover {
    background: linear-gradient(45deg, #128C7E, #25D366);
}

/* ========== COMMON AUTHENTICATION & FORM STYLES ========== */

/* Common Auth Container */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--black);
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(244, 208, 63, 0.05) 100%);
    pointer-events: none;
}

/* Common Auth Card */
.auth-card {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--primary-golden);
    padding: 2.5rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Common Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: var(--primary-golden);
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.auth-header p {
    color: var(--gray-light);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Common Form Floating Styles */
.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating > .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--gray-dark);
    border-radius: 8px;
    color: var(--white);
    padding: 1rem 0.75rem;
    height: auto;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-golden);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-floating > .form-control::placeholder {
    color: transparent;
}

.form-floating > label {
    color: var(--gray-light);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 1rem 0.75rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-golden);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating > textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Common Form Check Styles */
.form-check {
    margin-bottom: 1.5rem;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--gray-dark);
    border-radius: 4px;
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.25em;
}

.form-check-input:checked {
    background-color: var(--primary-golden);
    border-color: var(--primary-golden);
}

.form-check-input:focus {
    border-color: var(--primary-golden);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-check-label {
    color: var(--white);
    font-size: 0.95rem;
    margin-left: 0.5rem;
}

.form-check-label a {
    color: var(--primary-golden);
    text-decoration: none;
}

.form-check-label a:hover {
    color: var(--secondary-golden);
    text-decoration: underline;
}

/* Common Auth Footer */
.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    margin-top: 1.5rem;
}

.auth-footer p {
    color: var(--gray-light);
    margin-bottom: 0.5rem;
}

.auth-footer a {
    color: var(--primary-golden);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    color: var(--secondary-golden);
    text-decoration: underline;
}

/* Common Alert Styles */
.alert {
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.alert-info {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
    border: 1px solid #17a2b8;
}

.text-danger {
    color: var(--danger) !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Common Button Styles - Enhanced */
.btn-golden {
    background: linear-gradient(45deg, var(--primary-golden), var(--secondary-golden));
    color: var(--black);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-golden:hover {
    background: linear-gradient(45deg, var(--secondary-golden), var(--primary-golden));
    color: var(--black);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline-golden {
    border: 2px solid var(--primary-golden);
    color: var(--primary-golden);
    background: transparent;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-golden:hover {
    background: var(--primary-golden);
    color: var(--black);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Common Container Styles */
.black-container {
    background: var(--black);
    min-height: 80vh;
    padding: 60px 0;
}

.golden-card {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--primary-golden);
    border-radius: 15px;
    padding: 30px;
    color: var(--white);
    transition: all 0.3s ease;
}

.golden-card:hover {
    border-color: var(--secondary-golden);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

/* Section Title Styles */
.section-title {
    color: var(--primary-golden);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-golden);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--secondary-golden);
}

/* Common Responsive Design */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem;
        margin: 1rem;
        border-radius: 10px;
    }
    
    .auth-header h2 {
        font-size: 1.8rem;
    }
    
    .form-floating > .form-control {
        font-size: 0.95rem;
    }
    
    .btn-golden,
    .btn-outline-golden {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    
    .golden-card {
        padding: 20px;
        margin: 15px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        min-height: 90vh;
        padding: 1rem 0;
    }
    
    .auth-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .auth-header h2 {
        font-size: 1.6rem;
    }
    .carousel-indicators{
        margin-bottom: 0 !important;
    }
}

.offcanvas .user-icon {
    color: #cccccc !important;
    text-decoration: none;
}

.offcanvas .user-icon:hover {
    color: var(--primary-color) !important;
}
