:root {
    --primary: #1a1a1a;
    --accent: #d4af37;
    --text: #333;
    --light: #f4f4f4;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    scroll-behavior: smooth;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    white-space: nowrap;
}

.fb-link {
    color: var(--primary);
    /* Black */
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.fb-link:hover {
    transform: scale(1.1);
}


.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2000;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.hero {
    height: 100vh;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary);
    padding: 0 10%;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--accent);
}

.btn:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-3px);
}

section {
    padding: 100px 10%;
    scroll-margin-top: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 3.5rem;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 1.5rem auto;
}

.grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* Sekcja O nas / Historia */
.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.image-placeholder-frame {
    width: 100%;
    aspect-ratio: 4/5;
    background: #f0f2f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder-frame.empty-frame::after {
    content: "Miejsce na Twoje zdjęcie rodzinne";
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}

.about-text .lead {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.signature {
    font-family: 'Outfit', sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    color: var(--primary);
}


.amenities-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.amenities-list li {
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

/* Nowa Galeria */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}


.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

.main-photo {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item {
    aspect-ratio: 1/1;
    /* Square by default */
}

.gallery-item.main-photo {
    aspect-ratio: auto;
    /* Let it stretch or define separate aspect ratio */
    min-height: 500px;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-photo {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item.main-photo {
        min-height: 350px;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .main-photo {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item.main-photo {
        min-height: auto;
        aspect-ratio: 4/3;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }
}


.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.calendar-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: stretch;
}

.booking-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.booking-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.calendar-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 10px;
}

.month-selector {
    flex-grow: 1;
    text-align: center;
}

.month-selector select {
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: center;
    padding: 5px 10px;
    border-radius: 8px;
    transition: var(--transition);
    appearance: none;
}

.month-selector select:hover {
    background: var(--light);
}

.nav-btn {
    background: var(--light);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--accent);
    color: var(--white);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #bbb;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-days .day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--light);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: none;
    border: 1px solid transparent;
}

.calendar-days .day.booked {
    background: #fdf6e6;
    color: var(--accent);
}

.calendar-days .day.today {
    background: var(--primary);
    color: var(--white);
}

.calendar-days .day.empty {
    background: transparent;
}

.calendar-legend {
    display: flex;
    gap: 24px;
    margin-top: 2rem;
    justify-content: center;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.dot.free {
    background: #e0e0e0;
}

.dot.booked {
    background: var(--accent);
}

.phone-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0.8rem 0;
}

.small {
    font-size: 0.9rem;
    color: #888;
}

.booking-form {
    margin-top: 1.5rem;
    background: #fdfdfd;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    flex-grow: 0;
}

.booking-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.booking-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-form input,
.booking-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.booking-form .btn {
    border: none;
    cursor: pointer;
    width: 100%;
}

footer {
    padding: 4rem 10%;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }

    section {
        padding: 80px 5%;
    }

    .grid,
    .calendar-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: start;
    }

    .booking-info {
        justify-content: start;
        gap: 1.5rem;
    }

    .phone-number {
        font-size: 2rem;
        margin: 0.5rem 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1500;
        padding: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    section {
        padding: 60px 4%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .calendar-container {
        padding: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Podstrona Cennik */
.hero.mini-hero {
    height: 40vh;
    min-height: 300px;
}

.containerSmall {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.price-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.price-card.featured {
    border: 2px solid var(--accent);
    position: relative;
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.price-tag {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.price-period {
    color: #888;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.price-amount span {
    font-size: 1rem;
    color: #999;
}

.price-info {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: #666;
    min-height: 40px;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.price-features li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

.additional-info {
    background: #fdf6e6;
    padding: 3rem;
    border-radius: 20px;
    color: #5d4d2d;
}

.additional-info h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.additional-info ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.additional-info li {
    margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
    .price-card.featured {
        transform: scale(1);
    }

    .price-card.featured:hover {
        transform: translateY(-5px) scale(1);
    }

    .hero.mini-hero {
        height: 30vh;
    }
}