/* Landing Page Styles - Inspired by Gimnastikos Akademija Poster */

/* Reset HTML and body for full width */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
}

/* Reset all WordPress default margins and paddings for landing page */
.landing-page {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
}

/* Override WordPress theme container styles */
.landing-page .site-content,
.landing-page .content-area,
.landing-page .site-main,
.landing-page .hentry,
.landing-page .entry-content {
    padding: 0 !important;
    margin: 41px 0 0 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Ensure full width for all sections */
.landing-page * {
    box-sizing: border-box;
}

/* Remove any default WordPress margins/paddings */
body.page-template-front-page {
    margin: 0 !important;
    padding: 0 !important;
}

.page-template-front-page .site-header,
.page-template-front-page .site-footer {
    display: none;
}

/* Hero Section */
.landing-hero {
    min-height: 100vh;
    position: relative;
    background: url('assets/images/gimnnastes.png');
    background-size: 120% auto;
    background-position: 16% center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-shapes::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-shapes::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 15%;
    width: 200px;
    height: 200px;
    background: rgba(81, 50, 86, 0.1);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite reverse;
}

.shape-1, .shape-2, .shape-3 {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    top: 30%;
    left: 20%;
    width: 150px;
    height: 150px;
    animation-delay: -2s;
}

.shape-2 {
    top: 60%;
    right: 25%;
    width: 100px;
    height: 100px;
    animation-delay: -4s;
}

.shape-3 {
    top: 10%;
    left: 50%;
    width: 80px;
    height: 80px;
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: center;
    min-height: 80vh;
    padding-top: 100px;
    padding-bottom: 50px;
}

/* Logo Section */
.hero-logo {
    display: none;
    align-items: center;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-header-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    color: #513256;
    line-height: 1.2;
}



.logo-circle {
    width: 120px;
    height: 120px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    backdrop-filter: none;
    overflow: hidden;
    display: none;
}

.logo-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.logo-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    color: #513256;
    line-height: 1.2;
}

/* Main Hero Content */
.hero-main {
    text-align: center;
    color: white;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    margin: 0 0 0.5rem 0;
    color: #513256;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.9;
    margin: 0 0 1rem 0;
    color: #513256;
    /* text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1); */
}

.hero-title .highlight {
    color: white;
    /* text-shadow: 3px 3px 6px rgba(81, 50, 86, 0.5); */
}

.hero-description {
    font-size: 1.5rem;
    color: #513256;
    margin: 0 0 2rem 0;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #513256, #3E243F);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(81, 50, 86, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(81, 50, 86, 0.4);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #513256;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    transform: translateY(-2px);
    color: #3E243F;
}

/* Gymnasts Section */
.hero-gymnasts {
    position: relative;
}

.gymnast-silhouettes {
    position: relative;
    width: 200px;
    height: 300px;
}

.hero-logo-right {
    position: absolute;
    top: -50px;
    right: -30px;
    z-index: 10;
}

.logo-image-small {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.2));
}

.gymnast-1, .gymnast-2, .gymnast-3 {
    position: absolute;
    background: rgba(81, 50, 86, 0.3);
    border-radius: 50%;
    animation: gymnastFloat 3s ease-in-out infinite;
}

.gymnast-1 {
    width: 60px;
    height: 80px;
    top: 10%;
    left: 0;
    border-radius: 50% 50% 60% 40%;
}

.gymnast-2 {
    width: 50px;
    height: 70px;
    top: 40%;
    left: 50%;
    border-radius: 60% 40% 50% 50%;
    animation-delay: -1s;
}

.gymnast-3 {
    width: 55px;
    height: 75px;
    top: 20%;
    right: 0;
    border-radius: 40% 60% 50% 50%;
    animation-delay: -2s;
}

@keyframes gymnastFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* Programs Section */
.programs-section {
    padding: 5rem 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #513256;
    margin-bottom: 3rem;
    font-weight: 700;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #513256, #8A6099);
}

.program-card.featured {
    transform: scale(1.01);
    box-shadow: 0 15px 40px rgba(81, 50, 86, 0.2);
}

.program-card.featured::before {
    height: 6px;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    color: #513256;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.program-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #513256;
    font-weight: bold;
}

.program-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: #513256;
    background: linear-gradient(135deg, #f8f9ff, #ddd5e0);
    padding: 1rem;
    border-radius: 15px;
    margin-top: 1.5rem;
}

.program-disclaimer {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;
}

/* Video Section */
.video-section {
    padding: 5rem 0;
    background: white;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(81, 50, 86, 0.15);
    margin-top: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.video-description {
    margin-top: 2rem;
    line-height: 1.6;
    color: #666;
}

/* Schedule Section */
.schedule-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f1eef3 0%, #ddd5e0 100%);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.day-column {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.day-column h3 {
    color: #513256;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #8A6099;
}

.time-slot {
    background: #f1eef3;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background: #ddd5e0;
    transform: translateX(5px);
}

.time-slot .time {
    font-weight: 700;
    color: #513256;
    font-size: 1.1rem;
}

.time-slot .class {
    font-weight: 600;
    color: #333;
    margin: 0.5rem 0;
}

.time-slot .age {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: white;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: #513256;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: #666;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f1eef3;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #ddd5e0;
    transform: translateX(5px);
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: #513256;
    font-weight: 600;
    text-decoration: none;
    display: block;
}

.contact-item a:hover {
    color: #3E243F;
}

.certifications {
    margin-top: 3rem;
}

.cert-title {
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cert-logos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-logo {
    padding: 1rem;
    background: #f1eef3;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #513256;
    font-weight: 500;
}

/* Registration Form */
.registration-form {
    background: linear-gradient(135deg, #513256, #3E243F);
    border-radius: 25px;
    padding: 2rem;
    color: white;
}

.qr-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.qr-code {
    flex-shrink: 0;
}

.qr-code-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    background: white;
    padding: 0.1rem;
}

.qr-placeholder {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #513256;
    font-weight: bold;
    font-size: 0.8rem;
}

.qr-text h3 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.qr-text p {
    color: #C4B5FD;
    margin: 0;
    font-size: 0.9rem;
}

.quick-form h3 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

/* Custom Dropdown Styling */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-selected {
    padding: 1rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.dropdown-selected:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.selected-text {
    color: #666;
}

.custom-dropdown.active .selected-text {
    color: #333;
}

.dropdown-arrow {
    color: #513256;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(81, 50, 86, 0.2);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 5px;
}

.custom-dropdown.active .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 1rem;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1eef3;
    position: relative;
}

.dropdown-option:last-child {
    border-bottom: none;
    border-radius: 0 0 15px 15px;
}

.dropdown-option:first-child {
    border-radius: 15px 15px 0 0;
}

.option-text {
    display: block;
    transition: transform 0.3s ease;
}

.dropdown-option:hover {
    background: #f1eef3;
    color: #513256;
}

.dropdown-option:hover .option-text {
    transform: translateX(5px);
}

/* Registration Dropdown Styling */
.registration-dropdown {
    position: relative;
    width: 100%;
}

.registration-dropdown .dropdown-selected {
    padding: 1rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.registration-dropdown .dropdown-selected:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.registration-dropdown .selected-text {
    color: #666;
}

.registration-dropdown.active .selected-text {
    color: #333;
}

.registration-dropdown .dropdown-arrow {
    color: #513256;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.registration-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.registration-dropdown .dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(81, 50, 86, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
}

.registration-dropdown.active .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.registration-dropdown .dropdown-option {
    padding: 1rem;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1eef3;
    position: relative;
}

.registration-dropdown .dropdown-option:last-child {
    border-bottom: none;
    border-radius: 0 0 15px 15px;
}

.registration-dropdown .dropdown-option:first-child {
    border-radius: 15px 15px 0 0;
}

.registration-dropdown .dropdown-option:hover {
    background: #f1eef3;
    color: #513256;
}

.registration-dropdown .dropdown-option:hover .option-text {
    transform: translateX(5px);
}

/* Custom Date Picker Styling */
.custom-datepicker {
    position: relative;
    width: 100%;
}

.datepicker-input {
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.datepicker-input:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.date-text {
    color: #666;
}

.custom-datepicker.active .date-text {
    color: #333;
}

.date-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.custom-datepicker.active .date-arrow {
    transform: scale(1.1);
}

.datepicker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(81, 50, 86, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
    min-height: 300px;
    overflow: hidden;
}

.custom-datepicker.active .datepicker-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.datepicker-header {
    display: none;
}

/* Tab Navigation */
.date-selector-tabs {
    display: flex;
    background: #f8f7f9;
    margin: 0;
    padding: 10px;
    border-radius: 15px 15px 0 0;

}

.tab-button {
    flex: 1;
    padding: 19px 16px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin: 0;
    border-radius: 0;
    font-size: 1rem;
}

.tab-button:first-child {
    border-radius: 9px 0 0 9px;
}

.tab-button:last-child {
    border-radius: 0 9px 9px 0;
}

.tab-button.active {
    background: #513256;
    color: white;
}

.tab-button:hover:not(.active) {
    background: rgba(81, 50, 86, 0.1);
    color: #513256;
}

.tab-content {
    padding: 1rem;
    background: white;
}

/* Year Selector */
.year-range-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.range-nav {
    background: #513256;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    padding-bottom: 3px;
}

.range-nav:hover {
    background: #6b4270;
}

.year-range-display {
    font-weight: 600;
    color: #513256;
    font-size: 1.1rem;
}

.years-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.year-item {
    text-align: center;
    padding: 0.8rem 0.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #333;
    font-weight: 500;
}

.year-item:hover {
    background: #f1eef3;
    color: #513256;
}

.year-item.selected {
    background: #513256;
    color: white;
}

/* Month Selector */
.months-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.month-item {
    text-align: center;
    padding: 1rem 0.5rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: #333;
    font-weight: 500;
}

.month-item:hover {
    background: #f1eef3;
    color: #513256;
}

.month-item.selected {
    background: #513256;
    color: white;
}

/* Day Selector */
.selected-year-month {
    text-align: center;
    font-weight: 600;
    color: #513256;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 0.5rem;
}

.weekday {
    text-align: center;
    padding: 0.5rem 0.2rem;
    font-weight: 600;
    color: #513256;
    font-size: 0.9rem;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.day {
    text-align: center;
    padding: 0.7rem 0.2rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.day:hover {
    background: #f1eef3;
    color: #513256;
}

.day.other-month {
    color: #ccc;
}

.day.selected {
    background: #513256;
    color: white;
}

.day.today {
    background: #e8e3ec;
    color: #513256;
    font-weight: 600;
}

.day.selected.today {
    background: #513256;
    color: white;
}

/* Mobile Responsive Styles for Date Picker */
@media (max-width: 1050px) {
    /* Datepicker dropdown adjustments for mobile */
    .datepicker-dropdown {
        position: fixed;
        top: 50% !important;
        left: 10px !important;
        right: 10px !important;
        transform: translateY(-50%);
        max-width: calc(100vw - 20px);
        max-height: 90vh;
        overflow-y: auto;
        z-index: 9999;
    }
    
    /* No extra padding needed since close button is now floating overlay */
    
    .custom-datepicker.active .datepicker-dropdown {
        transform: translateY(-50%);
    }
    
    /* Tab buttons smaller on mobile */
    .tab-button {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    /* Year grid adjustments */
    .years-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .year-item {
        padding: 0.6rem 0.3rem;
        font-size: 0.9rem;
    }
    
    /* Month grid adjustments */
    .months-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .month-item {
        padding: 0.8rem 0.4rem;
        font-size: 0.9rem;
    }
    
    /* Day grid adjustments */
    .day {
        padding: 0.5rem 0.1rem;
        font-size: 0.85rem;
    }
    
    .weekday {
        padding: 0.4rem 0.1rem;
        font-size: 0.8rem;
    }
    
    /* Range navigation buttons smaller */
    .range-nav {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    /* Reduce padding in tab content */
    .tab-content {
        padding: 0.8rem;
    }
    
    /* Selected year-month display */
    .selected-year-month {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .year-range-display {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens - extra compact datepicker */
    .datepicker-dropdown {
        left: 5px !important;
        right: 5px !important;
        max-width: calc(100vw - 10px);
    }
    
    /* Ultra compact tabs */
    .tab-button {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    
    /* Year grid even more compact */
    .years-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    
    .year-item {
        padding: 0.5rem 0.2rem;
        font-size: 0.8rem;
    }
    
    /* Month grid compact */
    .months-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .month-item {
        padding: 0.7rem 0.3rem;
        font-size: 0.8rem;
    }
    
    /* Days ultra compact */
    .day {
        padding: 0.4rem 0.05rem;
        font-size: 0.8rem;
    }
    
    .weekday {
        padding: 0.3rem 0.05rem;
        font-size: 0.75rem;
    }
    
    /* Smaller navigation */
    .range-nav {
        width: 26px;
        height: 26px;
        font-size: 1rem;
    }
    
    /* Reduce all padding */
    .tab-content {
        padding: 0.6rem;
    }
    
    .year-range-controls {
        margin-bottom: 0.8rem;
    }
    
    .selected-year-month {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .year-range-display {
        font-size: 0.9rem;
    }
}

/* Landscape phone orientation */
@media (max-width: 1050px) and (orientation: landscape) {
    .datepicker-dropdown {
        max-height: 85vh;
        top: 50% !important;
    }
    
    .tab-content {
        max-height: calc(85vh - 60px);
        overflow-y: auto;
    }
}

/* Close button for mobile datepicker */
@media (max-width: 1050px) {
    /* Backdrop for mobile datepicker */
    .datepicker-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .custom-datepicker.active .datepicker-backdrop {
        opacity: 1;
        visibility: visible;
    }
    
    /* Datepicker header for close button */
    .datepicker-header {
        position: relative !important;
        height: 50px !important;
        background: transparent !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        padding: 10px 15px 1 15px !important;
        pointer-events: none !important; /* Allow clicks to pass through */
    }
    
    /* Close button for mobile datepicker - inside header */
    .datepicker-close-btn {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        background: #6b4270 !important;
        border: none !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 10002 !important;
        color: white !important;
        font-size: 1rem !important;
        line-height: 1 !important;
        transition: all 0.3s ease !important;
        font-weight: bold !important;
        margin: 0 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
        border: 2px solid white !important;
        pointer-events: auto !important;
        padding-bottom: 2px;
    }
    
    .datepicker-close-btn:hover,
    .datepicker-close-btn:focus {
        background: rgba(220, 38, 38, 0.9) !important;
        border-color: white !important;
        transform: scale(1.05) !important;
        outline: none !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5) !important;
    }
    
    .datepicker-close-btn:active {
        background: rgba(185, 28, 28, 1) !important;
        transform: scale(0.95) !important;
    }
}

.contact-form button {
    margin-top: 0;
}

/* Form Messages */
.form-message-container {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
}

.form-message-container.success {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.form-message-container.error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.form-message-container .form-message {
    margin: 0;
}

/* Loading state for submit button */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


@media (min-width: 1024px) {

    .gymnast-1, .gymnast-2, .gymnast-3 {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {

    .landing-hero {
        background: linear-gradient(135deg, rgba(241, 238, 243, 0.5) 0%, rgba(221, 213, 224, 0.4) 30%, rgba(201, 184, 209, 0.3) 70%, rgba(176, 155, 191, -0.1) 100%),
                url('assets/images/fonas.png');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;

    }
    .logo-image-small
    {
        display: none;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 200px;

    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 1050px) {


    .logo-image-small
    {
        display: none;
    }


    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .programs-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .video-section {
        padding: 3rem 0;
    }
    
    .video-container {
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(81, 50, 86, 0.1);
    }
    
    .video-container iframe {
        border-radius: 15px;
    }
    
    .qr-section {
        flex-direction: column;
        text-align: center;
    }
}

/* Form Radio and Checkbox Styles */
.program-selection {
    margin: 1rem 0;
}

.program-selection label {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #513256;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    background: #513256;
    border-color: #513256;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.groups-selection {
    margin: 1.5rem 0;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.groups-selection label {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-option {
    display: flex !important;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.checkbox-option:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #513256;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    background: #513256;
    border-color: #513256;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.group-info {
    flex: 1;
    color: #333;
}

.group-info strong {
    color: #513256;
    font-weight: 700;
}

.group-info small {
    color: #444;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
    font-weight: 500;
}

.checkbox-option:hover .group-info {
    color: #222;
}

.checkbox-option:hover .group-info strong {
    color: #3E243F;
}

.checkbox-option:hover .group-info small {
    color: #222;
}

/* Mobile responsive adjustments for form */
@media (max-width: 1050px) {
    .radio-option,
    .checkbox-option {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .radio-custom,
    .checkbox-custom {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-custom::after {
        font-size: 10px;
    }
}

/* Schedule Filters Styles */
.schedule-filters {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 250px;
}

.filter-group label {
    color: #513256;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.schedule-dropdown {
    position: relative;
    width: 100%;
}

.schedule-dropdown .dropdown-selected {
    padding: 1rem;
    border: 2px solid #513256;
    border-radius: 15px;
    font-size: 1rem;
    background: white;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.schedule-dropdown .dropdown-selected:hover {
    border-color: #3E243F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(81, 50, 86, 0.2);
}

.schedule-dropdown .dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #513256;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(81, 50, 86, 0.2);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 5px;
}

.schedule-dropdown.active .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-checkbox-option {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
    border-bottom: 1px solid #f1eef3;
}

.filter-checkbox-option:last-child {
    border-bottom: none;
}

.filter-checkbox-option:hover {
    color: #513256;
}

.filter-checkbox-option input[type="checkbox"] {
    display: none;
}

.filter-checkbox-option .checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #513256;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.filter-checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    background: #513256;
    border-color: #513256;
}

.filter-checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: bold;
}

.filter-checkbox-option .option-text {
    flex: 1;
    color: #333;
    font-weight: 500;
}

/* Mobile responsive for filters */
@media (max-width: 1050px) {
    .schedule-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .schedule-dropdown .dropdown-selected {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .filter-checkbox-option {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Registration Page Styles */
.registration-page-main {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
}

/* Override WordPress theme container styles for registration page */
.registration-page-main .site-content,
.registration-page-main .content-area,
.registration-page-main .hentry,
.registration-page-main .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.registration-page {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f1eef3 0%, #ddd5e0 100%);
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 90px;
}

.registration-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.registration-header h1 {
    color: #513256;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.registration-subtitle {
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
}

.registration-content {
    display: grid !important;
    grid-template-columns: minmax(350px, 1fr) minmax(500px, 2fr) !important;
    gap: 3rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.registration-info {
    grid-column: 1;
    width: 100%;
    box-sizing: border-box;
}

.registration-form-container {
    grid-column: 2;
    background: linear-gradient(135deg, #513256, #3E243F);
    border-radius: 25px;
    padding: 2.5rem;
    color: white;
    box-shadow: 0 15px 40px rgba(81, 50, 86, 0.2);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.registration-form-container h3 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.registration-info h2 {
    color: #513256;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(81, 50, 86, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #513256, #3E243F);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: #513256;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.registration-form-container {
    position: relative;
}

.registration-form-container textarea {
    padding: 1rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    width: 100%;
    box-sizing: border-box;
}

.registration-form-container textarea::placeholder {
    color: #666;
}

/* Form sections and layout */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
}

.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.add-child-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-child-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Child form styling */
.child-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.child-form input[type="text"] {
    width: 100%;
    margin-bottom: 1rem;
}

.child-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.child-header h5 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.remove-child-btn {
    background: rgba(220, 38, 127, 0.2);
    color: #dc267f;
    border: 1px solid #dc267f;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-child-btn:hover {
    background: #dc267f;
    color: white;
}

/* Ensure dropdowns appear above other elements */
.custom-datepicker {
    position: relative;
    margin-bottom: 1rem;
    z-index: 999;
}

.registration-dropdown {
    position: relative;
    z-index: 998;
    margin-bottom: 1rem;
}

/* Fix full-width textarea */
.form-section textarea {
    width: 100%;
    margin-bottom: 0;
}

/* Better spacing for child form elements */
.child-form > * {
    margin-bottom: 1rem;
}

.child-form > *:last-child {
    margin-bottom: 0;
}

/* Mobile responsive for new form layout */
@media (max-width: 1050px) {
    .form-row {
        gap: 0.5rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .add-child-btn {
        align-self: flex-start;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .child-form {
        padding: 1rem;
    }
    
    .child-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* Mobile responsive for registration page */
@media (max-width: 1024px) {
    .registration-content {
        display: flex !important;
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
        padding: 0 1rem;
        margin: 0 auto;
    }
    
    .registration-form-container {
        order: -1;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 2rem 1.5rem;
        box-sizing: border-box;
    }
    
    .registration-info {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    
    .info-steps {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .step {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 0.1rem auto;
        box-sizing: border-box;
    }
    
    .registration-header h1 {
        font-size: 2.5rem;
    }
}

/* Ensure desktop keeps two-column layout with smaller steps */
@media (min-width: 1025px) {
    .registration-content {
        display: grid !important;
        grid-template-columns: minmax(350px, 1fr) minmax(500px, 2fr) !important;
        gap: 3rem;
        align-items: start;
    }
    
    .registration-info {
        grid-column: 1;
        min-width: 350px;
    }
    
    .registration-form-container {
        grid-column: 2;
        min-width: 500px;
    }
}

@media (max-width: 1050px) {
    .registration-page {
        padding: 3rem 0;
    }
    
    .registration-content {
        padding: 0 0.1rem !important;
        max-width: 100% !important;
        margin: 0 auto;
    }
    
    .registration-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .registration-header h1 {
        font-size: 2rem;
    }
    
    .registration-info {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    
    .registration-info h2 {
        text-align: center;
        font-size: 1.8rem;
    }
    
    .step {
        padding: 1.3rem;
        gap: 0.5rem;
        margin: 0 auto 0.1rem auto;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .registration-form-container {
        padding: 1.5rem !important;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form input,
    .contact-form textarea,
    .custom-datepicker,
    .registration-dropdown {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}
