/* ============================================
   RIVA & GES Summer Camp Landing Page
   Pixel-Perfect Design Implementation
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #020767;
    --color-secondary: #faa621;
    --color-accent: #f16000;
    --color-red: #bc1b00;
    --color-text: #222222;
    --color-text-light: #555555;
    --color-white: #ffffff;
    --color-dark-blue: #16163d;
    --color-navy: #212240;
    --color-yellow-light: #fff8e7;
    --color-orange-gradient: linear-gradient(180deg, #faa621 0%, #f16000 100%);
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-script: 'Dancing Script', cursive;
    
    --shadow-text: 2px 1px 2px rgba(150, 50, 4, 0.94);
    --shadow-title: 1px 1px 6px rgba(11, 86, 182, 0.38);
    --shadow-amount: 0px 3px 4px rgba(85, 40, 0, 0.78);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.1);
    
    --transition-base: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.6;
    background: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Main Wrapper */
.main-wrapper {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background: var(--color-white);
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: top center;
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   HEADER - Fixed Position at Top
   ============================================ */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-bg-1,
.header-bg-2 {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 0;
}

.header-bg-1 {
    width: 100px;
}

.header-bg-2 {
    left: 280px;
    right: 0;
    /* width: calc(100% - 200px); */
    width: 100%;
}

.header-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1;
}

.header-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 7%;
}

.logo-riva {
    width: 55px;
    height: auto;
    object-fit: contain;
}

.logo-ges {
    width: 45px;
    height: auto;
    object-fit: contain;
}

.header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-size: 13px;
    line-height: 1;
    margin-left: 120px;
}

.nav-highlight {
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.03px;
    transition: var(--transition-base);
}

.nav-highlight:hover {
    opacity: 0.8;
}

.nav-items {
    font-weight: 600;
    color: var(--color-dark-blue);
    transition: var(--transition-base);
}

.nav-items:hover {
    color: var(--color-accent);
}

.nav-separator {
    display: none;
}

.header-contact {
    position: relative;
    flex-shrink: 0;
}

.contact-bg {
    width: 300px;
    height: 38px;
    
}

.contact-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 0 10px;
    transition: var(--transition-base);
}

.contact-content:hover {
    transform: scale(1.02);
}

.phone-icon-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.phone-circle {
    width: 100%;
    height: 100%;
}

.phone-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 11px;
    height: 11px;
}

.phone-number {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 13px;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    gap: 16px;
    z-index: 99;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark-blue);
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.mobile-phone {
    color: var(--color-accent) !important;
    font-weight: 700 !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 420px;
    padding: 30px 40px 40px;
    z-index: 5;
    background: transparent;
    overflow: visible;
}

.hero-content {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 320px;
    z-index: 10;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 30px;
    z-index: 10;
}

.hero-text-image {
    max-width: 100%;
    width: 420px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(2px 4px 10px rgba(0, 0, 0, 0.15));
}

.hero-plane-path {
    position: absolute;
    top: 10px;
    left: 350px;
    width: 150px;
    height: auto;
    z-index: 5;
    animation: planeFloat 3s ease-in-out infinite;
}

@keyframes planeFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(8px, -4px) rotate(2deg);
    }
    50% {
        transform: translate(15px, 0) rotate(0deg);
    }
    75% {
        transform: translate(8px, 4px) rotate(-2deg);
    }
}

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

/* Button Styles */
.btn-hero,
.btn-primary,
.btn-detail {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #faa621 0%, #f16000 100%);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    padding: 12px 28px;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(241, 96, 0, 0.3);
}

.btn-hero:hover,
.btn-primary:hover,
.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 96, 0, 0.4);
}

.btn-hero .btn-bg-1,
.btn-hero .btn-bg-2,
.btn-primary .btn-bg-1,
.btn-primary .btn-bg-2,
.btn-detail .btn-bg-1,
.btn-detail .btn-bg-2 {
    display: none;
}

.btn-hero span,
.btn-primary span,
.btn-detail span {
    position: relative;
    z-index: 1;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-white);
    font-size: 14px;
    text-shadow: var(--shadow-text);
    white-space: nowrap;
}

.btn-hero {
    padding: 14px 30px;
}

.btn-large {
    padding: 16px 40px;
}

.btn-medium {
    padding: 14px 35px;
}

.btn-xlarge {
    padding: 20px 50px;
}

.btn-xlarge span {
    font-size: 18px;
}

.btn-detail {
    padding: 10px 25px;
}

.btn-detail span {
    font-size: 12px;
}

/* ============================================
   REGISTRATION SECTION
   ============================================ */
.registration-section {
    position: relative;
    width: 100%;
    z-index: 5;
    padding: 0 60px 40px;
    background: transparent;
    margin-top: -40px;
}

.registration-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border: 3px solid var(--color-secondary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 20px 35px 25px;
    max-width: 700px;
    margin: 0 auto;
}

.registration-header {
    text-align: center;
    margin-bottom: 15px;
}

.registration-header h2 {
    font-family: var(--font-primary);
    font-size: 20px;
    line-height: 1.3;
    line-height: 1.4;
}

.discount-text {
    font-style: italic;
    font-weight: 500;
    color: var(--color-secondary);
}

.discount-amount {
    font-weight: 800;
    font-size: 24px;
    color: var(--color-secondary);
    font-style: normal;
}

.registration-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 30px;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    display: none;
}

.form-field input {
    border: none;
    border-bottom: 1px solid #d0d0d0;
    background: transparent;
    padding: 10px 0;
    font-family: var(--font-primary);
    font-size: 13px;
    color: var(--color-text);
    outline: none;
    transition: var(--transition-base);
}

.form-field input::placeholder {
    color: #999;
    font-size: 13px;
}

.form-field input:focus {
    border-bottom-color: var(--color-primary);
    border-bottom-width: 2px;
}

.form-submit {
    margin-top: 0;
}

.btn-submit {
    width: 100%;
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-submit:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

.form-consent {
    max-width: 600px;
    margin: 15px auto 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-container input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--color-secondary);
}

.consent-text {
    font-size: 11px;
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
    position: relative;
    width: 100%;
    padding: 50px 60px 60px;
    z-index: 5;
    background: linear-gradient(180deg, #fff8e7 0%, #ffffff 100%);
}

.section-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.section-header .header-box {
    width: 640px;
    height: 220px;
}

.section-header .header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.title-line-1,
.title-line-2 {
    font-family: var(--font-secondary);
    color: var(--color-primary);
    font-size: 26px;
    line-height: 1.3;
}

.title-line-1 {
    letter-spacing: 0.16px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--color-secondary);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.title-line-2 {
    letter-spacing: -0.23px;
    font-weight: 400;
    font-style: italic;
}

.section-header h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-secondary);
    color: var(--color-primary);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.23px;
    line-height: 1;
    white-space: nowrap;
}

.benefits-container {
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 25px;
}

.benefits-top {
    grid-template-columns: repeat(3, 1fr);
}

.benefits-bottom {
    grid-template-columns: repeat(2, 1fr);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 15px;
    text-align: center;
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
    padding: 15px;
    background: linear-gradient(180deg, #ffd54f 0%, #ff9800 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.benefit-content h3 {
    font-weight: 800;
    color: var(--color-secondary);
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.benefit-content p {
    font-size: 12px;
    color: var(--color-text);
    line-height: 1.6;
}

.benefits-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* ============================================
   CAMPS SECTION
   ============================================ */
.camps-section {
    position: relative;
    width: 100%;
    padding: 50px 60px;
    z-index: 5;
    background: #f8f9fa;
}

.camps-section .section-header {
    margin-bottom: 35px;
}

.camps-section .section-header .header-box {
    width: 400px;
    height: 110px;
}

.camps-grid {
    display: flex;
    gap: 25px;
    max-width: 1050px;
    margin: 0 auto 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.camps-grid::-webkit-scrollbar {
    height: 8px;
}

.camps-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.camps-grid::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 10px;
}

.camps-grid::-webkit-scrollbar-thumb:hover {
    background: #e68a00;
}

.camp-card {
    position: relative;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    border: 3px solid var(--color-secondary);
    flex: 0 0 320px;
    min-width: 320px;
    scroll-snap-align: start;
}

.camp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.card-border {
    display: none;
}

.camp-image {
    position: relative;
    width: 100%;
    height: 220px;
    object-fit: cover;
    z-index: 1;
    border-bottom: 3px solid var(--color-secondary);
}

.camp-content {
    position: relative;
    padding: 15px 18px 20px;
    z-index: 1;
}

.camp-content h3 {
    font-weight: 800;
    color: var(--color-secondary);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.camp-content p {
    font-size: 12px;
    color: var(--color-text);
    line-height: 1.6;
    text-align: left;
    margin-bottom: 18px;
    max-height: 100px;
    overflow: hidden;
}

.camp-content .btn-detail {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.camps-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.camps-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--color-secondary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-base);
}

.camps-nav-btn:hover {
    background: #e68a00;
    transform: translateY(-50%) scale(1.1);
}

.camps-nav-btn.prev {
    left: -20px;
}

.camps-nav-btn.next {
    right: -20px;
}

.camps-nav-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.section-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dots-indicator {
    width: 70px;
    height: 10px;
}

/* Scroll indicator dots */
.scroll-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
}

.scroll-dot.active {
    background: var(--color-secondary);
    width: 25px;
    border-radius: 5px;
}

/* Domestic camps adjustments */
.domestic-camps-section {
    background: var(--color-white);
}

/* Single camp layout */
.domestic-single {
    justify-content: center;
}

.domestic-single .camps-grid {
    justify-content: center;
    overflow-x: visible;
}

.domestic-single .camps-nav-btn {
    display: none;
}

.camp-card-featured {
    flex: 0 0 400px;
    min-width: 400px;
    max-width: 500px;
}

@media screen and (max-width: 480px) {
    .camp-card-featured {
        flex: 0 0 100%;
        min-width: 280px;
        max-width: 100%;
    }
}

/* ============================================
   ROADMAP & PROMO SECTION (Combined)
   ============================================ */
.roadmap-promo-section {
    position: relative;
    width: 100%;
    padding: 40px 60px 50px;
    z-index: 5;
    background: linear-gradient(180deg, #fef9e7 0%, #ffc107 100%);
    border-radius: 40px 40px 0 0;
    margin-top: -20px;
}

.roadmap-promo-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.roadmap-title {
    font-family: var(--font-secondary);
    color: var(--color-primary);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.09px;
    line-height: 1;
    margin-bottom: 15px;
}

.roadmap-image {
    width: 100%;
    max-width: 850px;
    height: auto;
    margin: 0 auto 0;
    display: block;
    position: relative;
    z-index: 1;
}

.promo-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    margin-top: -50px;
    position: relative;
}

.promo-left {
    position: relative;
    flex: 0 0 auto;
    z-index: 2;
}

.promo-girl {
    width: 280px;
    height: auto;
}

.promo-right {
    flex: 0 0 auto;
    text-align: center;
    padding-bottom: 20px;
    position: relative;
    margin-left: 50px;
}

.promo-plane {
    position: absolute;
    bottom: 58px;
    left: -100px;
    width: 130px;
    height: auto;
    z-index: 3;
    animation: flyPlane 3s ease-in-out infinite;
}

@keyframes flyPlane {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(8px, -12px) rotate(3deg);
    }
    50% {
        transform: translate(15px, -5px) rotate(-2deg);
    }
    75% {
        transform: translate(5px, -15px) rotate(2deg);
    }
}

.promo-banner {
    margin-bottom: 25px;
}

.promo-title-1 {
    font-family: var(--font-script);
    color: var(--color-primary);
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
}

.promo-title-2 {
    font-family: var(--font-secondary);
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    margin-top: 5px;
}

.promo-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.amount-number {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--color-red);
    font-size: 70px;
    letter-spacing: 4px;
    line-height: 1;
    text-shadow: var(--shadow-amount);
}

.amount-text {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--color-red);
    font-size: 50px;
    letter-spacing: 3px;
    line-height: 1;
    text-shadow: var(--shadow-amount);
}

.promo-deadline {
    font-family: var(--font-secondary);
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.53px;
    line-height: 1;
    margin-top: 15px;
}

.promo-cta {
    display: flex;
    justify-content: center;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
    background: #D4DBEE;
    padding: 40px 60px;
}

.partners-container {
    max-width: 950px;
    margin: 0 auto;
}

.partners-title {
    font-family: var(--font-secondary);
    color: var(--color-primary);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.34px;
    line-height: 1;
    margin-bottom: 25px;
    text-align: center;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
}

.partner-logo {
    max-height: 55px;
    width: auto;
    transition: var(--transition-base);
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary);
    padding: 30px 30px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.footer-logo-1 {
    width: 65px;
    height: auto;
    object-fit: contain;
}

.footer-logo-2 {
    width: 50px;
    height: auto;
    object-fit: contain;
}

.footer-divider {
    width: 2px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.footer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    opacity: 0.85;
    font-size: 12px;
    letter-spacing: 0.24px;
    line-height: 1.5;
}

.footer-address {
    align-items: flex-start;
}

.contact-icon {
    width: 14px;
    height: auto;
    flex-shrink: 0;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.social-label {
    font-weight: 700;
    color: #f5b51d;
    font-size: 11px;
    letter-spacing: 0.19px;
}

.footer-social a img {
    width: 22px;
    height: 22px;
    transition: var(--transition-base);
}

.footer-social a:hover img {
    transform: scale(1.15);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Desktop */
@media screen and (min-width: 1440px) {
    .main-wrapper {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    }
}

/* Medium Desktop */
@media screen and (max-width: 1280px) {
    .header-nav {
        gap: 20px;
        font-size: 12px;
    }
    
    .hero-section {
        padding: 25px 30px 35px;
    }
    
    .hero-title-line1 {
        font-size: 34px;
    }
    
    .hero-title-line2 {
        font-size: 40px;
    }
    
    .hero-script {
        font-size: 30px;
    }
    
    .camps-grid {
        gap: 20px;
    }
}

/* Tablet Landscape */
@media screen and (max-width: 1024px) {
    .header {
        height: 70px;
    }
    
    .header-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-content {
        padding: 0 20px;
    }
    
    .logo-riva {
        width: 45px;
    }
    
    .logo-ges {
        width: 38px;
    }
    
    .hero-section {
        padding: 20px 20px 30px;
        min-height: auto;
    }
    
    .hero-content {
        justify-content: center;
    }
    
    .hero-left {
        align-items: center;
        padding-top: 20px;
    }
    
    .hero-plane-path {
        left: 300px;
        width: 120px;
    }
    
    .hero-text-image {
        width: 100%;
        max-width: 400px;
    }
    
    .hero-title-line1 {
        font-size: 30px;
    }
    
    .hero-title-line2 {
        font-size: 36px;
    }
    
    .registration-section {
        padding: 20px 20px 30px;
    }
    
    .registration-card {
        padding: 20px 25px 25px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .benefits-section,
    .camps-section {
        padding: 40px 20px;
    }
    
    .benefits-top,
    .benefits-bottom {
        grid-template-columns: 1fr;
    }
    
    .camps-grid {
        max-width: 100%;
        padding: 0 20px 15px;
    }
    
    .camp-card {
        flex: 0 0 300px;
        min-width: 300px;
    }
    
    .camps-section .section-header .header-box,
    .section-header .header-box {
        width: 100%;
        max-width: 300px;
        height: 85px;
    }
    
    .title-line-1,
    .title-line-2,
    .section-header h2 {
        font-size: 22px;
    }
    
    .promo-title-1 {
        font-size: 30px;
    }
    
    .promo-title-2 {
        font-size: 16px;
    }
    
    .amount-number {
        font-size: 55px;
        letter-spacing: 4px;
    }
    
    .amount-text {
        font-size: 45px;
        letter-spacing: 2px;
    }
    
    .promo-deadline {
        font-size: 18px;
    }
    
    .roadmap-title,
    .partners-title {
        font-size: 22px;
    }
    
    .roadmap-promo-section {
        padding: 30px 20px 40px;
    }
    
    .promo-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .promo-left {
        order: 2;
    }
    
    .promo-right {
        order: 1;
        margin-left: 0;
    }
    
    .promo-girl {
        max-width: 250px;
    }
    
    .promo-plane {
        display: none;
    }
    
    .partners-section {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-divider {
        width: 80px;
        height: 2px;
    }
    
    .footer-info {
        align-items: center;
    }
    
    .footer-contact {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Tablet Portrait */
@media screen and (max-width: 768px) {
    .header {
        height: auto;
        min-height: 60px;
        padding: 10px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        padding: 0 15px;
        gap: 10px;
    }
    
    .header-logos {
        gap: 8px;
    }
    
    .logo-riva {
        width: 40px;
    }
    
    .logo-ges {
        width: 34px;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero-section {
        padding: 15px 15px 25px;
    }
    
    .hero-plane-path {
        display: none;
    }
    
    .hero-text-image {
        max-width: 300px;
    }
    
    .registration-section {
        padding: 15px 15px 25px;
    }
    
    .registration-card {
        padding: 18px 20px 22px;
    }
    
    .discount-amount {
        font-size: 22px;
    }
    
    .registration-header h2 {
        font-size: 18px;
    }
    
    .benefits-section,
    .camps-section,
    .promo-section {
        padding: 35px 15px;
    }
    
    .benefit-icon {
        width: 65px;
        height: 65px;
    }
    
    .benefit-content h3 {
        font-size: 12px;
    }
    
    .benefit-content p {
        font-size: 11px;
    }
    
    .camp-image {
        height: 200px;
    }
    
    .camp-content h3 {
        font-size: 10px;
    }
    
    .camp-content p {
        font-size: 9px;
    }
    
    .promo-title-1 {
        font-size: 24px;
    }
    
    .promo-title-2 {
        font-size: 14px;
    }
    
    .amount-number {
        font-size: 45px;
        letter-spacing: 3px;
    }
    
    .amount-text {
        font-size: 38px;
        letter-spacing: 2px;
    }
    
    .promo-deadline {
        font-size: 15px;
    }
    
    .roadmap-title,
    .partners-title {
        font-size: 18px;
    }
    
    .promo-girl {
        max-width: 200px;
    }
    
    .amount-number {
        font-size: 50px;
    }
    
    .amount-text {
        font-size: 35px;
    }
    
    .partners-logos {
        gap: 20px;
    }
    
    .partner-logo {
        max-height: 45px;
    }
    
    .footer {
        padding: 20px 15px;
    }
    
    .footer-logos {
        gap: 10px;
    }
    
    .footer-logo-1 {
        width: 50px;
    }
    
    .footer-logo-2 {
        width: 40px;
    }
    
    .footer-contact {
        font-size: 11px;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .hero-text-image {
        max-width: 260px;
    }
    
    .discount-amount {
        font-size: 20px;
    }
    
    .registration-header h2 {
        font-size: 16px;
    }
    
    .btn-hero,
    .btn-primary,
    .btn-detail {
        padding: 10px 20px;
    }
    
    .btn-large {
        padding: 14px 30px;
    }
    
    .btn-xlarge {
        padding: 16px 35px;
    }
    
    .btn-xlarge span {
        font-size: 15px;
    }
    
    .promo-amount {
        flex-direction: column;
        gap: 0;
    }
    
    .amount-number {
        font-size: 45px;
    }
    
    .amount-text {
        font-size: 38px;
    }
    
    .title-line-1,
    .title-line-2,
    .section-header h2 {
        font-size: 18px;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-plane,
    .btn-hero,
    .btn-primary,
    .btn-detail,
    .promo-cta,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-wrapper {
        background: white !important;
        max-width: 100% !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ============================================
   Camp Detail Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    font-size: 28px;
    font-weight: 300;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: var(--color-red);
    color: white;
    transform: rotate(90deg);
}

.modal-content {
    display: flex;
    flex-direction: row;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-image-container {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.modal-info {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.modal-title {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.3;
    white-space: pre-line;
}

.modal-subtitle {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: -12px;
}

.modal-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #fff8e7 0%, #fff5dd 100%);
    border-radius: 12px;
    border-left: 4px solid var(--color-secondary);
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-icon {
    font-size: 20px;
}

.meta-text {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.modal-highlights h4 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.highlights-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlights-list li {
    position: relative;
    padding-left: 24px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
}

.highlights-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 16px;
}

.modal-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #faa621 0%, #f16000 100%);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    padding: 14px 35px;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(241, 96, 0, 0.3);
    margin-top: auto;
    text-decoration: none;
    width: fit-content;
}

.modal-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 96, 0, 0.4);
}

.modal-cta-btn span {
    position: relative;
    z-index: 1;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
    color: white;
    text-shadow: var(--shadow-text);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-container {
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .modal-content {
        flex-direction: column;
    }
    
    .modal-image-container {
        flex: none;
        height: 200px;
    }
    
    .modal-image {
        min-height: 200px;
    }
    
    .modal-info {
        padding: 20px;
        gap: 16px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    
    .modal-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-title {
        font-size: 16px;
    }
    
    .highlights-list li {
        font-size: 13px;
    }
    
    .meta-text {
        font-size: 13px;
    }
}
