/* Packages Page Styles - One-to-one with hockeycamp.cz structure */

/* Hero Banner */
.packages-hero {
    background: linear-gradient(135deg, rgba(140, 33, 49, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 150px 0 80px;
    text-align: center;
    border-bottom: 2px solid rgba(140, 33, 49, 0.3);
}

.packages-hero h1 {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 4px;
    margin: 0;
}

/* Main Content Area */
.packages-content {
    padding: 60px 0;
    min-height: 100vh;
}

/* Package Navigation */
.package-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.package-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(140, 33, 49, 0.3);
    color: #fff;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.package-nav-btn:hover {
    background: rgba(140, 33, 49, 0.2);
    border-color: rgba(140, 33, 49, 0.6);
    transform: translateY(-2px);
}

.package-nav-btn.active {
    background: linear-gradient(135deg, #8C2131 0%, #6a1826 100%);
    border-color: #8C2131;
    box-shadow: 0 4px 20px rgba(140, 33, 49, 0.4);
}

/* Package Sections */
.package-section {
    display: none;
}

.package-section.active {
    display: block;
}

/* Package Items */
.package-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    position: relative;
}

.package-item.featured {
    border: 2px solid #8C2131;
    box-shadow: 0 8px 30px rgba(140, 33, 49, 0.3);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 40px;
    background: linear-gradient(135deg, #8C2131 0%, #6a1826 100%);
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(140, 33, 49, 0.5);
}

.package-item h2 {
    font-size: 36px;
    color: #8C2131;
    margin-bottom: 20px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

.package-item h3 {
    font-size: 20px;
    color: #fff;
    margin: 30px 0 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-price {
    font-size: 42px;
    color: #8C2131;
    font-weight: 700;
    margin: 20px 0;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

.package-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

/* Package Lists */
.package-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.package-list li {
    padding: 15px 0;
    padding-left: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.package-list li:last-child {
    border-bottom: none;
}

.package-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: #8C2131;
    font-size: 12px;
    top: 15px;
}

.package-list li strong {
    color: #fff;
    font-weight: 600;
}

/* Register Button */
.btn-register {
    display: inline-block;
    background: linear-gradient(135deg, #8C2131 0%, #6a1826 100%);
    color: #fff !important;
    padding: 15px 50px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 25px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(140, 33, 49, 0.5);
    background: linear-gradient(135deg, #a02839 0%, #8C2131 100%);
    color: #fff !important;
}

/* Discounts Section */
.package-item.discounts {
    background: rgba(140, 33, 49, 0.1);
    border: 2px solid rgba(140, 33, 49, 0.3);
}

.discount-note {
    font-size: 16px;
    color: #8C2131;
    font-weight: 600;
    margin-top: 20px;
    font-style: italic;
}

/* Family Packages */
.package-item.family-package {
    background: linear-gradient(135deg, rgba(140, 33, 49, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.family-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.family-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.family-option h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 15px;
}

/* Services Section */
.package-item.services {
    background: rgba(255, 255, 255, 0.02);
}

/* Deposit Info */
.package-item.deposit-info {
    background: linear-gradient(135deg, rgba(140, 33, 49, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 2px solid rgba(140, 33, 49, 0.4);
}

.package-item.deposit-info p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.package-item.deposit-info strong {
    color: #8C2131;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .packages-hero {
        padding: 120px 0 60px;
    }

    .packages-hero h1 {
        font-size: 48px;
    }

    .package-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .package-nav-btn {
        width: 100%;
    }

    .package-item {
        padding: 25px;
    }

    .package-item h2 {
        font-size: 28px;
    }

    .package-price {
        font-size: 32px;
    }

    .family-options {
        grid-template-columns: 1fr;
    }

    }


/* Alternating Content Sections (from discounts onwards) */
.discounts-section,
.family-packages-section,
.services-section,
.deposit-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
}

.discounts-section {
    background: rgba(140, 33, 49, 0.05);
}

.family-packages-section,
.deposit-section {
    background: rgba(0, 0, 0, 0.2);
}

/* Content Image Layout */
.content-image-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-image-layout.reverse {
    direction: rtl;
}

.content-image-layout.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 42px;
    color: #8C2131;
    margin-bottom: 25px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

.content-text h3 {
    font-size: 22px;
    color: #fff;
    margin: 25px 0 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-text p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.content-text .package-list {
    margin: 20px 0;
}

.content-text .discount-note {
    font-size: 16px;
    color: #8C2131;
    font-weight: 600;
    margin-top: 20px;
    font-style: italic;
}

.content-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

/* Family Options Grid in alternating layout */
.content-text .family-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 25px 0;
}

.content-text .family-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(140, 33, 49, 0.3);
    padding: 20px;
    border-radius: 8px;
}

.content-text .family-option h3 {
    font-size: 18px;
    color: #fff;
    margin: 0 0 10px 0;
    text-transform: none;
}

.content-text .family-option .package-price {
    font-size: 28px;
    color: #8C2131;
    font-weight: 700;
    margin: 10px 0 0 0;
    font-family: 'Bebas Neue', sans-serif;
}

/* Responsive for alternating sections */
@media (max-width: 968px) {
    .content-image-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-image-layout.reverse {
        direction: ltr;
    }

    .content-text h2 {
        font-size: 32px;
    }

    .content-image {
        min-height: 300px;
    }
}

/* ------------------------------ */
/* Registration form styles (merged) */
/* ------------------------------ */
:root{
    --reg-bg: rgba(0,0,0,0.45);
    --reg-card: rgba(255,255,255,0.03);
    --primary: #8C2131;
    --primary-dark: #6a1826;
    --muted: rgba(255,255,255,0.75);
    --accent: #f5f0ef;
    --radius: 10px;
    --glass-border: rgba(140,33,49,0.2);
}

/* Form container */
.reg-form-wrapper{
    max-width: 960px;
    margin: 40px auto;
    padding: 28px;
}

.reg-form-card{
    background: linear-gradient(180deg, var(--reg-card), var(--reg-bg));
    border: 1px solid var(--glass-border);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    color: var(--muted);
}

.reg-form-card h2{
    margin: 0 0 18px 0;
    color: var(--accent);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    font-size: 34px;
}

/* Grid layout */
.reg-form-grid{
    display: grid;
    grid-template-columns: 1fr; /* single column layout: stack blocks vertically */
    gap: 14px 0;
    align-items: start;
}

.form-row{
    display: flex;
    flex-direction: column;
    gap: 0; /* rely on label margin for consistent spacing */
    width: 100%;
    margin: 0 0 12px 0; /* ensure consistent spacing between rows */
}

label{
    display: block; /* ensure labels sit above inputs consistently */
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px; /* consistent spacing between label and its input */
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea{
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--accent);
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure inputs don't add extra top margin and are block-level */
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea{
    display: block;
    margin-top: 0;
}

input:focus, select:focus, textarea:focus{
    border-color: var(--primary);
    box-shadow: 0 6px 18px rgba(140,33,49,0.15);
    transform: translateY(-1px);
}

textarea{ min-height: 120px; resize: vertical; }

/* Full width helper */
.full-width{ grid-column: 1 / -1; }

/* Checkbox / small inline */
.checkbox-row{ display:flex; gap:10px; align-items:center; }
.checkbox-row input{ width:18px; height:18px; }

/* File input styling */
.file-input{
    display:flex; gap:12px; align-items:center;
}
.file-input input[type="file"]{ width:100%; }

/* Buttons */
.form-actions{ display:flex; gap:12px; margin-top:18px; flex-wrap:wrap; }
.btn {
    display:inline-block;
    padding:12px 26px;
    border-radius: 8px;
    text-decoration:none;
    cursor:pointer;
    font-weight:700;
    letter-spacing:0.6px;
}

.btn-primary{
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    color: #fff;
    border: 1px solid rgba(0,0,0,0.15);
}

.btn-secondary{
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    color: #fff;
    margin: 100px 0 40px 0;
    padding: 18px 36px;
    font-size: 20px;
    border: 1px solid rgba(0,0,0,0.15);
    letter-spacing: 3px;
}


.btn-outline{
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(255,255,255,0.06);
}

.btn:active{ transform: translateY(1px); }

/* Validation */
.input-error{
    border-color: #d9534f !important;
    box-shadow: 0 6px 20px rgba(217,83,79,0.08) !important;
}
.error-msg{
    color: #ffb3b3;
    font-size: 13px;
    margin-top:8px;
}

/* Helper text */
.help-text{
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top:6px;
}

.form-summary{
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.25));
    border-radius: 8px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.03);
    font-size: 14px;
}

/* Compact mobile layout */
@media (max-width: 820px){
    .reg-form-grid{ grid-template-columns: 1fr; }
    .reg-form-wrapper{ padding: 18px 14px; }
    .reg-form-card h2{ font-size: 28px; }
}

/* Accessible hidden */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Optional: compact inline for small actions */
.inline-group{ display:flex; gap:10px; align-items:center; }

/* Success state */
.input-success{ border-color: #2ecc71; box-shadow: 0 6px 20px rgba(46,204,113,0.06); }

/* Focus-visible for keyboard users */
:focus-visible{ outline: 3px solid rgba(140,33,49,0.12); outline-offset: 2px; }

/* Participant card uses the reg-form-card visual style so the outer box contains the form */
.participant-card{
    background: linear-gradient(180deg, var(--reg-card), var(--reg-bg));
    border: 1px solid var(--glass-border);
    padding: 20px 22px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    color: var(--muted);
}

.participant-card > h3 {
    margin: 20px 0 50px 0; /* increased gap to separate heading from inputs */
    color: #ffffff; /* make heading white */
    font-size: 22px; /* larger font for emphasis */
    font-weight: 700;
}

/* Registration section layout tweaks */
.registration-section .contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* force vertical stacking */
    gap: 24px;
}

/* Pair the Guidelines and Disclaimer side-by-side and center on large screens */
.guidelines-pair {
    grid-column: 1 / -1; /* span full grid width */
    display: flex;
    gap: 30px;
    justify-content: center; /* center the pair horizontally */
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px;
}

.guidelines-pair .contact-info-block.guidelines-card {
    flex: 0 1 480px; /* allow two reasonably-sized columns */
    max-width: 520px;
}

/* Make login/participant/guardian boxes narrower and centered */
.registration-section .contact-info-block {
    max-width: 980px;
    margin: 0 auto;
}

/* Make guidelines box span full width of the container */
.registration-section .contact-info-block.guidelines-card {
    max-width: none;
    margin: 0;
}

/* Make registration boxes solid black and change outline to white */
.registration-section .contact-info-block,
.registration-section .contact-info-block.participant-card,
.registration-section .contact-info-block.guidelines-card {
    background: #000 !important; /* solid black */
    border: 1px solid rgba(255,255,255,0.12) !important; /* white-ish outline */
    box-shadow: 0 10px 30px rgba(0,0,0,0.6); /* keep subtle shadow */
    color: #fff;
}

/* Inner guidelines box: remove gradient and use subtle white border */
.registration-section .contact-info-block.guidelines-card .guidelines-box {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
}

/* Enhanced card header and list styles for guidelines & disclaimer */
.card-header{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:18px;
}
.card-header i{
    font-size:22px;
    color:#fff;
    width:46px;
    height:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background: linear-gradient(135deg, #8C2131 0%, #6a1826 100%);
    box-shadow: 0 6px 18px rgba(140,33,49,0.28);
}

.card-header h2{
    margin: 30px 0 30px 10px; /* increased top/bottom spacing */
    font-size:25px;
    color:#8C2131;
    letter-spacing:1px;

}
.card-header h3{
    margin: 30px 0 30px 10px; /* increased top/bottom spacing */
    font-size:40px;
    color:#fff;
    letter-spacing:0.6px;
}

.guidelines-card .guidelines-content{
    padding: 12px 6px 6px 6px;
}
.guidelines-list{
    list-style:none;
    padding:0;
    margin: 6px 0 14px 0;
    display:block;
}
.guidelines-list li{
    position:relative;
    padding-left:34px;
    margin-bottom:10px;
    color: rgba(255,255,255,0.92);
    line-height:1.5;
    font-size:15px;
}
.guidelines-list li::before{
    content: "\f00c"; /* check icon from FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight:1000;
    position:absolute;
    left:0;
    right:auto;
    top:0;
    font-size:20px;
    color:#8C2131;
}

.medical-question label{ display:block; margin-top:8px; color:rgba(255,255,255,0.9); }
.medical-question input[type="text"]{ margin-top:8px; }

.disclaimer-card .disclaimer-content{ padding:12px 6px 6px 6px; }
.disclaimer-text{ color:rgba(255,255,255,0.92); line-height:1.6; margin-bottom:12px; }
.disclaimer-card .agree{ display:flex; align-items:center; gap:8px; margin-bottom:12px; color:rgba(255,255,255,0.92); font-weight:600; }
.disclaimer-card .agree input{ width:18px; height:18px; }

/* Accent for disclaimer card to make it stand out */
.disclaimer-card{
    border-left:4px solid rgba(140,33,49,0.9);
}

/* Make cards responsive when stacked */
@media (max-width: 980px){
    .guidelines-pair{ flex-direction:column; gap:18px; padding:0 6px; }
    .guidelines-pair .contact-info-block.guidelines-card{ max-width:100%; }
}

/* Inner box for the disclaimer paragraph */
.disclaimer-inner-box{
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(0,0,0,0.12));
    border: 2px solid rgba(73, 14, 14, 0.415);
    padding: 20px 20px;
    border-radius: 12px;
    margin: -5px auto 25px auto;
    max-width: 740px; /* control line length for readability */
    transform: translateZ(0); /* enable GPU for smoother shadow */
}
.disclaimer-inner-box .disclaimer-text{
    margin: 0;
    color: rgba(255,255,255,0.96);
    font-size: 15.5px;
    line-height: 1.75; /* increased for easier reading */
    letter-spacing: 0.1px;
}

/* Slightly tighten spacing between inner box and controls */
.disclaimer-content{ display:flex; flex-direction:column; gap:10px; }
.disclaimer-card .agree{ margin-top:6px; }

@media (max-width: 700px){
    .disclaimer-inner-box{ padding:14px; max-width:100%; border-radius:10px; }
    .disclaimer-inner-box .disclaimer-text{ font-size:15px; }
}


