/* Layout Components CSS */

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    z-index: 1030;
    padding: 1rem 0;
}

.navbar-brand {
    margin-right: 1rem;
    font-size: 1.25rem;
    text-decoration: none;
    white-space: nowrap;
    color: #1f2937 !important;
}


.navbar-nav .nav-link {
    color: #374151 !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    border-radius: 6px;
    margin: 0 0.25rem;
    /* Remove hover and focus effects */
    transition: none !important;
}

.navbar-nav .nav-link:hover {
    color: #374151 !important;
    background-color: transparent !important;
    text-decoration: none !important;
}

.navbar-nav .nav-link:focus {
    color: #374151 !important;
    background-color: transparent !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-nav .nav-link.active {
    color: #FE8267 !important;
    background-color: #8B4513 !important;
    border: none !important;
}





.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2855, 65, 81, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Auth Buttons */
.navbar .btn-outline-primary {
    border: none;
    color: black;
    outline: none;
    font-weight: 600;
    border-radius: 8px;
}

.navbar .btn-outline-primary:hover {
    color: black !important;
    background-color: transparent !important;
    border: none !important;
}

.navbar .btn-outline-primary:focus {
    color: black !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* White color for login button on index page only */
body.index-page .navbar .btn-outline-primary {
    color: white !important;
}

body.index-page .navbar .btn-outline-primary:hover {
    color: white !important;
    background-color: transparent !important;
    border: none !important;
}

body.index-page .navbar .btn-outline-primary:focus {
    color: white !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar .btn-primary {
    background-color: #FE8267;
    border-color: #FE8267;
    font-weight: 600;
    border-radius: 64px;
}

.navbar .btn-primary:hover {
    background-color: #FE8267 !important;
    border-color: #FE8267 !important;
}


/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    color: #374151;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: #e5e7eb;
}

/* Footer Styles */
.footer-dark {
    background: #000000;
    color: #ffffff;
    padding: 3rem 0;
    margin-top: auto;
}

/* Sticky Footer Layout */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.footer-dark h6 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-dark .text-light-50 {
    color: #9ca3af !important;
    transition: color 0.3s ease;
}

.footer-dark .footer-link {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 400;
}

/* Footer Logo */
.footer-logo-icon {
    width: 40px;
    height: 40px;
    background-color: #FE8267;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
}

/* Amenities Container */
.amenities-container {
    margin-top: 1rem;
}

.amenity-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.amenity-row:last-child {
    margin-bottom: 0;
}

.amenity-tag {
    background-color: #FE8267;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}


/* Responsive Amenities */
@media (max-width: 768px) {
    .amenity-row {
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }
    
    .amenity-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .amenity-row {
        gap: 0.3rem;
        margin-bottom: 0.4rem;
    }
    
    .amenity-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-collapse {
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1.5rem;
    }
    
    .navbar-nav {
        margin-bottom: 1.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem 0 !important;
        border-bottom: 1px solid #f3f4f6;
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .navbar .d-flex {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .navbar .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-brand img {
        height: 32px;
    }
    
    .footer-dark .col-lg-4 {
        margin-bottom: 2.5rem;
    }
    
    .footer-dark h6 {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }
    
    .amenity-row {
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }
    
    .amenity-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand img {
        height: 28px;
    }
    
    .navbar-collapse {
        padding: 1rem;
        margin-top: 0.75rem;
    }
    
    .footer-dark {
        padding: 2rem 0;
    }
    
    .footer-dark h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .amenity-row {
        gap: 0.3rem;
        margin-bottom: 0.4rem;
    }
    
    .amenity-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .footer-logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Spinner */
.spinner-border {
    width: 2rem;
    height: 2rem;
    border-width: 0.2em;
}

/* Utility Classes */
.text-primary {
    color: #FE8267 !important;
}

.bg-primary {
    background-color: #FE8267 !important;
}

.border-primary {
    border-color: #FE8267 !important;
}

/* Focus States for Accessibility */
.dropdown-item:focus,
footer a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    footer {
        display: none !important;
    }
}
