/* ===================================
   HOME.CSS - Style dla strony głównej
   La mia Fabbrica - Restauracja
   =================================== */

/* ===================================
   HERO SECTION
   =================================== */
.hero-section-modern {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.85) 25%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,0.4) 75%,
        rgba(0,0,0,0.15) 90%,
        transparent 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
}

.hero-text {
    max-width: 680px;
    padding: 0 100px;
    color: #fff;
}

.hero-brand {
    font-size: clamp(28px, 4.5vw, 52px);
    font-family: var(--font-accent);
    font-weight: 400;
    letter-spacing: -0.7px;
    margin-bottom: 20px;
    line-height: 1.2em;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-tagline {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-description {
    font-size: clamp(14px, 1.3vw, 17px);
    font-weight: 400;
    line-height: 1.6;
    max-width: 550px;
    margin-bottom: 35px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-direction: row;
    animation: fadeInUp 0.8s ease 0.8s both;
}

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

/* ===================================
   SEKCJA O NAS
   =================================== */
.section-about-dark {
    background: var(--color-bg-white);
    color: var(--color-text);
    padding: 80px 0;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about-subtitle {
    font-size: 18px;
    font-family: var(--font-heading);
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2em;
}

.about-title {
    font-size: clamp(18px, 2vw, 26px);
    font-family: var(--font-accent);
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: -0.7px;
    color: var(--color-text);
}

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

.about-photo-container {
    position: relative;
    z-index: 1;
}

.about-main-photo {
    width: 100%;
    height: 600px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.about-main-photo:hover img {
    transform: scale(1.05);
}

/* Overlay photos */
.overlay-photo {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    border: 4px solid #ffffff;
}

.overlay-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.overlay-photo:hover img {
    transform: scale(1.1);
}

.overlay-photo.top-left {
    top: -40px;
    left: -60px;
    animation: float-subtle 6s ease-in-out infinite;
}

.overlay-photo.bottom-right {
    bottom: -40px;
    right: -60px;
    animation: float-subtle 6s ease-in-out infinite 3s;
}

@keyframes float-subtle {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(5px); }
}

/* Content box */
.about-content-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-label {
    font-size: 18px;
    font-family: var(--font-heading);
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.2em;
}

.about-content-box h3 {
    font-size: clamp(26px, 3vw, 38px);
    font-family: var(--font-accent);
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.2em;
    letter-spacing: -0.7px;
    color: var(--color-text);
}

.about-content-box p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* ===================================
   SEKCJA MENU - ZIELONE TŁO
   =================================== */
.section-menu-green {
    background: linear-gradient(135deg, var(--color-primary) 0%, #188548 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-menu-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 550px;
    height: 550px;
    background-image: url('../assets/img/skladniki.png');
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
    transform: rotate(180deg);
}

.section-menu-green::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 550px;
    height: 550px;
    background-image: url('../assets/img/skladniki.png');
    background-size: cover;
    background-position: bottom right;
    background-repeat: no-repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.section-menu-green .section-content {
    position: relative;
    z-index: 2;
}

.menu-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.menu-subtitle {
    font-size: 18px;
    font-family: var(--font-heading);
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2em;
    opacity: 0.9;
}

.menu-main-title {
    font-size: clamp(16px, 1.8vw, 22px);
    font-family: var(--font-accent);
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: -0.7px;
    color: #fff;
}

.menu-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Menu cards */
.menu-card-special {
    background: transparent;
    text-align: center;
    transition: transform 0.4s ease;
}

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

.menu-card-image-round {
    width: 360px;
    height: 360px;
    margin: 0 auto 35px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 8px solid rgba(255,255,255,0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

.menu-card-special:hover .menu-card-image-round {
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.menu-card-image-round img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.menu-card-special:hover .menu-card-image-round img {
    transform: scale(1.15);
}

.menu-card-content-special {
    padding: 0 20px;
}

.menu-card-content-special h3 {
    font-size: clamp(26px, 2.8vw, 36px);
    font-family: var(--font-accent);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: -0.7px;
}

.menu-card-content-special p {
    font-size: 1.05em;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ===================================
   SEKCJA SHOW KULINARNE
   =================================== */
.show-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.show-video-container {
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.show-subtitle {
    font-size: 18px;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.6px;
    line-height: 1.2em;
}

.show-text h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-family: var(--font-accent);
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: -0.7px;
}

.show-text p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===================================
   SEKCJA REZERWACJA - PARALLAX
   =================================== */
.reservation-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.parallax-section {
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
}

.parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.reservation-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.reservation-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reservation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reservation-content {
    text-align: center;
    color: #fff;
    max-width: 700px;
    padding: 0 40px;
}

.reservation-content h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-family: var(--font-accent);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: -0.7px;
}

.reservation-content p {
    font-size: clamp(16px, 1.5vw, 20px);
    margin-bottom: 35px;
    line-height: 1.6;
}

/* ===================================
   SEKCJA OPINII - KARUZELA
   =================================== */
.reviews-header {
    text-align: center;
    margin-bottom: 80px;
}

.reviews-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-family: var(--font-accent);
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: -0.7px;
}

.reviews-subtitle {
    font-size: 16px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.reviews-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
}

.reviews-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.review-slide {
    min-width: 33.333%;
    padding: 40px 30px;
    text-align: center;
    box-sizing: border-box;
}

.review-rating {
    color: #D4AF37;
    font-size: 18px;
    margin-bottom: 25px;
    letter-spacing: 3px;
}

.review-quote {
    font-size: clamp(15px, 1.6vw, 18px);
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
    min-height: 150px;
}

.review-name {
    font-size: 14px;
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Carousel buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #E5E5E5;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    font-size: 24px;
    color: var(--color-text);
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #fff;
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* Carousel dots */
.carousel-dots {
    text-align: center;
    margin-top: 40px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: #E5E5E5;
    margin: 0 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot:hover { background: #888; }

.dot.active {
    background: var(--color-primary);
    width: 12px;
    height: 12px;
}

/* ===================================
   SEKCJA GALERIA
   =================================== */
.gallery-section,
.section-gallery-grey {
    background-color: var(--color-bg-grey);
}

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

.gallery-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-family: var(--font-accent);
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: -0.7px;
}

.gallery-subtitle {
    font-size: 16px;
    color: #888;
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

/* ===================================
   SEKCJA KONTAKT
   =================================== */
.contact-section {
    padding: 0 !important;
    min-height: 600px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.contact-map-fullheight {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.contact-map-fullheight iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(100%) contrast(1.1);
    -webkit-filter: grayscale(100%) contrast(1.1);
}

.contact-info-panel {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.contact-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-family: var(--font-accent);
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: -0.7px;
}

.contact-subtitle {
    font-size: 16px;
    color: #888;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

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

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 160, 90, 0.1);
    border-radius: var(--radius-full);
}

.contact-text h3 {
    font-size: 18px;
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.contact-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.contact-text a {
    color: var(--color-primary);
    font-weight: 600;
    transition: color var(--transition-normal);
}

.contact-text a:hover {
    color: #158F4E;
}

.contact-details .btn {
    margin-top: 15px;
    align-self: flex-start;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .hero-text { padding: 0 40px; }

    .about-new-grid,
    .menu-grid-two,
    .show-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-photo-container { max-width: 600px; margin: 0 auto; }

    .overlay-photo { width: 200px; height: 200px; }
    .overlay-photo.top-left { top: -30px; left: -40px; }
    .overlay-photo.bottom-right { bottom: -30px; right: -40px; }

    .menu-card-image-round { width: 300px; height: 300px; }

    .gallery-grid { grid-template-columns: repeat(3, 1fr); }

    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-map-fullheight { min-height: 400px; }
}

@media (max-width: 768px) {
    .hero-section-modern { height: 70vh; min-height: 500px; }

    .hero-gradient {
        width: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    }

    .hero-content { align-items: flex-end; }
    .hero-text { padding: 0 30px 60px; }
    .hero-buttons { flex-direction: column; width: 100%; }

    .section { padding: 60px 0; }

    .about-main-photo { height: 400px; }
    .overlay-photo { width: 140px; height: 140px; }
    .overlay-photo.top-left { top: -20px; left: -20px; }
    .overlay-photo.bottom-right { bottom: -20px; right: -20px; }

    .menu-card-special .menu-card-image-round { width: 260px; height: 260px; }

    .review-slide { min-width: 100%; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .reservation-section { height: 450px; }

    .contact-info-panel { padding: 40px 20px; }
}

@media (max-width: 480px) {
    .hero-text { padding: 0 20px 40px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
