/* ========================================
   RESET & VARIABLES
   ======================================== */
:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary: #0ea5e9;
    --accent: #f97316;
    --success: #22c55e;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background: rgba(102, 126, 234, 0.80);
    backdrop-filter: blur(5px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.15) inset;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-wrapper:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.nav-link:hover {
    color: white;
}

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

.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.btn-primary i {
    font-size: 1rem;
}

.btn-call {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-call:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.menu-toggle {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

.mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav .nav-link {
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.mobile-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav .btn-primary {
    justify-content: center;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding: 4rem 1.5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../../img/headerbg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btn {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-primary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   SECTIONS
   ======================================== */
section {
    padding: 5rem 1.5rem;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* ========================================
   CARDS - GLASSMORPHISM
   ======================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-light);
    line-height: 1.7;
}

.card-text strong,
.card-text .font-semibold {
    color: var(--text-dark);
    font-weight: 600;
}

/* ========================================
   FEATURED SECTION (DRIPOD)
   ======================================== */
.featured-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.featured-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.featured-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 1.5rem;
    border-radius: 1rem;
}

.featured-text {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* ========================================
   REVIEWS CAROUSEL
   ======================================== */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 3rem 0;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.review-card {
    flex: 0 0 90%;
    max-width: 350px;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 0 0.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    aspect-ratio: 5 / 4;
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--primary);
}

.review-name {
    font-weight: 700;
    color: var(--text-dark);
}

.review-stars {
    color: #FFD700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.review-logo {
    height: 1em;
    width: auto;
    object-fit: contain;
}

.review-time {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.review-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.review-more {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.review-more:hover {
    text-decoration: underline;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(30, 64, 175, 0.9);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.left {
    left: 1rem;
}

.carousel-btn.right {
    right: 1rem;
}

.reviews-summary {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.ai-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--text-light);
    border-radius: 0.5rem;
    background: var(--bg-light);
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.15) inset;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);

    color: white;
    padding: 3rem 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: right;
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: white;
    text-decoration: underline;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--secondary);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
}

/* ========================================
   FLOATING ELEMENTS
   ======================================== */
/* ========================================
   FLOATING ELEMENTS
   ======================================== */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 75vw;
    max-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.floating-cta.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.floating-cta.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
}

.floating-social {
    position: fixed;
    left: 0;
    top: 75%;
    transform: translateY(-50%);
    z-index: 999;
}

.social-btn {
    width: 64px;
    height: 64px;
    background: #1877f2;
    border-radius: 0 1rem 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-icon {
    font-size: 1.75rem;
    color: white;
}

@media (min-width: 769px) {
    .floating-cta {
        display: none;
    }
}

@media (min-width: 600px) {
    .review-card {
        flex: 0 0 45%;
    }
}

@media (min-width: 900px) {
    .review-card {
        flex: 0 0 30%;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

/* Intersection Observer animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}

/* ========================================
   FAQ ACCORDION STYLES
   ======================================== */
.faq-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    list-style: none;
    user-select: none;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: var(--bg-light);
}

.faq-question {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.faq-question i {
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.faq-icon {
    color: var(--primary);
    transition: var(--transition);
    font-size: 1rem;
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    animation: slideDown 0.3s ease;
}

.faq-answer p {
    margin: 0;
}

.faq-answer ul {
    margin-top: 0.5rem;
    color: var(--text-dark);
}

.faq-answer ul li {
    margin-bottom: 0.25rem;
}

/* ========================================
   GALLERY / REALIZACJE STYLES
   ======================================== */
.gallery-card {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.gallery-card img {
    transition: var(--transition);
}

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