:root {
    --primary: #e31e24;
    --bg-dark: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.7);
    --text-light: #f5f5f5;
    --text-muted: #888;
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Global animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Section - Bydgoszcz Focus */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1600880292021-99890a1e3b5e?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    background-attachment: fixed;
    /* Parallax effect */
    padding: 0 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    animation: fadeIn 1.5s ease;
}

.hero h1 {
    font-size: clamp(2.8rem, 9vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -3px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 40px rgba(227, 30, 36, 0.6);
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-light);
    max-width: 900px;
    margin-top: 25px;
    font-weight: 300;
    line-height: 1.6;
}

.scroll-down {
    margin-top: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-down:hover {
    opacity: 1;
}

/* Main Grid for Calculator & Summary */
.main-grid {
    max-width: 1400px;
    margin: -100px auto 100px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 10;
}

@media (max-width: 1000px) {
    .main-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    animation: fadeInScale 1s ease-out;
}

.glass-card h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

/* Summary Sidebar */
.summary-sidebar {
    background: var(--primary);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(227, 30, 36, 0.3);
    position: sticky;
    top: 40px;
    height: fit-content;
    animation: fadeInScale 1.2s ease-out;
}

.summary-sidebar h3 {
    color: var(--text-light);
    font-size: 1.6rem;
    margin-top: 0;
    text-align: center;
}

.final-price {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin: 20px 0;
    line-height: 1.1;
}

.price-details {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
}

/* Form Elements */
label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 15px;
    font-weight: 700;
}

input[type="number"],
select,
input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #333;
    background: #000;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 25px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.4);
}

.option-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s;
}

.option-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.option-box input {
    width: 25px;
    height: 25px;
    margin-right: 20px;
    accent-color: var(--primary);
}

.option-box strong {
    color: var(--text-light);
}

.option-box small {
    color: var(--text-muted);
}

/* File Upload */
.file-drop-area {
    border: 2px dashed #555;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 25px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}

.file-drop-area:hover {
    border-color: var(--primary);
    background: rgba(227, 30, 36, 0.1);
}

.file-drop-area input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
}

/* Buttons */
.btn-action {
    width: 100%;
    padding: 20px;
    border-radius: 100px;
    border: none;
    background: var(--text-light);
    color: var(--bg-dark);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    margin-top: 25px;
}

.btn-action:hover {
    background: #ddd;
    transform: translateY(-3px);
}

.btn-call {
    display: block;
    text-align: center;
    background: #2ecc71;
    color: var(--text-light);
    padding: 15px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 900;
    margin-top: 15px;
    transition: background 0.3s, transform 0.3s;
}

.btn-call:hover {
    background: #27ae60;
    transform: translateY(-3px);
}

/* Realizations Section */
.realizations-section {
    max-width: 1400px;
    margin: 100px auto;
    padding: 0 20px;
}

.realizations-section h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.photo-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 0.8s ease-out;
    transition: transform 0.3s;
}

.photo-item:hover {
    transform: translateY(-10px);
}

.photo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.photo-item-content {
    padding: 20px;
}

.photo-item-content h4 {
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.photo-item-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* SEO Content Area */
.seo-content {
    max-width: 1200px;
    margin: 100px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: #bbb;
    line-height: 1.8;
    animation: fadeInScale 1s ease-out;
}

.seo-content h2 {
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-top: 50px;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.seo-content h3 {
    color: var(--text-light);
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-top: 30px;
}

.seo-content ul {
    list-style: none;
    padding-left: 0;
}

.seo-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.seo-content ul li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: 900;
}

.seo-content strong {
    color: var(--text-light);
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid #1a1a1a;
    color: #555;
    font-size: 0.85rem;
    margin-top: 50px;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--text-light);
}