/* ===========================
   RESET & BASE STYLES
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===========================
   SPLASH SCREEN
   =========================== */

.splash-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    
    /* Beżowo-zielonkawy gradient jak na screenie */
    background: linear-gradient(180deg, 
        #c9c9a8 0%, 
        #d4d4b8 30%,
        #d9d9bd 50%,
        #d4d4b8 70%,
        #c9c9a8 100%
    );
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    
    /* Animation props */
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease, visibility 1s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* ===========================
   TOP TAGLINE
   =========================== */

.tagline {
    font-size: clamp(0.9rem, 1.8vw, 1.3rem);
    letter-spacing: 0.15em;
    color: #4a4a3a;
    font-weight: 300;
    margin-bottom: 1rem;
}

.tagline .separator {
    margin: 0 0.5em;
    opacity: 0.6;
}

/* ===========================
   LOGO CIRCLE
   =========================== */

.logo-container {
    width: clamp(250px, 35vw, 350px);
    height: auto;
    max-height: 350px;
    margin: 1rem auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 100%;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.logo-circle text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial', sans-serif;
}

/* ===========================
   MAIN HEADING
   =========================== */

.main-heading {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 600;
    color: #2a2a1a;
    line-height: 1.3;
    margin: 1rem 0 2rem 0;
    max-width: 1000px;
}

/* ===========================
   DESCRIPTION TEXT
   =========================== */

.description {
    max-width: 900px;
    color: #4a4a3a;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.7;
}

.description p {
    margin-bottom: 1.5rem;
}

.intro-text {
    font-weight: 300;
}

.announce-text {
    font-weight: 400;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.announce-text strong {
    font-weight: 700;
    color: #2a2a1a;
}

.website-text {
    font-weight: 300;
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: #5a5a4a;
}

/* ===========================
   CONTACT INFO
   =========================== */

.contact-info {
    margin: 2rem 0 1.5rem 0;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: #4a4a3a;
}

.contact-line {
    margin: 0.5rem 0;
}

.phone-link,
.email-link {
    color: #2a2a1a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phone-link:hover,
.email-link:hover {
    color: #000;
    text-decoration: underline;
}

/* ===========================
   ADDRESS FOOTER
   =========================== */

.address-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: #2a2a1a;
    max-width: 700px;
}

.address-icon {
    font-size: 1.5em;
}

.address-text {
    text-align: left;
}

.address-text strong {
    font-weight: 700;
}

.floor-info {
    font-weight: 400;
    margin-left: 0.5em;
}

/* ===========================
   MAIN CONTENT
   =========================== */

.main-content {
    min-height: 100vh;
    padding: 4rem 2rem;
    background: #fff;
}

.main-content.active {
    display: block;
}

.main-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.main-content p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .splash-screen {
        padding: 2rem 1rem;
    }
    
    .splash-content {
        gap: 0.5rem;
    }
    
    .tagline {
        font-size: 0.8rem;
        letter-spacing: 0.08em;
        margin-bottom: 0.5rem;
    }
    
    .logo-container {
        width: 160px;
        height: auto;
        max-height: 160px;
        margin: 0.5rem auto 1.5rem auto;
    }
    
    .main-heading {
        font-size: 1.4rem;
        margin: 1rem 0 1rem 0;
        line-height: 1.4;
        padding: 0 1rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .description br {
        display: none; /* Remove line breaks on mobile */
    }
    
    .description p {
        margin-bottom: 1rem;
    }
    
    .contact-info {
        font-size: 0.9rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .address-footer {
        flex-direction: column;
        text-align: center;
        padding: 1rem 1.5rem;
        margin-top: 1.5rem;
        font-size: 0.95rem;
    }
    
    .address-text {
        text-align: center;
    }
    
    .floor-info {
        display: block;
        margin: 0.3rem 0 0 0;
    }
}

@media (max-width: 480px) {
    .splash-screen {
        padding: 1.5rem 1rem;
    }
    
    .splash-content {
        gap: 0.3rem;
    }
    
    .tagline {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }
    
    .logo-container {
        width: 120px;
        height: auto;
        max-height: 120px;
        margin: 0.5rem auto 1rem auto;
    }
    
    .main-heading {
        font-size: 1.15rem;
        margin: 0.8rem 0 0.8rem 0;
        padding: 0 0.5rem;
        line-height: 1.5;
    }
    
    .description {
        font-size: 0.85rem;
    }
    
    .description p {
        margin-bottom: 0.8rem;
    }
    
    .contact-info {
        margin: 1rem 0 0.8rem 0;
    }
    
    .address-footer {
        font-size: 0.85rem;
        margin-top: 1rem;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 360px) {
    .splash-screen {
        padding: 1rem 0.8rem;
    }
    
    .logo-container {
        width: 100px;
        height: auto;
        max-height: 100px;
        margin: 0.3rem auto 0.8rem auto;
    }
    
    .main-heading {
        font-size: 1.05rem;
        margin: 0.6rem 0 0.6rem 0;
        padding: 0 0.5rem;
        line-height: 1.5;
    }
    
    .tagline {
        font-size: 0.65rem;
    }
    
    .description {
        font-size: 0.8rem;
    }
    
    .contact-info {
        font-size: 0.85rem;
    }
    
    .address-footer {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
}

/* ===========================
   ANIMATIONS (Initial states for GSAP)
   =========================== */

.tagline,
.logo-container,
.main-heading,
.description,
.contact-info,
.address-footer {
    opacity: 0;
}
