/* ===== ZMIENNE CSS ===== */
:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --accent-red: #dc2626;
    --accent-red-hover: #b91c1c;
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --dark-gray: #6b7280;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CUSTOM SCROLLBAR ===== */
/* Hide scrollbar but keep functionality */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Firefox */
* {
    scrollbar-color: transparent transparent;
    scrollbar-width: none;
}

/* ===== RESET & GLOBALNE STYLE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--primary-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background-color: var(--secondary-black);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    flex: 0 0 auto;
}

.logo {
    height: 50px;
    width: auto;
    animation: fadeInDown 0.6s ease-out;
}

.nav {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.phone {
    flex: 0 0 auto;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.phone-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: var(--transition);
}

.phone-text {
    display: inline;
}

.phone-link:hover {
    color: var(--accent-red-hover);
    transform: scale(1.05);
}

.phone-link:hover .phone-icon {
    animation: ring 0.6s ease-in-out infinite;
}

/* ===== MOBILE MENU TOGGLE - LADDER ICON ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

/* Ladder icon - shown when menu is closed (default state) */
.icon-ladder {
    width: 28px;
    height: 28px;
    stroke: var(--white);
    position: absolute;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(1) rotate(0deg);
}

/* House icon - shown when menu is open (active state) */
.icon-house {
    width: 28px;
    height: 28px;
    stroke: var(--white);
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.8) rotate(-90deg);
}

/* When menu is active - swap icons */
.mobile-menu-toggle.active .icon-ladder {
    opacity: 0;
    transform: scale(0.8) rotate(90deg);
}

.mobile-menu-toggle.active .icon-house {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--secondary-black);
    border-bottom: 2px solid var(--accent-red);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-nav.active {
    max-height: 480px;
}

.mobile-nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 20px;
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    transition: var(--transition);
    display: block;
}

.mobile-nav-phone {
    color: #dc2626 !important;
    font-weight: 600 !important;
    background-color: rgba(220, 38, 38, 0.1) !important;
    border-top: 2px solid #dc2626 !important;
    border-bottom: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 1.5rem 20px !important;
    margin-top: 0.5rem !important;
    text-decoration: none !important;
    min-height: 80px !important;
    text-align: center !important;
}

.mobile-nav-phone span {
    display: inline;
    color: inherit;
    white-space: nowrap;
}

.mobile-nav-phone span.phone-text {
    font-weight: 600;
}

/* Phone icon SVG styling for mobile nav */
.phone-icon-mobile {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    flex-shrink: 0;
    transition: var(--transition);
    display: inline-block;
}

.mobile-nav-phone:hover {
    background-color: #dc2626 !important;
    color: white !important;
    transform: scale(1.02);
}

.mobile-nav-phone:hover span {
    color: white !important;
}

/* Ring animation for phone icon on hover */
.mobile-nav-phone:hover .phone-icon-mobile {
    animation: ring 0.6s ease-in-out infinite;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 20px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CTA BUTTON ===== */
.cta-button {
    display: inline-block;
    background-color: var(--accent-red);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid var(--accent-red);
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-red-hover);
    border-color: var(--accent-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-primary {
    background-color: var(--accent-red);
    color: var(--white);
}

.cta-secondary {
    background-color: transparent;
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
}

.cta-secondary:hover {
    background-color: var(--accent-red);
    color: var(--white);
    border-color: var(--accent-red-hover);
}

/* ===== SEKCJE ===== */
section {
    padding: 60px 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
    border-radius: 2px;
}

/* ===== MAIN SERVICES SECTION - REMOVED ===== */

/* ===== FULL SERVICES SECTION ===== */
.full-services {
    background-color: var(--primary-black);
}

.services-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    overflow: visible;
}

.service-item {
    background: linear-gradient(135deg, var(--secondary-black) 0%, rgba(26, 26, 26, 0.6) 100%);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(220, 38, 38, 0.1);
    transition: var(--transition);
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    border-color: var(--accent-red);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(26, 26, 26, 0.8) 100%);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.15);
}

.service-item-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    transition: var(--transition);
}

.service-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.service-item p {
    font-size: 0.85rem;
    color: var(--dark-gray);
    line-height: 1.5;
    margin: 0;
    display: none;
}

.service-item ul {
    display: none;
}

.service-item li {
    display: none;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background-color: var(--primary-black);
    padding: 4rem 20px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-red);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--secondary-black);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    background-color: rgba(220, 38, 38, 0.1);
}

.faq-question[aria-expanded="true"] {
    color: var(--accent-red);
    background-color: rgba(220, 38, 38, 0.05);
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
    transition: var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(220, 38, 38, 0.02);
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--dark-gray);
    line-height: 1.8;
     margin: 0;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    background-color: var(--primary-black);
    padding: 4rem 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.portfolio-card {
    background-color: var(--secondary-black);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
}

.portfolio-project {
    background-color: var(--secondary-black);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
    cursor: pointer;
}

.portfolio-card:hover {
    border-color: var(--accent-red);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.15);
    transform: translateY(-5px);
}

.portfolio-project:hover {
    border-color: var(--accent-red);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.15);
    transform: translateY(-5px);
}

.portfolio-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-project:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-project .portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 38, 38, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-project:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.portfolio-meta {
    color: var(--accent-red);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-description {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.portfolio-features {
    list-style: none;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.portfolio-features li {
    padding: 0.4rem 0;
    color: var(--light-gray);
}

/* ===== ABOUT US SECTION ===== */
.about-section {
    background-color: var(--primary-black);
    padding: 4rem 20px;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-intro h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.about-intro p {
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(26, 26, 26, 0.5) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light-gray);
    font-size: 1rem;
    font-weight: 500;
}

.team-title {
    font-size: 2rem;
    text-align: center;
    margin: 3rem 0 2rem;
    color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.team-member {
    background-color: var(--secondary-black);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.2);
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
}

.team-member:hover {
    border-color: var(--accent-red);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.15);
    transform: translateY(-5px);
}

.team-photo {
    overflow: hidden;
    height: 250px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-photo img {
    transform: scale(1.05);
}

.team-member h4 {
    font-size: 1.3rem;
    margin: 1.5rem 1rem 0;
    color: var(--white);
}

.team-role {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0.5rem 1rem;
}

.team-bio {
    color: var(--dark-gray);
    font-size: 0.9rem;
    padding: 0 1rem 1.5rem;
    line-height: 1.6;
}

.about-values {
    margin-top: 4rem;
    text-align: center;
}

.about-values h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(26, 26, 26, 0.3) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
}

.value-card:hover {
    border-color: var(--accent-red);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.1);
    transform: translateY(-3px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.value-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== BOOKING SECTION ===== */
.booking-section {
    background-color: var(--primary-black);
    text-align: center;
}

.booking-text {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: var(--secondary-black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-red);
}

.contact-info p {
    margin: 0.5rem 0;
    color: var(--dark-gray);
}

.contact-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(220, 38, 38, 0.2);
}

.contact-details a {
    color: var(--accent-red);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent-red-hover);
    text-decoration: underline;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(220, 38, 38, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--dark-gray);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background-color: rgba(220, 38, 38, 0.05);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Form Validation Styles */
.contact-form input.invalid,
.contact-form textarea.invalid {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.contact-form input.valid,
.contact-form textarea.valid {
    border-color: #22c55e;
    background-color: rgba(34, 197, 94, 0.05);
}

.form-error {
    display: none;
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: -0.3rem;
}

.form-error.show {
    display: block;
    animation: slideInDown 0.3s ease-out;
}

/* ===== HCAPTCHA STYLING ===== */
.h-captcha {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.h-captcha iframe {
    border-radius: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-black);
    border-top: 2px solid rgba(220, 38, 38, 0.2);
    padding: 2rem 20px;
    text-align: center;
    color: var(--dark-gray);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.footer-content p {
    margin: 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--accent-red);
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-link:hover {
    background-color: var(--accent-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ===== ANIMACJE ===== */
@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(-15deg);
    }
    20% {
        transform: rotate(15deg);
    }
    30% {
        transform: rotate(-15deg);
    }
    40% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== SCROLL ANIMATION ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-animate.visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .nav {
        display: none;
    }

    .phone {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .hero {
        padding: 60px 20px;
        min-height: 50vh;
    }

    .hero-cta-group {
        gap: 1rem;
    }

    .cta-button {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    section {
        padding: 40px 20px;
    }

    .services-catalog {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-item {
        animation: fadeInUp 0.6s ease-out;
    }

    /* Gallery modal responsive */
    .gallery-modal-content {
        max-width: 95%;
        max-height: 85vh;
        padding: 1.5rem;
    }

    .gallery-thumbnails {
        gap: 0.75rem;
    }

    .gallery-thumb {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 0.8rem;
    }

    .cta-button {
        padding: 10px 24px;
        font-size: 0.9rem;
        width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Mobile hCaptcha */
    .h-captcha {
        transform: scale(0.9);
        transform-origin: center;
        margin: 0.5rem 0;
    }

    /* Gallery modal responsive for mobile */
    .gallery-modal-content {
        max-width: 98%;
        max-height: 80vh;
        padding: 1rem;
    }

    .gallery-title h2 {
        font-size: 1.3rem;
    }

    .gallery-thumbnails {
        gap: 0.5rem;
    }

    .gallery-thumb {
        width: 60px;
        height: 60px;
    }

    .gallery-main {
        aspect-ratio: 4 / 3;
    }
}

/* ===== SERVICE MODAL/LIGHTBOX ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, var(--secondary-black) 0%, rgba(26, 26, 26, 0.6) 100%);
    border: 2px solid var(--accent-red);
    border-radius: 12px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.3);
    animation: slideInUp 0.4s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-red);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--accent-red-hover);
    transform: rotate(90deg);
}

.modal-service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.modal-service-title {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    margin-top: 0;
}

.modal-service-description {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin: 0;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== PORTFOLIO GALLERY MODAL ===== */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeInUp 0.3s ease-out;
}

.gallery-modal-content {
    background: linear-gradient(135deg, var(--secondary-black) 0%, rgba(26, 26, 26, 0.8) 100%);
    border: 2px solid var(--accent-red);
    border-radius: 12px;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.4);
}

.gallery-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-red);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.gallery-close-btn:hover {
    background: var(--accent-red-hover);
    transform: rotate(90deg);
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16 / 10;
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

.gallery-title {
    text-align: center;
}

.gallery-title h2 {
    font-size: 1.6rem;
    color: var(--white);
    margin: 0;
    font-weight: 600;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumb.active {
    border-color: var(--accent-red);
    opacity: 1;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
}
