/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Montserrat:wght@400;500;700;800&display=swap');

:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #00f2fe;
    --dark-color: #121212;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 10px 30px rgba(31, 38, 135, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
.vr-container { width: 100%; min-height: 100vh; display: flex; flex-direction: column; }

/* Navigation */
.vr-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    transition: padding 0.3s ease, background-color 0.3s ease;
}
.vr-nav.scrolled { padding: 0.7rem 5%; }
.logo { font-size: 1.8rem; font-weight: 800; color: var(--light-color); background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin: 0 1rem; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 500; transition: var(--transition); padding: 0.5rem 1rem; border-radius: 30px; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-color); background-color: rgba(255, 255, 255, 0.1); }

/* Header */
.vr-header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--dark-color);
    /* PONIŻEJ ZNAJDUJE SIĘ ZMIENIONA LINIA */
    background-image: url('fitness2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0 5%;
    color: white;
    overflow: hidden;
}
.profile-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(106, 17, 203, 0.85), rgba(37, 117, 252, 0.75)); z-index: 0; }
.header-content { position: relative; z-index: 1; max-width: 800px; }
.profile-image { display: none; /* Ukrywamy stare logo, bo nagłówek jest teraz o ofercie */ }
.profile-info { max-width: 100%; }
.profile-info h1 { font-size: 3.5rem; margin-bottom: 1rem; line-height: 1.2; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
.highlight { color: var(--accent-color); }
.tagline { font-size: 1.3rem; margin-bottom: 2.5rem; opacity: 0.9; }
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn { display: inline-flex; align-items: center; padding: 0.85rem 1.8rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); border: 2px solid transparent; }
.btn i { margin-right: 0.7rem; }
.btn.primary { background: var(--gradient); color: var(--light-color); }
.btn.primary:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25); }
.btn.secondary { background: rgba(255, 255, 255, 0.95); color: var(--primary-color); }
.btn.secondary:hover { transform: translateY(-5px); background: var(--accent-color); color: var(--dark-color); }

/* Sekcje */
.vr-section { padding: 6rem 5%; }
.vr-section:nth-child(even) { background: linear-gradient(135deg, #f5f7fa, #e4e7eb); }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 3.5rem; position: relative; padding-bottom: 20px; color: var(--dark-color); }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 5px; background: var(--gradient); border-radius: 5px; }

/* Pakiety */
.packages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}
.package-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.4s ease;
    border-top: 5px solid var(--primary-color);
}
.package-card:hover { transform: translateY(-15px) scale(1.03); box-shadow: 0 20px 40px rgba(31, 38, 135, 0.3); }
.package-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.package-title { font-size: 1.8rem; margin-bottom: 1rem; color: var(--primary-color); }
.package-description { font-size: 1rem; line-height: 1.7; min-height: 90px; }
.package-price { font-size: 2.5rem; font-weight: 800; margin: 1.5rem 0; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.package-btn { margin-top: 1rem; }

/* Sekcja "Dlaczego My?" */
.about-section { background: linear-gradient(135deg, rgba(106, 17, 203, 0.05), rgba(37, 117, 252, 0.05)); }
.about-content { display: flex; align-items: center; max-width: 900px; margin: 0 auto; }
.about-text .section-title { text-align: left; }
.about-text .section-title::after { left: 0; transform: none; }
.about-text p { margin-bottom: 1.5rem; font-size: 1.1rem; }
.about-quote { position: relative; padding: 2rem; margin: 2rem 0; background: rgba(255, 255, 255, 0.1); border-radius: var(--border-radius); border-left: 4px solid var(--accent-color); }
.about-quote i { font-size: 2rem; color: var(--accent-color); opacity: 0.3; position: absolute; top: 1rem; left: 1rem; }
.about-quote p { font-size: 1.2rem; font-style: italic; margin: 0; padding-left: 2.5rem; }
.about-text p strong { color: var(--primary-color); }
.about-text p strong i { color: var(--accent-color); margin-right: 8px; }

/* Galeria Wrażeń */
#gallery { background: var(--light-color); }
.gallery-subtitle { text-align: center; font-size: 1.8rem; margin-top: 4rem; margin-bottom: 1.5rem; color: var(--primary-color); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.gallery-item { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--card-shadow); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.gallery-item:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(31, 38, 135, 0.3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Finalne CTA */
#final-cta {
    background: var(--dark-color);
    color: var(--text-light);
    text-align: center;
}
.final-cta-content h2 { font-size: 2.8rem; margin-bottom: 1rem; }
.final-cta-content p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 2.5rem auto; opacity: 0.8; }
.btn-large { padding: 1.2rem 3rem; font-size: 1.2rem; }

/* Kontakt */
.contact-container { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; max-width: 1200px; margin: 0 auto; }
.contact-info { flex: 1; min-width: 300px; }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-item i { font-size: 1.5rem; margin-right: 1rem; color: var(--primary-color); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background-color: rgba(106, 17, 203, 0.1); border-radius: 50%; }
.contact-item span { display: block; }
.social-links { display: flex; gap: 1rem; margin-top: 2rem; }
.social-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: var(--transition); }
.social-icon:hover { transform: translateY(-5px); }
.map-container { flex: 1.5; min-width: 300px; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--card-shadow); min-height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* Stopka */
.vr-footer { background-color: var(--dark-color); color: var(--text-light); padding: 2rem 5%; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { color: var(--text-light); text-decoration: none; opacity: 0.7; transition: var(--transition); }
.footer-nav a:hover { opacity: 1; color: var(--accent-color); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); flex-wrap: wrap; gap: 1rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--text-light); opacity: 0.7; transition: var(--transition); }
.footer-social a:hover { opacity: 1; color: var(--accent-color); }
.footer-logo { font-size: 1.8rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer-copyright { font-size: 0.9rem; opacity: 0.7; }

/* Narzędzia (Preloader, Scroll, Back-to-Top) */
.preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--dark-color); display: flex; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.5s ease, visibility 0.5s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader { display: flex; flex-direction: column; align-items: center; }
.loader-circle { width: 80px; height: 80px; border: 4px solid rgba(255, 255, 255, 0.1); border-top: 4px solid var(--accent-color); border-radius: 50%; animation: spin 1s linear infinite; }
.loader-text { margin-top: 20px; font-size: 1.5rem; font-weight: 700; color: var(--light-color); background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.mouse { width: 30px; height: 50px; border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 20px; position: relative; }
.wheel { width: 6px; height: 6px; background-color: var(--accent-color); border-radius: 50%; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); animation: scroll 1.5s infinite; }
@keyframes scroll { 0% { opacity: 1; top: 10px; } 100% { opacity: 0; top: 30px; } }
#back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--gradient); color: white; border: none; cursor: pointer; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; }
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-5px); }

/* Media Queries */
@media screen and (max-width: 768px) {
    .nav-links { display: none; }
    .profile-info h1 { font-size: 2.5rem; }
    .section-title, .final-cta-content h2 { font-size: 2.2rem; }
    .packages-container { grid-template-columns: 1fr; }
    .contact-container { flex-direction: column; }
    .map-container { order: -1; }
}
