/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .navbar-toggler {
        padding: 0.75rem; /* Increased hit area */
        min-height: 48px;
        min-width: 48px;
        cursor: pointer;
        margin: 0.5rem 0 !important;
        z-index: 1000;
        border: 1px solid rgba(0,0,0,0.1);
        position: relative;
    }
    
    .navbar-toggler-icon {
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-collapse {
        padding-top: 1rem; /* Space above collapsed menu */
    }
    
    /* Fix for iOS focus issues */
    .navbar-toggler:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }
}

.navbar {
    transition: all 0.3s ease;
    background-color: #e9cfc8 !important;
    min-height: 70px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Existing navbar styles preserved */
.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--dark-color) !important; 
}

.navbar-brand img {
    height: 60px !important;
    width: auto;
    max-height: 60px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Medium weight for nav links */
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    color: var(--dark-color) !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Make Book Now nav button text blue */
.navbar .nav-item .btn[data-cal-link="bouncetique"] {
    color: #0d6efd !important;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    background: url('../usethis.JPG') no-repeat center center;
    background-size: cover;
    color: var(--dark-color);
    padding: 100px 0;
    text-align: center;
    background-color: var(--light-color);
}

.hero-section .display-4,
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section .lead,
.hero-section p,
.hero-section .btn {
    color: #f8f6f3 !important; /* off-white for better contrast over hero image */
    text-shadow: 0 2px 8px rgba(35,31,32,0.15);
}

/* Mobile Button Improvements */
@media (max-width: 768px) {
    .btn {
        padding: 1rem 2rem !important; /* Larger touch target */
        min-width: 100%; /* Full width on small screens */
        margin-bottom: 1rem;
    }
}

.btn {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Custom styles for buttons */
.hero-section .btn-outline-light,
.card-body .btn-outline-light,
footer .btn-outline-light {
    color: var(--dark-color); /* Ensure text color is dark when not hovered */
    opacity: 0.7; /* Increase opacity */
}

.hero-section .btn-primary,
.card-body .btn-primary,
footer .btn-primary,
.hero-section .btn-outline-primary,
.card-body .btn-outline-primary,
footer .btn-outline-primary {
    opacity: 1; /* Full opacity for better visibility */
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 3px 8px rgba(250,184,133,0.3);
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background: transparent !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.btn-outline-light:hover, .btn-outline-light:focus {
    color: var(--primary-color);
}

/* Cards */
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    background: #fff;
    color: var(--dark-color);
}

.card:hover {
    box-shadow: 0 8px 25px rgba(255,156,125,0.15), 0 3px 10px rgba(168,230,210,0.1);
    border: 1px solid rgba(255,156,125,0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Features */
.feature-icon {
    height: 64px;
    width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-color) !important;
}

.feature-icon svg {
    width: 40px; /* Slightly smaller for a cleaner look */
    height: 40px;
}

/* Custom Price Tag */
.position-absolute.top-0.end-0.bg-primary {
    background: linear-gradient(135deg, var(--splash-yellow), var(--primary-color)) !important;
    color: var(--dark-color) !important;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

/* Improved List Styling */
.list-unstyled li {
    padding-left: 5px;
    margin-bottom: 8px;
    position: relative;
}

/* Feature List Styling - Removed aggressive hover effect */
.list-unstyled li {
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.list-unstyled li:hover {
    opacity: 1;
}

/* Smooth Scrolling for Anchor Links */
html {
    scroll-behavior: smooth;
}

/* Section Padding for Anchor Navigation */
section {
    padding-top: 80px;
    margin-top: -80px;
}

/* First section after hero needs special treatment */
.hero-section + section {
    padding-top: 120px;
    margin-top: 0;
    z-index: 1;
    position: relative;
}

/* Transitions for Links and Buttons - Reduced transition scope */
a {
    transition: color 0.2s ease;
}

/* Add some space between sections */
section:not(:first-of-type) {
    margin-top: 2rem;
}

/* Make hero buttons stand out */
.hero-section .btn {
    opacity: 1;
    border: 2px solid #fff;
    font-weight: 700;
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.hero-section .btn-primary {
    background-color: #8bc0d9;
    border-color: #8bc0d9;
    color: #fff;
    text-shadow: none;
    font-size: 1.1rem;
}

.hero-section .btn-outline-primary {
    color: white;
    border-color: white;
    background-color: rgba(255,255,255,0.1);
}

.hero-section .btn-outline-primary:hover {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

/* Bouncetique Custom Styles */

body {
    font-family: 'Open Sans', sans-serif;
    margin-top: 70px; /* Adjusted for fixed-top navbar height */
    background: var(--light-color);
    color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
    font-family: 'Montserrat', sans-serif;
    color: #231f20;
}

/* Add more specific styles for Bouncetique as needed */

.card.shadow-sm {
    transition: box-shadow 0.2s ease;
}

.card.shadow-sm:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

#packages .card-title {
    font-weight: 700;
}

#packages .list-unstyled li {
    padding: 0.25rem 0;
}

footer.bg-dark {
    background: linear-gradient(135deg, var(--dark-color), var(--accent-color)) !important;
    color: #fff !important;
}

footer.bg-dark a {
    color: #fff !important;
    transition: color 0.2s ease;
}

footer.bg-dark a:hover {
    color: var(--secondary-color) !important;
}

.text-primary,
svg.text-primary,
.bi.text-primary {
    color: var(--primary-color) !important;
    fill: var(--primary-color) !important;
}

/* Remove Bootstrap blue from .text-primary */
.text-primary {
    /* color already overridden above */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

.hero-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45); /* semi-transparent black */
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-section h1,
.hero-section p,
.hero-section .btn {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

:root {
  --primary-color: #fab885; /* Updated to requested orange */
  --secondary-color: #a8e6d2; /* Soft mint green from the logo */
  --light-color: #f9e8e8; /* Soft pink background */
  --dark-color: #2d2d2d; /* Dark gray for text */
  --accent-color: #9bb8d3; /* Soft blue accent from logo */
  --splash-yellow: #ffd966; /* Yellow from the splash */
  --splash-purple: #b19cd9; /* Purple from the splash */
  --shadow: 0 4px 16px rgba(250,184,133,0.15);
}

/* Add splash decorative elements */
section:nth-child(even) {
    background: linear-gradient(135deg, rgba(168,230,210,0.05) 0%, rgba(155,184,211,0.05) 100%);
    position: relative;
}

section:nth-child(odd) {
    background: linear-gradient(135deg, rgba(255,156,125,0.05) 0%, rgba(255,217,102,0.05) 100%);
    position: relative;
}

/* Add splash accents to headings */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Fun splash animations */
@keyframes splash {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Footer with splash theme */
/* Remove duplicate - already defined above */

/* Add colorful dots/splashes decoration */
