/* ===== VARIABLES & THEME ===== */
:root {
    --primary-color: #0b2c5c; /* Deep sea blue */
    --primary-light: #164e9e;
    --accent-color: #f7b928; /* Golden sand */
    --accent-hover: #e0a318;
    
    --text-main: #2b3036;
    --text-muted: #64707d;
    --bg-main: #ffffff;
    --bg-secondary: #f4f7f9;
    
    --white: #ffffff;
    --black: #0a0a0a;
    
    --border-radius: 12px;
    --border-radius-lg: 24px;
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed header */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(247, 185, 40, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 185, 40, 0.4);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 44, 92, 0.3);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 44, 92, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 15px 0;
}

.main-header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-accent {
    color: var(--accent-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

@media (min-width: 992px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 30px;
    }
}

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

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

.nav-link:hover {
    color: var(--primary-color);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pokoj_glowny.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: zoomIn 20s infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 44, 92, 0.8) 0%, rgba(11, 44, 92, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .text-gradient {
    background: linear-gradient(to right, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

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

.center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.features-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(11, 44, 92, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
}

.about-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 500px;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 4px solid var(--accent-color);
}

.exp-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    text-align: center;
    margin-top: 5px;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-desc {
    color: #a0aab5;
    margin-bottom: 30px;
    max-width: 400px;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #a0aab5;
}

.contact-list svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-list a:hover {
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #a0aab5;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    color: #64707d;
    font-size: 0.9rem;
}

.mt-4 {
    margin-top: 20px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Hidden initially */
    left: 20px;
    right: 20px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-banner.show {
    bottom: 20px;
}

.cookie-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.cookie-actions .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.cookie-actions .btn-outline {
    color: var(--text-main);
    border-color: var(--text-muted);
}

.cookie-actions .btn-outline:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        bottom: 20px;
        left: 20px;
        padding: 20px;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
}
