/*text utility for consistent light green across sections */
.text-kc-success { color: #28a745 !important; }
/* Kabaleyan Cove Resort - Custom Styles */

/* Removed confusing root variables */

/* Removed all confusing root variables */

body {
	background-color: #ffffff;
	color: #333333;
	font-feature-settings: "liga" 1, "kern" 1;
}

/* Typography - if Poppins loaded */
body, .btn, .form-control, .form-select, .nav-link, .card, h1, h2, h3, h4, h5, h6 {
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section - Removed duplicate definition */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.room-card {
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
}

/* Room Images */
.room-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px 15px 0 0;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Forms */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Ensure logo image is visible and properly sized */
.navbar-logo {
	height: 72px; /* default desktop height */
	width: auto;   /* keep aspect ratio */
	object-fit: contain;
	display: inline-block;
	filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.25));
}

@media (max-width: 991.98px) {
	.navbar-logo { height: 64px; }
}

@media (max-width: 575.98px) {
	.navbar-logo { height: 56px; }
}

/* Ensure navbar height accommodates the logo */
.navbar { min-height: 80px; }

/* Admin Styles */
.sidebar {
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
    color: #0cb460;
    border-radius: 8px;
    margin: 2px 0;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    background: #0cb460;
    color: var(--primary-color);
}

.sidebar .nav-link.active {
    background: #0cb460;
    color: white;
}

/* Dashboard Cards */
.border-left-primary {
    border-left: 4px solid var(--primary-color) !important;
}

.border-left-success {
    border-left: 4px solid var(--success-color) !important;
}

.border-left-info {
    border-left: 4px solid var(--info-color) !important;
}

.border-left-warning {
    border-left: 4px solid var(--warning-color) !important;
}

/* Tables */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: var(--light-color);
    border: none;
    font-weight: 600;
    color: var(--dark-color);
}

.table tbody tr {
    transition: background-color 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(44, 90, 160, 0.05);
}

/* Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
    border-radius: 6px;
}

/* Payment Options */
.payment-option {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.payment-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.payment-option.border-primary {
    border-color: var(--primary-color) !important;
    background: rgba(44, 90, 160, 0.05);
}

/* Room Options */
.room-option {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.room-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.room-option.border-primary {
    border-color: var(--primary-color) !important;
    background: rgba(44, 90, 160, 0.05);
}

/* Booking Summary */
.booking-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

/* Status Badges */
.status-badge .badge {
    font-size: 0.9rem;
    padding: 0.6em 1em;
}

/* Booking modal - light green theme */
#bookingModal .modal-content { border: 1px solid rgba(40,167,69,.25); }
#bookingModal .modal-header { background: rgba(40,167,69,.08); border-bottom: 1px solid rgba(40,167,69,.2); }
#bookingModal .modal-title { color: #2e7d32; }
#bookingModal .modal-footer { background: rgba(40,167,69,.05); border-top: 1px solid rgba(40,167,69,.15); }
#bookingModal .btn-primary#submitBooking { background: #28a745; border-color: #28a745; }
#bookingModal .btn-primary#submitBooking:hover { background: #218838; border-color: #1e7e34; }

/* Room Details modal - blue theme */
#roomDetailsModal .modal-content { border: 1px solid rgba(13,110,253,.25); }
#roomDetailsModal .modal-header { background: rgba(13,110,253,.08); border-bottom: 1px solid rgba(13,110,253,.2); }
#roomDetailsModal .modal-title { color: #218838; }
#roomDetailsModal .modal-footer { background: rgba(13,110,253,.05); border-top: 1px solid rgba(13,110,253,.15); }
#roomDetailsModal .btn-primary { background: #28a745; border-color: #28a745; }
#roomDetailsModal .btn-primary:hover { background: #218838; border-color: #1e7e34; }
#roomDetailsModal .btn-secondary { color: #28a745; border-color: #28a745; background: transparent; }
#roomDetailsModal .btn-secondary:hover { background: #28a745; border-color: #28a745; color: #fff; }

/* Neutral badge inside details modal */
#roomDetailsModal .badge { background: #ffffff !important; color: #333 !important; border: 1px solid #e0e0e0; }

/* Contact Items */
.contact-item {
    padding: 2rem 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

/* Feature Items */
.feature-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        background-attachment: scroll;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .btn, .sidebar, .card-header {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Form Validation Styles */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* === Navbar: solid white by default, glass only when scrolled === */
.navbar-glass {
	background: #ffffff !important; /* solid white default */
	backdrop-filter: none; /* no glass until scrolled */
	border-bottom: 1px solid rgba(0,0,0,0.06);
	transition: background-color 0.2s ease, backdrop-filter 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Enhanced glass effect when scrolled */
.navbar-glass.scrolled {
	background: rgba(255, 255, 255, 0.85) !important; /* frosted white */
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid rgba(0,0,0,0.08);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}


/* Light brown for nav links */
.navbar-glass .nav-link {
	color: #b07a3a !important; /* light brown */
	opacity: .9;
	transition: all 0.2s ease;
	text-shadow: none;
	border-radius: 10px;
	padding: 0.5rem 0.75rem;
	position: relative; /* for underline indicator */
}
.navbar-glass .nav-link:hover { opacity: 1; text-shadow: none; color: #8f642f !important; }

/* Hover/active box effect for nav links (exclude actual buttons) */
.navbar-glass .nav-link:not(.btn):hover,
.navbar-glass .nav-link:not(.btn):focus {
	background: #ffffff; /* white box on hover */
	color: #8f642f !important; /* darker brown on hover */
	box-shadow: 0 0 0 1px rgba(0,0,0,.06) inset, 0 1px 6px rgba(0,0,0,.06);
}

.navbar-glass .nav-link:not(.btn).active {
	background: #ffffff; /* keep white when active */
	color: #8f642f !important;
	box-shadow: 0 0 0 1px rgba(0,0,0,.08) inset, inset 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Underline indicator (animated) */
.navbar-glass .nav-link::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 4px;
	height: 3px;
	border-radius: 2px;
	background: transparent;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease, background .2s ease;
}
.navbar-glass .nav-link:not(.btn):hover::after,
.navbar-glass .nav-link:not(.btn):focus::after {
	background: #d19a55; /* lighter brown on hover */
	transform: scaleX(1);
}
.navbar-glass .nav-link:not(.btn).active::after {
	background: #b07a3a; /* light brown when active */
	transform: scaleX(1);
}

/* Click pulse feedback */
@keyframes navClickPulse {
	0% { box-shadow: 0 0 0 0 rgba(176, 122, 58, 0.35); }
	100% { box-shadow: 0 0 0 10px rgba(176, 122, 58, 0); }
}
.navbar-glass .nav-link.pulse {
	animation: navClickPulse 420ms ease-out;
}

/* Dark navigation buttons when scrolled (glass effect active) */
.navbar-glass.scrolled .nav-link {
	color: #333 !important;
	opacity: 1;
	text-shadow: none;
	font-weight: 500;
}
.navbar-glass.scrolled .nav-link:hover { 
	color: #000 !important;
	opacity: 1; 
	text-shadow: none;
}

.navbar-glass .navbar-brand {
	color: #333 !important;
	text-shadow: none;
}

.navbar-glass.scrolled .navbar-brand {
	color: #333 !important;
	text-shadow: none;
	font-weight: 700;
}

/* Hero Section - User-facing only */
body:not(.admin) .hero-section,
.index-page .hero-section {
	position: relative;
    min-height: 100vh;
	overflow: hidden;
}

.hero-background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}
.hero-overlay { min-height: 100vh; display: flex; align-items: center; }

/* Welcome section */
#welcome { min-height: 100vh; display: flex; align-items: center; }

/* Benefits section */
#benefits { min-height: 100vh; display: flex; align-items: center; }
.benefit-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(40,167,69,.1); color: #28a745; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.benefit-card { transition: transform .2s ease, box-shadow .2s ease; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,110,53,.12) !important; }

/* Section decorators */
.section-decor { position: relative; }
.accent-pill { display: inline-block; font-size: .85rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(40,167,69,.12); color: #28a745; font-weight: 600; letter-spacing: .02em; }
.accent-bar { width: 80px; height: 4px; background: linear-gradient(90deg, #28a745, #7ed957); border-radius: 999px; }
.gradient-text { background: linear-gradient(90deg, #28a745, #7ed957); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass-panel { background: rgba(255,255,255,.6); backdrop-filter: blur(10px); border: 1px solid rgba(40,167,69,.15); }
.hero-section .btn.btn-warning {
	background: #ffc107;
	border-color: #ffc107;
	color: #000;
	box-shadow: 0 10px 20px rgba(255,193,7,.25);
}

/* Hero Typography */
.hero-title {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 600px;
    margin: 0 auto;
}

.hero-button-glass {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-button-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-button-glass:focus {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Enhanced Payment Modal Styles */
.payment-section {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    background: #ffffff;
}

.section-title {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.payment-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-card {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    background: #ffffff;
    transition: all 0.3s ease;
    height: 100%;
}

.payment-card:hover {
    border-color: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
    transform: translateY(-2px);
}

.payment-option.selected .payment-card {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.payment-logo {
    width: 80px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.payment-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 1rem;
}

.summary-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.summary-item span:first-child {
    color: #6c757d;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    color: #28a745;
}

.test-mode-notice {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 1rem;
    text-align: center;
    color: #155724;
}

.payment-details {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.payment-details h6 {
    color: #28a745;
    margin-bottom: 0.5rem;
}

.payment-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.qr-code {
    width: 200px;
    height: 200px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-info {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.payment-instructions {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
}

.payment-instructions ol {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.payment-instructions li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Payment method specific styles */
.payment-option[data-method="gcash"] .payment-card {
    border-color: #00A651;
}

.payment-option[data-method="gcash"]:hover .payment-card,
.payment-option[data-method="gcash"].selected .payment-card {
    border-color: #00A651;
    background: rgba(0, 166, 81, 0.05);
}

.payment-option[data-method="paymaya"] .payment-card {
    border-color: #00B2FF;
}

.payment-option[data-method="paymaya"]:hover .payment-card,
.payment-option[data-method="paymaya"].selected .payment-card {
    border-color: #00B2FF;
    background: rgba(0, 178, 255, 0.05);
}


.payment-option[data-method="card"] .payment-card {
    border-color: #1a1a1a;
}

.payment-option[data-method="card"]:hover .payment-card,
.payment-option[data-method="card"].selected .payment-card {
    border-color: #1a1a1a;
    background: rgba(26, 26, 26, 0.05);
}

.payment-option[data-method="bdo"] .payment-card {
    border-color: #1E3A8A;
}

.payment-option[data-method="bdo"]:hover .payment-card,
.payment-option[data-method="bdo"].selected .payment-card {
    border-color: #1E3A8A;
    background: rgba(30, 58, 138, 0.05);
}

.card-details {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.card-details h6 {
    color: #28a745;
    margin-bottom: 1rem;
}

.card-details .form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.card-details .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Payment Option Cards */
.payment-option-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option-card .payment-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.payment-option-card:hover .payment-card {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.payment-option-card.selected .payment-card {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.payment-option-card .payment-icon {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.payment-option-card.selected .payment-icon {
    color: #007bff;
}

.payment-option-card h6 {
    margin: 0.5rem 0 0.25rem 0;
    font-weight: 600;
    color: #495057;
}

.payment-option-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Payment Features */
.payment-features {
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.feature-item i {
    font-size: 1.1rem;
}

/* Payment Summary */
.payment-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.summary-card {
    background: #fff;
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: #28a745;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid #e9ecef;
}

/* Buttons - using standard Bootstrap colors */
.btn-primary {
	background: #007bff;
	border-color: #007bff;
	box-shadow: 0 8px 16px rgba(0,123,255,.25);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-outline-primary {
	color: #007bff;
	border-color: #007bff;
}
.btn-outline-primary:hover {
	background: #007bff;
	color: #fff;
}

/* Cards */
.card { border-radius: 14px; }
.card.shadow, .shadow-sm { box-shadow: 0 10px 30px rgba(13,42,76,.08) !important; }
.room-card .card { transition: transform .2s ease, box-shadow .2s ease; }
.room-card .card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,42,76,.12) !important; }

/* Rooms full-height layout */
.rooms-fullheight { min-height: 100vh; display: flex; align-items: center; }
.rooms-fullheight #roomsContainer { min-height: 60vh; }
.room-tile { border-radius: 16px; }
.room-image-wrapper { position: relative; height: 360px; }
.room-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease, filter .3s ease; }
.room-overlay {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 55%);
	opacity: 0; transition: opacity .25s ease;
}
.room-tile:hover .room-overlay { opacity: 1; pointer-events: auto; }
.room-tile:hover .room-image { transform: scale(1.05); filter: blur(2px) brightness(.9); }
.room-overlay .btn { pointer-events: auto; }

/* Glassmorphism success button */
.btn-glass-success { 
	background: rgba(40,167,69,.12);
	color: #28a745; 
	border: 1px solid rgba(40,167,69,.25);
	backdrop-filter: blur(6px);
	box-shadow: 0 8px 24px rgba(40,167,69,.15);
}
.btn-glass-success:hover, .btn-glass-success:focus {
	background: rgba(40,167,69,.18);
	color: #218838;
	border-color: rgba(40,167,69,.35);
}

/* Green-themed buttons within room overlay */
.room-overlay .btn-success {
	background-color: #28a745;
	border-color: #28a745;
	color: #fff;
	box-shadow: 0 6px 16px rgba(40,167,69,.35);
}
.room-overlay .btn-success:hover,
.room-overlay .btn-success:focus {
	background-color: #218838;
	border-color: #1e7e34;
	color: #fff;
	filter: brightness(1.03);
}
.room-overlay .btn-outline-success {
	color: #28a745;
	border-color: #28a745;
	background-color: transparent;
}
.room-overlay .btn-outline-success:hover,
.room-overlay .btn-outline-success:focus {
	background-color: #28a745;
	border-color: #28a745;
	color: #fff;
}

/* Badges - using standard Bootstrap colors */
.badge.bg-primary { background-color: #218838 !important; }
.badge.bg-info { background-color: #17a2b8 !important; }

/* Section spacing */
#rooms { background: #fff; border-radius: 24px; padding: 2rem 1rem; }

/* Amenities Carousel */
#amenities { min-height: 55vh; }
#amenities .carousel,
#amenities .carousel-inner,
#amenities .carousel-item { height: 55vh; }
.amenity-card { position: relative; height: 100%; background: transparent; }
.amenity-image { 
	width: 100%; 
	height: 100%; 
	object-fit: cover; 
	display: block; 
	/* Remove any color cast */
	filter: none;
}
.amenity-overlay {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	/* Neutral dark gradient only (no color tint) */
	background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
	padding: 1.25rem 1.5rem;
}
.amenity-title { color: #fff; font-weight: 700; font-size: 1.25rem; }

#amenities .carousel-control-prev-icon,
#amenities .carousel-control-next-icon { filter: invert(1) grayscale(100%); }

#amenities .carousel-indicators [data-bs-target] {
	width: 12px; height: 12px; border-radius: 50%;
	background-color: rgba(176,122,58,.35);
}
#amenities .carousel-indicators .active { background-color: #b07a3a; }

/* Ensure carousel items have no tinted background */
#amenities .carousel-item { background: transparent; }

/* Light green theme for Get In Touch section */
#location { background: linear-gradient(180deg, rgba(40,167,69,.08), rgba(40,167,69,.04)); min-height: 100vh; display: flex; align-items: center; }
#location .text-success { color: #28a745 !important; }
#location .contact-block i { color: #28a745; }
#location .contact-icon {
	width: 48px; height: 48px; border-radius: 12px;
	background: rgba(40,167,69,.1);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1.25rem; color: #28a745;
}
#location .contact-block { transition: transform .2s ease, box-shadow .2s ease; }
#location .contact-block:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(13,110,53,.12) !important; }

/* Forms - using standard Bootstrap colors */
.form-control:focus, .form-select:focus {
	border-color: #007bff;
	box-shadow: 0 0 0 .2rem rgba(0,123,255,.15);
}

/* Booking summary */
.booking-summary { border: 1px solid #e7edf5; }

/* Footer - using standard Bootstrap colors */
footer.bg-dark {
	background: linear-gradient(180deg, #343a40, #1a1a1a) !important;
	border-top: 1px solid rgba(255,255,255,0.06);
}
footer .text-muted { color: #a9c2b9 !important; }

/* Enhanced Modern Footer */
.footer-modern {
    background: linear-gradient(180deg, #212529, #000000) !important;
    color: #f8f9fa;
    padding-top: 4rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #28a745, transparent);
}

.footer-modern h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-modern h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #28a745;
}

/* Footer Brand */
.footer-brand .footer-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-brand p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: #28a745;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #28a745;
}

.footer-link:hover {
    color: #28a745;
    padding-left: 20px;
}

.footer-link:hover::before {
    opacity: 1;
    left: 0;
}

/* Contact Info */
.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.contact-item p {
    margin: 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Bottom */
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-bottom-links .footer-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links .footer-link:hover {
    color: #28a745;
}

/* Legacy footer styles for backward compatibility */
.site-footer { background: linear-gradient(180deg, #0f172a, #0b1222); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.site-footer .footer-link { color: rgba(255,255,255,.7); text-decoration: none; font-weight: 500; }
.site-footer .footer-link:hover { color: #fff; }
.site-footer .footer-sep { border-color: rgba(255,255,255,.08); }
.site-footer .footer-social { color: rgba(255,255,255,.8); font-size: 1.1rem; }
.site-footer .footer-social:hover { color: #fff; }

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-modern {
        padding-top: 3rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-brand .footer-logo {
        width: 100px;
        height: 100px;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .footer-modern h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
	.hero-section { min-height: 70vh; background-attachment: scroll; }
}

/* Align Bootstrap primary utilities to white */
.bg-primary { background-color: #ffffff !important; }
.text-primary { color: #ffffff !important; }
.border-primary { border-color: #ffffff !important; }

/* Form accents - using standard Bootstrap colors */
.form-check-input:checked {
	background-color: #007bff;
	border-color: #007bff;
}

/* Standard Bootstrap components */
.btn-warning { /* use standard warning color */
	background-color: #ffc107 !important;
	border-color: #ffc107 !important;
	color: #000 !important;
}

.link-primary { color: #007bff !important; }
.link-primary:hover { color: #0056b3 !important; }

.page-link { color: #007bff; }
.page-item.active .page-link {
	background-color: #007bff;
	border-color: #007bff;
	color: #fff;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
	background-color: #007bff;
}

.progress-bar { background-color: #007bff; }

.list-group-item.active {
	background-color: #007bff;
	border-color: #007bff;
}

.dropdown-item.active, .dropdown-item:active {
	background-color: #007bff;
	color: #fff;
}

.alert-primary {
	background-color: rgba(0,123,255,.12);
	border-color: rgba(0,123,255,.25);
	color: #007bff;
}
