/* ========================================
   STRONA ZAPISÓW - PREMIUM DESIGN
   Dopasowane do motywu GAS Krobia
======================================== */

:root {
    --primary-navy: #0b2340;
    --primary-yellow: #f2e300;
    --deep-blue: #050f1a;
    --mid-blue: #0d2d52;
    --light-blue: #162d52;
    --text-dark: #333333;
    --text-light: #ffffff;
}

.zapisy-page {
    font-family: inherit;
    background: linear-gradient(180deg, var(--primary-navy) 0%, var(--deep-blue) 100%);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
    position: relative;
    overflow-x: hidden;
}

/* Dekoracyjne tło */
.zapisy-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(242, 227, 0, 0.01) 40px, rgba(242, 227, 0, 0.01) 80px);
    pointer-events: none;
    opacity: 0.3;
}

/* Hero Section */
.zapisy-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--light-blue) 100%);
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 2rem);
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    position: relative;
    box-shadow: 0 4px 20px rgba(11, 35, 64, 0.3);
    color: var(--text-light);
}

.zapisy-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: clamp(300px, 50vw, 500px);
    height: clamp(300px, 50vw, 500px);
    background: radial-gradient(circle, rgba(242, 227, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.zapisy-hero h1 {
    margin: 0;
    padding: 0;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.2vw, 1px);
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.zapisy-hero h1::after {
    content: '';
    display: block;
    width: clamp(60px, 10vw, 80px);
    height: clamp(3px, 0.5vw, 4px);
    background: var(--primary-yellow);
    margin: clamp(1rem, 3vw, 1.25rem) auto 0;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(242, 227, 0, 0.5);
}

/* Content Section */
.zapisy-content-section {
    max-width: min(850px, 95%);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    position: relative;
    z-index: 1;
}

.zapisy-card {
    background: rgba(15, 31, 53, 0.7);
    backdrop-filter: blur(10px);
    border-radius: clamp(12px, 2vw, 16px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(242, 227, 0, 0.15);
    padding: clamp(2rem, 6vw, 3rem);
    border-top: clamp(4px, 1vw, 6px) solid var(--primary-yellow);
    border: 1px solid rgba(242, 227, 0, 0.2);
    transition: all 0.4s ease;
}

.zapisy-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(242, 227, 0, 0.3);
}

.zapisy-text {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.zapisy-text p {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.zapisy-text p:last-child {
    margin-bottom: 0;
}

/* Contact Box */
.contact-box {
    background: rgba(11, 35, 64, 0.5);
    border-left: clamp(3px, 0.5vw, 4px) solid var(--primary-yellow);
    padding: clamp(1.5rem, 5vw, 2rem);
    border-radius: 0 clamp(8px, 1.5vw, 12px) clamp(8px, 1.5vw, 12px) 0;
    margin-top: clamp(1.5rem, 4vw, 2rem);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(242, 227, 0, 0.15);
    position: relative;
    border: 1px solid rgba(242, 227, 0, 0.2);
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-yellow) 50%, transparent 100%);
    opacity: 0.5;
}

.contact-box h3 {
    color: var(--text-light);
    margin-top: 0;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 2vw, 1rem);
    align-items: center;
    margin-top: clamp(0.75rem, 2vw, 1rem);
    width: 100%;
}

.contact-email {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 800;
    color: var(--primary-navy);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #fff176 100%);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    border-radius: clamp(25px, 5vw, 50px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(8px, 2vw, 12px);
    width: fit-content;
    max-width: 100%;
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 4px 15px rgba(242, 227, 0, 0.3);
}

.contact-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 227, 0, 0.5);
    background: var(--primary-navy);
    color: var(--primary-yellow);
}

.contact-email:active {
    transform: translateY(-1px);
}

.contact-icon {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--primary-navy);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(50px, 10vw, 70px);
    height: clamp(50px, 10vw, 70px);
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #fff176 100%);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.contact-box:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Large Tablet - 1024px */
@media (max-width: 1024px) {
    .zapisy-hero {
        padding: clamp(2.5rem, 7vw, 4rem) clamp(1rem, 3vw, 1.5rem);
    }
    
    .zapisy-card {
        padding: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .contact-box {
        padding: clamp(1.25rem, 4vw, 1.75rem);
    }
}

/* Tablet - 768px */
@media (max-width: 768px) {
    .zapisy-hero h1 {
        font-size: clamp(1.6rem, 6vw, 2rem);
        letter-spacing: 0.5px;
    }
    
    .zapisy-card {
        padding: clamp(1.5rem, 5vw, 2rem);
        border-radius: 12px;
    }
    
    .contact-email {
        font-size: clamp(1rem, 3vw, 1.15rem);
        padding: 0.9rem 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-box {
        border-radius: 0 8px 8px 0;
    }
    
    .zapisy-card:hover {
        transform: translateY(-3px);
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    .zapisy-hero h1 {
        font-size: clamp(1.4rem, 7vw, 1.6rem);
    }
    
    .zapisy-hero h1::after {
        width: 50px;
        height: 3px;
        margin-top: 0.75rem;
    }
    
    .zapisy-card {
        padding: 1.5rem;
        border-top-width: 4px;
    }
    
    .contact-box {
        padding: 1.25rem;
        border-left-width: 3px;
    }
    
    .contact-email {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        gap: 8px;
    }
    
    .contact-email:hover {
        transform: translateY(-2px);
    }
    
    .contact-icon {
        font-size: 1.6rem;
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }
}

/* Extra Small Mobile - 360px */
@media (max-width: 22.5rem) {
    .zapisy-hero {
        padding: 2rem 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .zapisy-hero h1 {
        font-size: 1.3rem;
        letter-spacing: 0;
    }
    
    .zapisy-hero h1::after {
        width: 40px;
        margin-top: 0.5rem;
    }
    
    .zapisy-content-section {
        padding: 0 0.75rem;
    }
    
    .zapisy-card {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .zapisy-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .contact-box {
        padding: 1rem;
        border-left-width: 3px;
    }
    
    .contact-box h3 {
        font-size: 1.1rem;
    }
    
    .contact-email {
        font-size: 0.9rem;
        padding: 0.7rem 1.25rem;
        gap: 6px;
        word-break: break-word;
    }
    
    .contact-icon {
        font-size: 1.4rem;
        width: 45px;
        height: 45px;
    }
}

/* 2K / Ultra-wide (2560px+) */
@media (min-width: 160rem) {
    .zapisy-content-section {
        max-width: 1000px;
    }
    
    .zapisy-hero {
        padding: 6rem 3rem;
    }
    
    .zapisy-card {
        padding: 3.5rem;
    }
}

/* Large Desktop (1440px - 1920px) */
@media (min-width: 90rem) and (max-width: 120rem) {
    .zapisy-content-section {
        max-width: 900px;
    }
}
