/* Styles for Cucina Romana */

/* GENERAL STYLES */
body {
    font-family: "Georgia", serif;
    background: url("../img/marble-background.jpg") no-repeat center center fixed;
    background-size: cover;
    color: #2c3e50; /* Dark grey for better readability on light background */
}

.navbar-brand {
    font-weight: bold;
    font-family: "Georgia", serif;
    font-style: italic;
    font-size: 1.5rem;
}

.navbar {
    background-color: rgba(44, 62, 80, 0.9); /* Slightly transparent dark background */
}

.nav-link {
    color: #f8f9fa !important;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #c0392b !important;
}

/* HERO SECTION */
.hero-section {
    height: 70vh;
    background: url("../img/roman-hero.jpg") no-repeat center center;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 2rem;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 0.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px #000;
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px #000;
    margin-bottom: 2rem;
}

/* BUTTON STYLES */
.btn-danger {
    background-color: #c0392b;
    border: none;
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-danger:hover {
    background-color: #a93226;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: #7f8c8d;
    border: none;
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-secondary:hover {
    background-color: #707b7c;
    transform: scale(1.05);
}

/* FORM STYLES */
.form-control {
    border: 1px solid #7f8c8d;
    border-radius: 4px;
    background-color: #f8f9fa;
    padding: 10px;
}

.form-control:focus {
    border-color: #c0392b;
    box-shadow: 0 0 5px rgba(192, 57, 43, 0.5);
}

.auth-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* TABLE STYLES */
.table {
    background-color: rgba(255, 255, 255, 0.9);
    border-collapse: collapse;
    width: 100%;
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.table th, .table td {
    padding: 15px;
    text-align: center;
}

.table th {
    background-color: #2c3e50;
    color: #f8f9fa;
}

.table td {
    border-bottom: 1px solid #e5e5e5;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(248, 249, 250, 0.7);
}

/* FOOTER */
.footer {
    background: #2c3e50;
    color: #f8f9fa;
    padding: 2rem 0;
}

.footer p {
    margin: 0;
}

.social-media-links img {
    width: 24px;
    margin: 0 10px;
    transition: transform 0.2s;
}

.social-media-links img:hover {
    transform: scale(1.1);
}

/* DECORATIVE DIVIDER */
.decorative-divider {
    border-top: 2px solid #c0392b;
    margin: 3rem auto;
    width: 80%;
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }

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

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

/* MENU PAGE STYLES */
.container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 20px;
}

.list-group-item {
    font-size: 1.1rem;
    font-family: 'Georgia', serif;
    color: #333;
    border: none;
    border-bottom: 1px solid #dedede;
}

h2, h3 {
    font-family: 'Georgia', serif;
    color: #2c3e50;
}

.list-group-item span {
    font-weight: bold;
    color: #c0392b;
}

/* MEDIA QUERIES FOR MENU PAGE */
@media (max-width: 768px) {
    .container {
        margin-top: 20px;
        padding: 15px;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.4rem;
    }
} 

/* Footer Social Media Icons */
.social-media-links img {
    width: 32px; /* Set the size of the icons */
    margin: 0 10px;
    transition: transform 0.2s; /* Add a transition effect */
}

.social-media-links img:hover {
    transform: scale(1.1); /* Slightly enlarge the icons when hovered */
}
