/*!
 * CWENCH Showdown — based on Start Bootstrap Creative
 * Hockey theme adaptation
 */

/* ===========================
   VARIABLES
   =========================== */
:root {
    --bs-primary: #0d47a1;
    --bs-primary-rgb: 13, 71, 161;
    --color-accent: #00b0ff;
    --color-accent-dark: #0091ea;
}

/* ===========================
   BASE
   =========================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

p {
    font-family: 'Montserrat', serif;
    font-weight: 300;
    line-height: 1.75;
}

a {
    color: var(--bs-primary);
}

a:hover {
    color: var(--color-accent-dark);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

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

.bg-primary {
    background-color: var(--bs-primary) !important;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

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

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

.btn-check:checked + .btn-outline-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.btn-xl {
    padding: 1.25rem 2.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    border-radius: 10rem;
}

/* ===========================
   DIVIDERS (Creative style)
   =========================== */
.divider {
    max-width: 3.25rem;
    border-width: 0.2rem;
    border-color: var(--color-accent);
    margin: 1.5rem auto;
}

.divider-light {
    border-color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   PAGE SECTION
   =========================== */
.page-section {
    padding: 6rem 0;
}

/* ===========================
   NAVBAR (Creative style)
   =========================== */
#mainNav {
    transition: all 0.2s ease;
    background-color: transparent;
}

#mainNav.navbar-scrolled {
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#mainNav .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

#mainNav .navbar-nav .nav-item .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.75rem 0;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: var(--color-accent);
}

@media (min-width: 992px) {
    #mainNav .navbar-nav .nav-item .nav-link {
        padding: 1.25rem 1rem !important;
    }
}

/* ===========================
   MASTHEAD / HERO (Creative style)
   =========================== */
.masthead {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4.5rem);
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(13, 71, 161, 0.75) 100%),
                url('../assets/img/hero-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.masthead h1 {
    font-size: 2.5rem;
    letter-spacing: 3px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

@media (min-width: 992px) {
    .masthead h1 {
        font-size: 4rem;
    }
    .masthead {
        padding-top: 0;
        padding-bottom: 0;
    }
}

.hero-logo {
    max-width: 180px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.bg-accent-badge {
    background-color: var(--color-accent) !important;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* ===========================
   COUNTDOWN
   =========================== */
.countdown-block {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px 10px;
    backdrop-filter: blur(5px);
}

.countdown-value {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent);
}

.countdown-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 5px;
}

/* ===========================
   SCHEDULE / TIMELINE
   =========================== */
.schedule-item {
    position: relative;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
    flex-shrink: 0;
}

.schedule-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 56px;
    bottom: -8px;
    width: 2px;
    background: linear-gradient(180deg, var(--bs-primary), var(--color-accent));
    opacity: 0.3;
}

/* ===========================
   PARALLAX SECTION
   =========================== */
.bg-parallax {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(13, 71, 161, 0.85) 100%),
                url('../assets/img/parallax-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* ===========================
   GALLERY / PORTFOLIO (Creative style)
   =========================== */
.portfolio-box {
    display: block;
    position: relative;
    overflow: hidden;
}

.portfolio-box img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-box:hover img {
    transform: scale(1.08);
}

.portfolio-box .portfolio-box-caption {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0;
    color: #fff;
    background: rgba(13, 71, 161, 0.8);
    transition: opacity 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}

.portfolio-box .portfolio-box-caption .project-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .project-name {
    font-size: 1.2rem;
    font-weight: 700;
}

/* ===========================
   PRICING / PACKAGES
   =========================== */
.pricing-card {
    border-radius: 16px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-highlight {
    border: 3px solid var(--color-accent) !important;
    box-shadow: 0 10px 40px rgba(0, 176, 255, 0.15) !important;
}

.pricing-ribbon {
    position: absolute;
    top: 18px;
    right: -32px;
    background: var(--color-accent);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.pricing-price {
    border-bottom: 2px solid #f0f0f0;
}

.excursion-card-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    height: 100%;
}

.excursion-card-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

/* ===========================
   CONTACT FORM
   =========================== */
.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(0, 176, 255, 0.15);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

/* ===========================
   FOOTER
   =========================== */
footer a {
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.7;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 576px) {
    .masthead h1 {
        font-size: 1.8rem;
    }
    .countdown-value {
        font-size: 1.8rem;
    }
    .page-section {
        padding: 4rem 0;
    }
    .btn-xl {
        padding: 1rem 1.5rem;
        font-size: 0.75rem;
    }
}
