@font-face {
    font-family: 'Stars&Love-BottomHeavy';
    src: url('fonts/Stars/Stars&Love-BottomHeavy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #73000e;
    /* Green from the highlights */
    --secondary-color: #f7a8b8;
    /* Pink floral tone */
    --accent-color: #f28b46;
    /* Orange from the nasturtium flower */
    --text-dark: #73000e;
    --bg-light: #faf9f6;
    /* Off-white, natural feel */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

h1,
h2,
h3,
.navbar-brand {
    font-family: 'Stars&Love-BottomHeavy', cursive;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #73000e !important;
}

.navbar-logo {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 800;
    color: var(--text-dark) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Active page underline */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}


/* Hero Section */
.hero-section {
    background-image: url('img/nature-concrete-hero-fiore.jpg');
    background-position: center 0px;
    background-repeat: no-repeat;
    background-size: cover;
    height: 90vh;
    /* Increased from 80vh */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 80px;
    /* Shift content down as requested */
}

/* Homepage Hero Image */
.home-page .hero-section {
    background-image: url('img/nature-concrete-hero.jpg?v=1.2') !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Bottom "locked" overlay */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-primary-custom:hover {
    background-color: #9c0013;
    color: white;
    border-color: #9c0013;
}

.btn-outline-custom {
    background-color: transparent;
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid white;
    transition: all 0.3s;
    margin-left: 15px;
    animation: fadeInUp 1s ease-out 1s both;
}

.btn-outline-custom:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-white-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-white-custom:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Service Card Button */
.btn-service {
    color: var(--primary-color);
    background-color: transparent;
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-service:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Services Grid */
.services-section {
    padding: 100px 0;
    background-color: #fff;
}

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

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    background: #fff;
    position: relative;
    cursor: pointer;
}

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

.service-card .stretched-link::after {
    z-index: 10;
}

.service-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    top: 225px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(115, 0, 14, 0.4);
    z-index: 2;
    transition: background-color 0.3s;
}

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

.service-body {
    padding: 40px 25px 30px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Instagram Feed Section Preview */
.instagram-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background-color: #faf9f6;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.reviewer {
    display: flex;
    align-items: center;
}

.reviewer-info h5 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}


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

.ig-item {
    position: relative;
    padding-bottom: 100%;
    /* Square aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.ig-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ig-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;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.ig-item:hover img {
    transform: scale(1.05);
}

.ig-overlay i {
    color: white;
    font-size: 2rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-brand {
    font-family: 'Stars&Love-BottomHeavy', cursive;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

.social-icons a {
    color: #ffffff !important;
    font-size: 2rem;
    margin-right: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

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

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Settings */
@media (max-width: 991px) {
    .nav-link {
        width: fit-content;
        margin: 4px 10px;
        font-weight: 500;
    }

    .nav-link.active,
    .nav-link:hover {
        font-weight: 800;
    }

    .nav-link.active::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

    .btn-outline-custom {
        margin-left: 0;
        margin-top: 15px;
        display: block;
        width: max-content;
        margin-left: auto;
        margin-right: auto;
    }
}

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

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

    .ig-grid {
        grid-template-columns: 1fr 1fr;
        /* Keep 2 cols on mobile for IG feed */
    }

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

/* Hover dropdowns for Desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .section-title p {
        max-width: 800px;
    }
}

/* Wide screen hero background */
@media (min-width: 1000px) {
    .hero-section {
        background-image: url('img/nature-concrete-hero.jpg?v=1.1');
        background-position: center 0px;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

/* Degustazioni Page Styles */
.page-hero {
    background-image: url('img/nature-concrete-flower-bar.jpg');
    background-size: cover;
    background-position: center 0px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 80px;
    position: relative;
    /* Consistent with home */
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 1;
    pointer-events: none;
}

.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.flower-menu-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.flower-menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.flower-menu-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Stars&Love-BottomHeavy', cursive;
}

.experience-card {
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 40px;
    background: rgba(244, 162, 97, 0.05);
}

.experience-card h3 {
    color: var(--accent-color);
}

.price-card {
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.price-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.detail-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

/* CTA Section — lighter green than footer */
.cta-section {
    background-color: #910012;
}

/* Press Ticker Carousel Styles */
.press-section {
    padding: 80px 0 60px;
    background-color: var(--bg-light);
    overflow: hidden;
    position: relative;
}

.press-ticker-container {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: relative;
}

/* Fade edges */
.press-ticker-container::before,
.press-ticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.press-ticker-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.press-ticker-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.press-ticker-track {
    display: flex;
    width: max-content;
    animation: scroll-press-ticker 90s linear infinite;
    gap: 30px;
    padding: 20px 40px;
}

.press-ticker-track:hover {
    animation-play-state: paused;
}

.press-ticker-card {
    flex-shrink: 0;
    width: 380px;
    background: #ffffff;
    border-left: 5px solid var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.press-ticker-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
    transform: translateY(-5px);
}

.press-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.press-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.press-source {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.press-date {
    font-size: 0.85rem;
    color: #999;
    margin-left: auto;
    font-weight: 500;
}

.press-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.press-excerpt {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    margin-top: auto;
}

.btn-read-more:hover {
    color: var(--accent-color);
    gap: 12px;
}

.btn-read-more i {
    font-size: 1rem;
}

@keyframes scroll-press-ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive press ticker */
@media (max-width: 768px) {
    .press-ticker-card {
        width: 300px;
        padding: 22px;
    }

    .press-ticker-track {
        gap: 20px;
        animation-duration: 60s;
    }

    .press-title {
        font-size: 1.05rem;
    }

    .press-ticker-container::before,
    .press-ticker-container::after {
        width: 30px;
    }
}

/* Logo Ticker Section */
.logo-ticker-section {
    padding: 60px 0;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-ticker-container {
    display: flex;
    align-items: center;
}

.logo-ticker-track {
    display: flex;
    width: max-content;
    animation: scroll-ticker 40s linear infinite;
    gap: 100px;
    padding: 0 40px;
}

.logo-ticker-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-item img {
    height: 100%;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    /* filter: grayscale(100%) opacity(0.7); */
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.logo-boost img {
    transform: scale(1.15);
    /* +15% large */
}

.logo-acquolina img {
    transform: scale(1.35);
    /* +35% large (additional 15-20% boost) */
}

.logo-shrink img {
    transform: scale(0.7);
    /* -30% smaller */
}

.logo-item:hover.logo-boost img {
    transform: scale(1.25);
}

.logo-item:hover.logo-acquolina img {
    transform: scale(1.45);
}

.logo-item:hover.logo-shrink img {
    transform: scale(0.8);
}

/* Stylized typography for missing logos */
.logo-text-placeholder {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #333;
    letter-spacing: -0.5px;
    white-space: nowrap;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.logo-item:hover .logo-text-placeholder {
    filter: grayscale(0%) opacity(1);
    color: #e31212;
    /* Red touch for "Today" brands */
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustment for ticker */
@media (max-width: 768px) {
    .logo-ticker-track {
        gap: 50px;
        animation-duration: 30s;
    }

    .logo-item {
        height: 45px;
    }
}

/* Flower Menu Images Consistency */
.flower-menu-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-top: 1rem;
}

.sommelier-image {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 1rem auto;
}

@media (max-width: 767.98px) {
    .sommelier-image {
        max-width: 100%;
    }
}