/* Nord Jump - Modern Design with Roboto Font */

/* Import Roboto Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Roboto+Slab:wght@400;600;700&display=swap');

/* Modern Blue Color Theme Variables */
:root {
    --primary-color: #1565C0;        /* Deep Blue */
    --primary-light: #42A5F5;        /* Light Blue */
    --primary-dark: #0D47A1;         /* Dark Blue */
    --secondary-color: #00ACC1;      /* Cyan Blue */
    --secondary-light: #26C6DA;      /* Light Cyan */
    --accent-color: #3F51B5;         /* Indigo Blue */
    --accent-light: #5C6BC0;         /* Light Indigo */
    --neutral-color: #F8F9FA;        /* Light Gray */
    --dark-color: #212529;           /* Dark Gray */
    --light-color: #FFFFFF;          /* White */
    --text-color: #343A40;           /* Dark Text */
    --text-light: #6C757D;           /* Light Text */
    --border-color: #DEE2E6;         /* Border Gray */
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* Typography */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: 3.5rem; 
    font-weight: 700;
    margin-bottom: 2rem;
}
h2 { 
    font-size: 2.75rem; 
    font-weight: 600;
}
h3 { 
    font-size: 2.25rem; 
    font-weight: 600;
}
h4 { 
    font-size: 1.75rem; 
    font-weight: 500;
}
h5 { 
    font-size: 1.5rem; 
    font-weight: 500;
}
h6 { 
    font-size: 1.25rem; 
    font-weight: 500;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-light);
}

/* Modern Bootstrap Overrides */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }

.btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    border-radius: 6px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: none;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
}

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

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
}

.btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.btn-light:hover {
    background: white;
    color: var(--primary-dark);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

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

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

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    border-radius: var(--border-radius-lg);
}

/* CSS Variables for Dynamic Heights */
:root {
    --top-bar-height: 50px;
    --navbar-height: 80px;
    --total-header-height: calc(var(--top-bar-height) + var(--navbar-height));
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1051;
    font-size: 0.875rem;
    padding: 0.75rem 0 !important;
    height: var(--top-bar-height);
    display: flex;
    align-items: center;
}

.top-bar .dropdown-menu {
    font-size: 0.875rem;
}

.top-bar.scrolled {
    padding: 0.25rem 0;
    background: var(--primary-dark) !important;
    box-shadow: var(--shadow);
}

/* Navigation */
.navbar {
    position: fixed !important;
    top: var(--top-bar-height);
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 1rem 0;
    transition: var(--transition);
    background: var(--primary-color) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: var(--navbar-height);
    display: flex;
    align-items: center;
}

.navbar-scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.navbar-brand img {
    transition: var(--transition);
    filter: brightness(1.1);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0.5rem;
    padding: 0.75rem 1.25rem !important;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    background: transparent;
    border: 1px solid transparent;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-hover);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    margin-top: 0.5rem;
    background: white;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    font-weight: 400;
    color: var(--text-color);
}

.dropdown-item:hover {
    background-color: rgba(21, 101, 192, 0.08);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(21, 101, 192, 0.6), rgba(13, 71, 161, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white !important;
    text-align: center;
}

.hero-section * {
    color: white !important;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    color: white;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.375rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: white !important;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons .btn {
    margin: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: var(--border-radius-lg);
}

/* Sections with More Spacing */
.section {
    padding: 4rem 0;
}

.section-small {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 3rem;
    font-weight: 600;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Modern Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    background: white;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-img-top {
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 2.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
}

.card-text {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.25rem;
    color: white;
    box-shadow: var(--shadow);
}

.service-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.service-duration {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Rotating Slideshow */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.slide {
    display: none;
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.slide.active {
    display: block;
    animation: slideIn 0.8s ease-in-out;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.slide-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.slide-content p {
    font-size: 1.125rem;
    font-weight: 300;
    margin: 0;
    opacity: 0.9;
}

.slideshow-nav {
    text-align: center;
    margin-top: 2rem;
}

.slide-dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: var(--border-color);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
}

.slide-dot.active,
.slide-dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
    opacity: 0.3;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-item p {
    font-size: 1.125rem;
    font-weight: 300;
    margin: 0;
    opacity: 0.9;
}

/* Event Cards */
.event-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.event-date {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.event-content {
    padding: 2rem;
}

.event-type {
    background: var(--accent-color);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1.25rem;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    margin-top: 2rem;
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    color: var(--primary-color);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.125rem;
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

/* Forms */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Roboto', sans-serif;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.15);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Body padding to account for fixed headers */
body {
    padding-top: var(--total-header-height);
}

/* Responsive Design */
@media (max-width: 1199px) {
    :root {
        --top-bar-height: 52px;
        --navbar-height: 75px;
    }
    
    .navbar {
        padding: 0.875rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.25rem;
        padding: 0.625rem 1rem !important;
        font-size: 0.95rem;
    }
    
    .top-bar {
        font-size: 0.85rem;
        padding: 0.875rem 0 !important;
    }
    
    .top-bar .btn-sm {
        padding: 0.5rem 0.875rem;
        font-size: 0.85rem;
    }
    
    .navbar-brand img {
        height: 45px;
    }
}

@media (max-width: 768px) {
    :root {
        --top-bar-height: 55px;
        --navbar-height: 70px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .section-title h2 {
        font-size: 2.25rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    .service-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .slide {
        height: 350px;
    }
    
    .slide-content {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
}

@media (max-width: 576px) {
    :root {
        --top-bar-height: 55px;
        --navbar-height: 65px;
    }
    
    .hero-section {
        height: 80vh;
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.75rem 0;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .card-body,
    .service-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .top-bar {
        font-size: 0.8rem;
    }
    
    .top-bar .btn-sm {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Utility Classes */
.bg-light-primary {
    background-color: rgba(21, 101, 192, 0.08) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.rounded-lg {
    border-radius: var(--border-radius-lg) !important;
}

.shadow-custom {
    box-shadow: var(--shadow) !important;
}

.shadow-hover-custom {
    box-shadow: var(--shadow-hover) !important;
}

/* Modern spacing utilities */
.mb-6 { margin-bottom: 4rem !important; }
.mt-6 { margin-top: 4rem !important; }
.py-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }