/* ===== CSS Variables ===== */
:root {
    --primary-color: #f5a623;
    --primary-dark: #e08e0b;
    --secondary-color: #ffecd2;
    --accent-color: #d4a373;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --white: #ffffff;
    --cream: #fdf8f3;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 16px;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Language Switcher ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    border: 1.5px solid transparent;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-switcher {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .nav-links .lang-switcher {
        justify-content: center;
        margin-top: 10px;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--cream) 50%, #fff5e6 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image {
    text-align: center;
    animation: fadeInRight 1s ease 0.5s both;
}

.hero-image img {
    max-width: 450px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    animation: float 4s ease-in-out infinite;
}

.paw-prints {
    position: absolute;
    bottom: 10%;
    left: 5%;
    display: flex;
    gap: 30px;
    opacity: 0.3;
}

.paw {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.paw:nth-child(2) {
    animation-delay: 0.2s;
}

.paw:nth-child(3) {
    animation-delay: 0.4s;
}

/* ===== Section Styles ===== */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--cream);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--secondary-color) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.price-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.price-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--white);
    color: var(--primary-dark);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.price-header h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.price-header .duration {
    font-size: 0.85rem;
    opacity: 0.8;
}

.price-amount {
    padding: 25px 0;
}

.price-amount .price {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.price-amount .currency {
    font-size: 1rem;
    opacity: 0.8;
}

.price-features {
    list-style: none;
    text-align: left;
    font-size: 0.85rem;
}

.price-features li {
    padding: 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-left: 20px;
    position: relative;
}

.price-card.featured .price-features li {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.price-card.featured .price-features li::before {
    color: var(--white);
}

.pricing-notes {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1rem;
}

.pricing-notes p {
    margin: 10px 0;
}

/* ===== Certificate Section ===== */
.certificate {
    padding: 100px 0;
    background: var(--white);
}

.certificate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.certificate-image {
    position: relative;
}

.certificate-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.certificate-image:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.certificate-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    z-index: -1;
}

.certificate-info h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.certificate-info h4 {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 25px;
}

.certificate-holder {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.certificate-details {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.certificate-issuer {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 20px;
    background: var(--cream);
    border-radius: 10px;
    margin-bottom: 20px;
}

.certificate-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.certificate-badge span {
    background: var(--white);
    color: var(--primary-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--secondary-color) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.sm-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.sm-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.sm-btn.sm-fb {
    background: #1877f2;
    color: var(--white);
}

.sm-btn.sm-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
}

.sm-btn.sm-olx {
    background: #002f34;
    color: var(--white);
}

.sm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Contact Form ===== */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer .logo-icon {
    font-size: 2.5rem;
}

.footer .logo-text {
    color: var(--primary-color);
}

.footer-tagline {
    opacity: 0.8;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .price-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 300px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificate-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .certificate-image::before {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px;
        /* Wymuszona wielkość dla kliknięcia pod SEO wg dokumentacji Google */
    }

    .contact-form-container {
        padding: 25px;
    }
}

/* ===== NEW ANIMATIONS & POLISH ===== */

/* 1. Animated Hero Gradient */
.hero-bg {
    background: linear-gradient(-45deg, var(--secondary-color), var(--cream), #fff5e6, #fff0d4);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 2. Scroll Animation (Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* 3. Enhanced Card Hover Effects */
.service-card,
.price-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border for definition */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    /* Bouncy effect */
}

.service-card:hover,
.price-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(245, 166, 35, 0.2);
}

/* Icon Wobble on Hover */
.service-card:hover .service-icon {
    animation: wobble 0.8s ease-in-out;
}

@keyframes wobble {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

/* 4. Button Micro-interaction */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* 5. Floating Background Elements */
.floating-bg {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
    animation: floatBg 10s ease-in-out infinite;
}

.floating-paw {
    font-size: 3rem;
    color: var(--primary-color);
}

@keyframes floatBg {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(10px, -20px) rotate(5deg);
    }
}

/* Ensure content is above floating elements */
.container {
    position: relative;
    z-index: 1;
}

/* Gallery Hover Zoom Enhancement */
.gallery-item img {
    /* Existing transition is good, ensuring it's smooth */
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--cream) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
}

.gallery-note {
    text-align: center;
    margin-top: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Gallery Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ===== Booking Calendar Section ===== */
.booking {
    padding: 100px 0;
    background: var(--white);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.calendar-container {
    background: var(--cream);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-header h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 0;
}

.calendar-nav {
    background: var(--cream);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    touch-action: manipulation;
}

.calendar-nav:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekdays span {
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 8px 0;
}

.calendar-weekdays .weekend {
    color: var(--primary-dark);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: var(--white);
    border: 1px solid transparent;
    touch-action: manipulation;
}

.cal-day:not(.empty):not(.past):hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.2);
}

.cal-day.empty {
    background: transparent;
    cursor: default;
}

.cal-day.past {
    color: #ccc;
    cursor: default;
    background: #f9f9f9;
}

.cal-day.weekend {
    color: var(--primary-dark);
}

.cal-day.today {
    border-color: var(--primary-color);
    font-weight: 700;
}

.cal-day.selected {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

/* ===== Range selection styles ===== */

/* Check-in — lewa krawędź zakresu */
.cal-day.range-start {
    border-radius: 10px 0 0 10px !important;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

/* Check-out — prawa krawędź zakresu */
.cal-day.range-end {
    border-radius: 0 10px 10px 0 !important;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
}

/* Dni wewnątrz zakresu */
.cal-day.in-range {
    background: rgba(245, 166, 35, 0.18);
    color: var(--primary-dark);
    border-radius: 0 !important;
    border-color: transparent;
    font-weight: 600;
}

/* Podgląd hover podczas selekcji range */
.cal-day.in-range-hover {
    background: rgba(245, 166, 35, 0.1);
    border-radius: 0 !important;
}

/* Jeśli start i end na tym samym miesiącu — pełny border-radius */
.cal-day.range-start.range-end {
    border-radius: 10px !important;
}

/* ===== Panel Check-in / Check-out ===== */
.range-display {
    background: linear-gradient(135deg, #fff9f0, #fff3e0);
    border: 2px solid var(--primary-color);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    animation: fadeInUp 0.35s ease;
}

.range-display-grid {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.range-display-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.range-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.range-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.range-arrow {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== Licznik nocy ===== */
.nights-counter {
    margin-top: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary-dark), #c07a00);
    color: #fff;
    border-radius: 10px;
    font-size: 0.95rem;
    text-align: center;
    letter-spacing: 0.2px;
}

.nights-counter strong {
    font-size: 1.1rem;
}

/* Przycisk disabled */
#bookingSubmitBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}



.cal-day.has-bookings {
    background: #fff5e6;
}

.booking-dot {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.cal-day.selected .booking-dot {
    background: var(--white);
}

.calendar-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.calendar-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.legend-available {
    background: var(--white);
    border: 2px solid #ddd;
}

.legend-booked {
    background: #fff5e6;
    border: 2px solid var(--primary-color);
}

.legend-selected {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.booking-form-container {
    background: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.booking-form-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.booking-form select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.booking-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.1);
}

.form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.booking-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* ===== Calendar — dodatkowe stany UX ===== */

/* Dziś + wybrany w tym samym dniu */
.cal-day.today.selected {
    background: linear-gradient(135deg, var(--primary-dark), #c07a00);
}

/* Fokus klawiatury (dostępność) */
.cal-day:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    z-index: 2;
}

/* Animacja zaznaczenia dnia */
@keyframes calDayPop {
    0% {
        transform: scale(0.85);
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1.08);
    }
}

.cal-day.selected {
    animation: calDayPop 0.25s ease-out forwards;
}

/* Kontener wybranej daty — animacja wejścia */
.selected-date-item {
    animation: fadeInUp 0.3s ease;
}

/* Min rozmiar dotyku (Google UX wytyczne — min 44px) */
.cal-day {
    min-height: 44px;
}

/* ===== Calendar — Responsive Mobile ===== */
@media (max-width: 768px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }

    .calendar-container {
        padding: 15px 12px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .calendar-days {
        gap: 4px;
    }

    .cal-day {
        font-size: 0.85rem;
        border-radius: 6px;
        padding: 4px;
    }

    .calendar-weekdays span {
        font-size: 0.7rem;
        padding: 4px 0;
    }

    .booking-form-container {
        padding: 20px 16px;
    }

    /* Na mobile: selected dates container pełna szerokość */
    .selected-date-item {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

.booking-message,
.review-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: 500;
    animation: fadeInUp 0.4s ease;
}

.booking-message.success,
.review-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.booking-message.error,
.review-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== Reviews Section ===== */
.reviews {
    padding: 100px 0;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.reviews-loading,
.no-reviews {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 40px;
}

.review-card {
    background: var(--cream);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.review-stars {
    color: var(--primary-color);
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.review-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.review-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.review-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--cream);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.review-form-container h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-dark);
}

.star-rating {
    display: flex;
    gap: 8px;
    font-size: 2rem;
    cursor: pointer;
}

.star-rating .star {
    color: #ddd;
    transition: color 0.2s ease, transform 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
}

.star-rating .star.active {
    color: var(--primary-color);
}

.star-rating .star:hover {
    transform: scale(1.2);
}

.review-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Booking & Reviews Responsive */
@media (max-width: 992px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .form-row-inline {
        grid-template-columns: 1fr;
    }

    .calendar-legend {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 480px) {

    .booking-form-container,
    .review-form-container {
        padding: 25px;
    }

    .calendar-container {
        padding: 20px;
    }

    .cal-day {
        font-size: 0.85rem;
    }
}

/* ===== NEW DESIGN ADDITIONS ===== */

/* HERO BTTNS & CARD */
.hero-buttons .btn-round {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
}

.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: white;
}

.hero-buttons .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.hero-features-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    max-width: 450px;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.hero-feature-icon {
    flex-shrink: 0;
    color: var(--primary-color);
}

.hero-feature-text h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.hero-feature-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}

/* REVIEWS SETTINGS */
.text-center {
    text-align: center;
}

.new-reviews-section {
    background-color: white;
}

.reviews-new-subtitle {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.reviews-new-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.reviews-new-title .highlight {
    color: var(--primary-color);
}

.review-card-new {
    background: #FFF8F0;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(245, 166, 35, 0.1);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar-wrap {
    position: relative;
    width: 48px;
    height: 48px;
}

.review-avatar-new {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.review-avatar-badge-star {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFF8F0;
}

.review-author-info {
    flex-grow: 1;
}

.review-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.review-date-new {
    font-size: 0.8rem;
    color: #888;
}

.review-google-icon {
    width: 24px;
    height: 24px;
}

.review-stars-new {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars-icons {
    display: flex;
    gap: 2px;
}

.verified-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-content-text {
    font-size: 1rem;
    /* 16px to minimalna zalecana wielkość tekstu na urządzenia mobilne Google */
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-content-text.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    align-self: flex-start;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    background: var(--cream);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.faq-question:hover {
    color: var(--primary-dark);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--primary-dark);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.8s ease-in-out;
}

.faq-answer p {
    padding: 0 25px 25px;
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Multi-date Slot Selection ===== */
.multi-date-selection {
    background: var(--cream);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    animation: fadeIn 0.4s ease-out;
}

.slots-container {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}

.slots-container::-webkit-scrollbar {
    width: 6px;
}

.slots-container::-webkit-scrollbar-track {
    background: transparent;
}

.slots-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.slot-item {
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.slot-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}