/*
 * Custom Styles for Bayview Florida LLC Combined Website
 */

/* --- General Layout & Utility Styles --- */
.img-center {
    margin: 0 auto;
}

/* --- Video Container Styles --- */
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 800px; /* Set a max width for large screens */
    margin: 20px auto;
}

.video-container.promo-video {
    max-width: 600px; /* A smaller container for the promo video */
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Modern CSS for maintaining aspect ratio */
}

/* --- Graphics & Charts (from SFC section) --- */
.graficos-container {
    display: flex;
    justify-content: space-around; /* Use space-around for better spacing */
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 15px; /* Add space between items */
}

.grafico {
    flex: 1;
    min-width: 150px; /* Minimum width before wrapping */
    max-width: 30%; /* Max width per item */
    text-align: center;
}

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

/* --- Table Styles (from SFC & Mission/Vision) --- */
.tabla-container {
    width: 90%; /* More responsive width */
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    overflow-x: auto; /* Allow horizontal scroll on small devices */
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

th, td {
    text-align: left;
    padding: 12px; /* Increased padding for readability */
    vertical-align: top;
}

th {
    border-top: 0px solid black;
    border-bottom: 1px solid black;
}

table.mission-vision-table td {
    vertical-align: middle;
}

tfoot {
    border-top: 1px solid black;
    border-bottom: 0px solid black;
}

/* --- Book Promotion Section Styles ("In Search Of...") --- */
.book-promo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping */
    margin-top: 30px;
    gap: 20px;
}

.best-seller-text {
    font-size: 1.1em;
    font-weight: bold;
    color: #8B4513; /* A brownish color */
    margin-top: 20px;
}

.btn-book {
    background-color: #900000; /* Maroon color */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px; /* Pill shape */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-book:hover {
    background-color: #7a0000; /* Darker maroon on hover */
    color: white;
    text-decoration: none;
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .brand {
        font-size: 40px;
    }
    .address-bar {
        font-size: 16px;
    }
    .graficos-container {
        flex-direction: column;
    }
    .grafico {
        max-width: 80%;
    }
    .book-promo-section {
        text-align: center;
    }
    .book-promo-section .col-md-5,
    .book-promo-section .col-md-7 {
        width: 100%;
    }
}