/* Reset & Base Styles */
:root {
    --primary-color: #ffffff;
    --secondary-color: #f9f9f9;
    --accent-gold: #d4af37;
    --accent-gold-dark: #b5952f;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --text-white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--primary-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--secondary-color);
}

.gold-text {
    color: var(--accent-gold);
}

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

/* Typography Utilities */
.section-tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--text-white);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--text-dark);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.w-100 {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-lang-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: default;
    white-space: nowrap;
}

.navbar.scrolled .btn-lang-info {
    background-color: var(--secondary-color);
    border-color: #eee;
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
}

.navbar.scrolled .logo {
    color: var(--text-dark);
}

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

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

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

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

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

.btn-call-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--text-white);
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar.scrolled .btn-call-nav {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--text-white);
}

.btn-call-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-white);
}

.navbar.scrolled .bar {
    background-color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--text-white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a; /* Fallback color */
    background-image: url('tlo.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

/* Fix for background-attachment: fixed on mobile devices */
@media (max-width: 1024px) {
    .hero-background {
        background-attachment: scroll !important;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

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

/* About Section */
.about-text-full {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

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

.feature-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background-color: var(--primary-color);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
}

.feature-item span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Destinations Section (Zastępuje stare usługi) */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.dest-column {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.dest-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.dest-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.dest-icon {
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dest-column h3 {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.dest-column ul {
    list-style: none;
}

.dest-column ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.dest-column ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--primary-color);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent-gold);
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: var(--text-white);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('tlo.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-light);
}

.contact-item a, .contact-item span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

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

.map-container {
    background-color: var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    height: 450px;
    border: 1px solid rgba(0,0,0,0.03);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Footer */
footer {
    background-color: #111111;
    color: #ffffff;
    padding-top: 80px;
}

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

.footer-logo p {
    color: #999999;
    margin-top: 20px;
    max-width: 400px;
}

footer h4 {
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

footer ul li {
    margin-bottom: 15px;
}

footer ul li a {
    color: #999999;
}

footer ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding: 20px 0;
    text-align: center;
    color: #777777;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .gold-border {
        display: none;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-padding {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 2000; /* Higher than nav-menu */
        position: relative;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--text-dark);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--text-dark);
    }
    
    .nav-menu {
        position: fixed;
        top: -110%; /* Extra buffer */
        left: 0;
        width: 100%;
        height: auto;
        padding: 80px 0 40px;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease-in-out;
        z-index: 1000;
        border-bottom: 2px solid var(--accent-gold);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        pointer-events: none; /* Disable clicks when hidden */
        opacity: 0;
    }
    
    .nav-menu.active {
        top: 0;
        opacity: 1;
        pointer-events: auto; /* Enable clicks when visible */
    }
    
    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .nav-link {
        color: var(--accent-gold) !important;
        font-size: 1.3rem;
        font-weight: 700;
        font-family: var(--font-serif);
        transition: var(--transition);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .nav-link:hover {
        color: var(--text-dark) !important;
    }
    
    .btn-call-nav, .btn-lang-info {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

/* Floating Call Button */
.fab-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.fab-call:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 0;
    }
    .top-bar {
        display: none;
    }
    .fab-call {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--accent-gold);
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
