/* ==========================================
   FRATELLI OSTERIA - CUSTOM STYLES
   ========================================== */

/* ROOT VARIABLES */
:root {
    --primary-color: #1a5f3c;
    --secondary-color: #d4af37;
    --accent-color: #fcb53b;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --shadow: 0 5px 25px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

section {
    position: relative;
}

.badge {
    font-weight: 600;
    padding: 0.5rem 1.5rem;
}

/* NAVIGATION */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.12);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
}

.navbar-brand .brand-name {
    margin-left: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.8rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .btn-primary {
    background: var(--accent-color);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.navbar-nav .btn-primary:hover {
    background: #FCB53B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

/* HERO SECTION WITH ELEGANT IMAGE */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

/* Elegant Italian Restaurant Background Image */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/ins.jpg') center center/cover no-repeat;
    z-index: 0;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 95, 60, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.hero-section h1 {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

/* SECTION BADGES & TITLES */
.section-badge, .section-badge-light {
    background: linear-gradient(135deg, var(--accent-color), #a00000);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* FEATURE CARDS */
.feature-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--accent-color), #a00000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 1rem;
}

/* MENU SECTION */
.menu-nav {
    background: var(--white);
    padding: 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    display: inline-flex;
}

.menu-nav .nav-link {
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin: 0 0.25rem;
    border: none;
}

.menu-nav .nav-link:hover {
    background: var(--light-bg);
    color: var(--accent-color);
}

.menu-nav .nav-link.active {
    background: linear-gradient(135deg, var(--accent-color), #a00000);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.3);
}

.menu-section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
}

.menu-subsection-title {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.menu-item-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.menu-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), #a00000);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.menu-item-card:hover::before {
    transform: scaleY(1);
}

.menu-item-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.menu-item-card.featured {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(26, 95, 60, 0.05));
    border: 2px solid var(--secondary-color);
}

.badge-special {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--dark-bg);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.menu-item-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.menu-item-desc {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* SPECIAL OFFER SECTION - Smaller */
.special-section {
    background: rgba(26, 95, 60, 0.95);
    padding: 1rem 0; /* reduced from 2rem */
    position: relative;
    overflow: hidden;
}

.special-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.special-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem; /* reduced from 2rem */
    border-radius: 20px;
    color: var(--white);
}

.special-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.special-card h4 {
    font-size: 1.5rem;
    color: var(--white);
}

.special-card p {
    font-size: 0.95rem;
}

.special-features {
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--white);
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
    font-size: 1rem;
}

/* CONTACT SECTION */
.contact-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--accent-color), #a00000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--accent-color);
}

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

.opening-hours-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    height: 100%;
}

.opening-hours-card h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.hours-list {
    margin-bottom: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    font-weight: 600;
    color: var(--text-dark);
    flex: 0 0 40%;
}

.hours-item .times {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hours-item .times > div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.hours-item .times .badge {
    flex-shrink: 0;
}

.hours-item .times span:not(.badge) {
    color: var(--text-light);
    text-align: right;
}

.hours-item.closed .times {
    color: var(--accent-color);
    align-items: flex-end;
}

.map-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
}

/* FOOTER */
.footer-section {
    background: var(--dark-bg);
    color: var(--white);
}

.footer-section h3,
.footer-section h5 {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links,
.footer-contact,
.footer-hours {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-hours li {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* BUTTONS */
.btn-light {
    background: var(--white);
    color: var(--accent-color);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-light:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-outline-primary {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .menu-nav {
        flex-direction: column;
        align-items: stretch;
        border-radius: 15px;
    }

    .menu-nav .nav-link {
        margin: 0.25rem 0;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }

    .display-4, .display-5 {
        font-size: 2rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .menu-section-title {
        font-size: 1.8rem;
    }

    .menu-subsection-title {
        font-size: 1.4rem;
    }

    .special-section {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.5rem;
    }

    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .menu-item-card {
        padding: 1.5rem;
    }
}

/* UTILITY CLASSES */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

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