/* Base styles and variables */
:root {
    --primary-color: #DC143C; /* Polish red */
    --secondary-color: #FFFFFF; /* Polish white */
    --accent-color: #F9D71C; /* Gold accent */
    --dark-color: #333333;
    --text-color: #444444;
    --light-gray: #f9f9f9;
    --medium-gray: #e5e5e5;
    --border-color: #dddddd;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    
    --font-primary: 'Roboto', 'Lato', sans-serif;
    --font-secondary: 'Montserrat', 'Arial', sans-serif;
    
    --transition: all 0.3s ease;
}

/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--secondary-color);
}

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

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

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

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

.btn-tertiary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo svg {
    margin-right: 10px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Banner styles */
.banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.banner-graphic svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: 80px;
}

.banner-content h1 {
    font-size: 3.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

/* Intro section */
.intro {
    background-color: var(--light-gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item .icon {
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Best places section */
.best-places {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.place-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: var(--secondary-color);
}

.place-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.place-image {
    height: 200px;
    overflow: hidden;
}

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

.place-card:hover .place-image svg {
    transform: scale(1.1);
}

.place-info {
    padding: 20px;
}

.place-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.place-info p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* About us section */
.about-us {
    background-color: var(--secondary-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 15px;
}

/* Services section */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Testimonials section */
.testimonials {
    background-color: var(--secondary-color);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-card.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card {
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 30px;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-author span {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-testimonial,
.next-testimonial {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--dark-color);
    transition: var(--transition);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Newsletter section */
.newsletter {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 60px 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.newsletter-content p {
    margin-bottom: 30px;
    color: var(--secondary-color);
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 30px 30px 0;
    background-color: var(--dark-color);
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Contact section */
.contact {
    background-color: var(--light-gray);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 20px;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.social-links h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    transition: var(--transition);
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Footer styles */
footer {
    background-color: var(--dark-color);
    color: var(--secondary-color);
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-logo svg {
    margin-right: 10px;
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--secondary-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Cookie banner and modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1001;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
}

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

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    overflow: auto;
}

.modal-content {
    background-color: var(--secondary-color);
    margin: 50px auto;
    max-width: 600px;
    width: 90%;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
}

.close-button {
    background-color: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark-color);
}

.modal-body {
    padding: 20px;
}

.cookie-option {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-option h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.cookie-option p {
    font-size: 0.9rem;
    color: var(--text-color);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.modal-footer {
    padding: 20px;
    text-align: right;
    border-top: 1px solid var(--border-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .banner-content h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .banner {
        height: 80vh;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1.1rem;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--secondary-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 30px;
        transition: var(--transition);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0 0 20px 0;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 15px;
    }

    .newsletter-form button {
        border-radius: 30px;
    }

    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .feature-grid,
    .places-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        gap: 30px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-banner .btn {
        width: 100%;
    }
}
