/* --- CSS VARIABLES & RESET --- */
:root {
    --bg-main: #ffffff;
    --bg-light: #f7f7f7;
    --text-dark: #111111;
    --text-muted: #555555;
    /* CHANGED: Accent color now "hard court blue" */
    --accent: #0056b3; 
    --whatsapp: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
}

/* --- LANGUAGE TOGGLE LOGIC --- */
body.lang-en .pl { display: none !important; }
body.lang-pl .en { display: none !important; }

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    font-weight: 800;
    margin-bottom: 1rem;
}
h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; }
.subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-4 { margin-top: 4rem; }

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-padding { padding: 6rem 0; }
.bg-light { background-color: var(--bg-light); }

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eaeaea;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
}
.logo {
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text-dark);
    letter-spacing: 1px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }

/* Lang Switcher */
.lang-switcher button {
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}
.lang-switcher button.active {
    color: var(--accent);
    text-decoration: underline;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally */
    position: relative;
    overflow: hidden;
    text-align: center;
    
    /* MODIFIED: Standard photo placeholder setup. 
       Uncomment the background-image line below and add your file path. */
    background-color: #222; /* Dark placeholder color while loading image */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* background-image: url('path/to/your/hero-image.jpg'); */
}

/* MODIFIED: Add a slight dark overlay to make white text readable on the image */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 50% dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Sits above the overlay */
    max-width: 800px;
    color: #ffffff; /* White text for contrast against background photo */
}
.hero-content .subtitle { color: #dddddd; }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
    background: var(--bg-main); /* White button on hero dark photo */
    color: var(--text-dark);
}
.btn-primary:hover { background: var(--accent); color: #fff; }

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    gap: 10px;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: #20b858; }

/* --- SPLIT LAYOUT (ABOUT & CONTACT) --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* MODIFIED: For final contact section, ensure stacking on mobile */
.contact-final {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.contact-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align text in the right block */
}

/* --- GRID (ACHIEVEMENTS) --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-top: 4px solid var(--accent); /* Uses new blue */
}
.card ul {
    list-style: none;
    margin-top: 1rem;
}
.card ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}
.card ul li::before {
    content: "•";
    color: var(--accent); /* Uses new blue */
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* --- LOCATION SECTION --- */
.map-container {
    width: 100%;
    height: 450px;
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.location-details {
    max-width: 800px;
    margin: 3rem auto 0;
}
.loc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.loc-item h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* --- CTA TEXT --- */
.cta-text {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--accent);
}

/* --- PLACEHOLDERS --- */
.placeholder-box {
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    border-radius: 8px;
    min-height: 400px;
}
.gallery-placeholder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-placeholder .placeholder-box { min-height: 250px; }

/* --- FOOTER --- */
footer {
    padding: 2rem 0;
    background: var(--text-dark);
    color: #fff;
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .split-layout, .contact-final, .loc-grid { grid-template-columns: 1fr; }
    .contact-right { align-items: center; text-align: center; } /* Center text on mobile */
    .gallery-placeholder { grid-template-columns: 1fr; }
    .map-container { height: 300px; }
}

/* --- ANIMATIONS --- */
.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}