/* Main Color Variables */
:root {
    /* Primary Colors - Blue Theme */
    --primary: #1e88e5;       /* Primary blue */
    --primary-light: #64b5f6; /* Lighter shade for hover states */
    --primary-dark: #1565c0;  /* Darker shade for active states */
    --primary-bg-subtle: #e3f2fd;
    
    /* Secondary Colors - Teal */
    --secondary: #26a69a;     /* Teal for secondary elements */
    --secondary-light: #4db6ac;
    --secondary-dark: #00897b;
    --secondary-bg-subtle: #e0f2f1;
    
    /* Accent Colors - Deep Purple */
    --accent: #7e57c2;       /* Deep purple for accents */
    --accent-light: #9575cd;
    --accent-dark: #5e35b1;
    --accent-bg-subtle: #f3e5f5;
    
    /* Success Colors - Green */
    --success: #43a047;      /* Green for success states */
    --success-light: #66bb6a;
    --success-dark: #2e7d32;
    --success-bg-subtle: #e8f5e9;
    
    /* Warning Colors - Amber */
    --warning: #ffa000;      /* Amber for warnings */
    --warning-light: #ffb74d;
    --warning-dark: #ff8f00;
    --warning-bg-subtle: #fff8e1;
    
    /* Danger Colors - Red */
    --danger: #e53935;       /* Red for errors/danger */
    --danger-light: #ef5350;
    --danger-dark: #c62828;
    --danger-bg-subtle: #ffebee;
    
    /* Neutral Colors */
    --light: #f5f5f5;        /* Light background */
    --dark: #263238;         /* Dark text/background */
    --gray-100: #f5f5f5;     /* Light gray */
    --gray-200: #e0e0e0;
    --gray-300: #bdbdbd;
    --gray-400: #9e9e9e;
    --gray-500: #757575;
    --gray-600: #616161;
    --gray-700: #424242;
    --gray-800: #303030;
    --gray-900: #212121;
    
    /* Theme Specific Colors */
    --outdoor: #2e7d32;      /* Green for outdoor activities */
    --outdoor-light: #e8f5e9;
    --indoor: #1e88e5;       /* Blue for indoor activities */
    --indoor-light: #e3f2fd;
    --family: #6f42c1;        /* Purple for family activities */
    --family-light: #f0e6ff;
    --kids: #fd7e14;          /* Orange for kids activities */
    --kids-light: #fff3e6;
    --couples: #d63384;       /* Pink for couples activities */
    --couples-light: #ffe6f2;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), #0a58ca);
    --gradient-success: linear-gradient(135deg, var(--success), #157347);
    
    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    /* Border Radius */
    --border-radius: 0.375rem;
    --border-radius-sm: 0.25rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    --border-radius-xxl: 1rem;
    --border-radius-pill: 50rem;
    
    /* Spacing */
    --spacer: 1rem;
    --spacer-2: calc(var(--spacer) * 1.5);
    --spacer-3: calc(var(--spacer) * 3);
    --spacer-4: calc(var(--spacer) * 4);
    --spacer-5: calc(var(--spacer) * 5);
    
    /* Transitions */
    --transition-base: all 0.2s ease-in-out;
    --transition-fade: opacity 0.15s linear;
    --transition-collapse: height 0.35s ease;
    
    /* Z-index */
    --zindex-dropdown: 1000;
    --zindex-sticky: 1020;
    --zindex-fixed: 1030;
    --zindex-modal-backdrop: 1040;
    --zindex-offcanvas: 1050;
    --zindex-modal: 1060;
    --zindex-popover: 1070;
    --zindex-tooltip: 1080;
}

/* Base Styles */
:root {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Height of fixed navbar */
}

body {
    color: var(--gray-900);
    background-color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    /* padding-top: 80px; Height of fixed navbar */
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    line-height: 1.5;
}

.btn i {
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
}

.btn-primary:active {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* Secondary Button */
.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    color: white;
}

/* Accent Button */
.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    border: none;
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: white;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Cards */
.card {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    overflow: hidden;
    margin-bottom: var(--spacer);
    background-color: white;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.card-text {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid var(--gray-200);
    padding: 1rem 1.5rem;
}

/* Navigation */
.navbar {
    padding: 0.8rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-dark);
    transform: scale(1.02);
}

.navbar-brand img {
    height: 80px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(-5deg);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    margin: 0 0.3rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
    background-color: var(--primary-bg-subtle);
}

.nav-link:hover::before,
.nav-link:focus::before {
    width: 70%;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
    background-color: var(--primary-bg-subtle);
}

.nav-link.active::before {
    width: 70%;
    background: var(--primary);
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border: 1px solid var(--gray-200);
}

.dropdown-item {
    padding: 0.6rem 1.25rem;
    color: var(--gray-700);
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-bg-subtle);
    color: var(--primary);
    transform: translateX(5px);
}

.dropdown-divider {
    border-top: 1px solid var(--gray-200);
    margin: 0.5rem 0;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
    border-radius: var(--border-radius-pill);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.bg-outdoor { 
    background-color: var(--outdoor);
    color: white;
}

.bg-indoor { 
    background-color: var(--indoor);
    color: white;
}

.bg-family { 
    background-color: var(--family);
    color: white;
}

.bg-kids { 
    background-color: var(--kids);
    color: white;
}

.bg-couples {
    background-color: var(--couples);
    color: white;
}

/* Backgrounds */
.bg-light {
    background-color: var(--gray-100) !important;
}

.bg-outdoor-light {
    background-color: var(--outdoor-light);
}

.bg-indoor-light {
    background-color: var(--indoor-light);
}

.bg-family-light {
    background-color: var(--family-light);
}

.bg-kids-light {
    background-color: var(--kids-light);
}

.bg-couples-light {
    background-color: var(--couples-light);
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px 0 0;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-600);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Utilities */
.rounded { border-radius: var(--border-radius) !important; }
.rounded-sm { border-radius: var(--border-radius-sm) !important; }
.rounded-lg { border-radius: var(--border-radius-lg) !important; }
.rounded-xl { border-radius: var(--border-radius-xl) !important; }
.rounded-xxl { border-radius: var(--border-radius-xxl) !important; }
.rounded-pill { border-radius: var(--border-radius-pill) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-none { box-shadow: none !important; }

/* Spacing utilities */
.mt-6 { margin-top: 4rem !important; }
.mb-6 { margin-bottom: 4rem !important; }
.pt-6 { padding-top: 4rem !important; }
.pb-6 { padding-bottom: 4rem !important; }

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

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

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

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .section {
        padding: 4rem 0;
    }
    
    h1, .h1 { font-size: 2.25rem; }
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.5rem; }
    h4, .h4 { font-size: 1.25rem; }
}

@media (max-width: 767.98px) {
    .section {
        padding: 3rem 0;
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .container {
        max-width: 100%;
    }
}
