body {
    margin: 0;
    font-family: 'Enriqueta', Georgia, 'Times New Roman', Times, serif;
    line-height: 1.6;
}

header {
    /* changed: white header, black text */
    background: #ffffff;
    color: #000;
    padding: 0;
    text-align: left;
}

nav {
    margin: 0;
    /* removed topbar space */
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

section {
    padding: 60px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
}

h1,
h2 {
    color: #333;
}

footer {
    background: #000;
    color: white;
    padding: 20px 0;
    margin-top: 0;
    /* removed extra top margin */
}


/* Hero Section */

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bg.jpg') center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 0;
    /* removed extra top space */
}

.hero-overlay {
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.hero-content h1 {
    color: #FFF;
}


/* changed: navbar background white with subtle bottom border */

.navbar-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #ffffff;
    border-bottom: 1px solid #e6e6e6;
}


/* changed: brand and menu colors to black */

.navbar-default .navbar-brand {
    color: #000;
    font-weight: bold;
    font-size: 24px;
    padding: 12px 15px;
}

.navbar-default .nav>li>a {
    color: #000 !important;
    font-weight: 700;
    /* changed to bold */
    padding: 18px 15px;
    transition: all 0.2s ease;
}


/* hover: subtle background and black text or accent color */

.navbar-default .nav>li>a:hover {
    background-color: transparent;
    color: #007bff !important;
    border-bottom: none;
}


/* mobile toggle button color */

.navbar-default .navbar-toggle {
    border-color: #ddd;
}

.navbar-default .icon-bar {
    background-color: #333;
}

#about {
    background-color: #f8f9fa;
}

#contact {
    background-color: #ecf0f1;
}

h2 {
    margin-bottom: 30px;
    font-size: 36px;
}


/* About Section */

.about-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-section .row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.about-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: bold;
}

.about-section p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-section .btn {
    margin-top: 20px;
    padding: 10px 30px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .about-section .row {
        flex-direction: column;
    }
    .about-img {
        margin-bottom: 30px;
    }
}


/* Products Section */

.products-section {
    padding: 80px 0;
    background-color: #fff;
}

.products-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
    font-size: 36px;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 50px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
}

.product-img {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform .18s ease;
}

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

.product-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .15s ease;
    color: #fff;
    font-size: 20px;
    pointer-events: none;
}

.product-img-wrapper:hover .product-overlay {
    opacity: 1;
    pointer-events: auto;
}

.product-overlay i {
    color: white;
    font-size: 40px;
}

.product-card h3 {
    color: #333;
    margin: 20px 0 10px;
    font-size: 18px;
    font-weight: bold;
}

.product-card p {
    color: #666;
    font-size: 14px;
    padding: 0 15px 15px;
    line-height: 1.6;
}


/* Modal Styling */

.modal-content {
    border: none;
    border-radius: 8px;
}

.modal-body {
    text-align: center;
    background: transparent;
}

.modal-img {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    transition: transform .18s ease;
    cursor: zoom-in;
}

.modal-img.zoomed {
    cursor: move;
}


/* Reduce modal top spacing and vertically center image modal */

#imageModal .modal-dialog {
    margin: 20px auto;
    /* small gap for mobile */
    max-width: 900px;
    /* optional */
}


/* Vertically center on desktop */

@media (min-width: 768px) {
    #imageModal .modal-dialog {
        margin: 0 auto;
        /* remove top margin */
        height: calc(100% - 40px);
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* Modal content and image fit */

#imageModal .modal-content {
    background: #FFF;
    border: none;
    box-shadow: none;
}

#imageModal .modal-body {
    padding: 0;
    text-align: center;
}

#imageModal .modal-img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    /* reserve space for top/bottom margins */
    object-fit: contain;
}


/* Optional: if you want modal flush with top without any gap */

#imageModal.no-top-gap .modal-dialog {
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .products-section h2 {
        font-size: 28px;
    }
    .product-card {
        margin-bottom: 20px;
    }
}


/* Contact Section */

.contact-section {
    padding: 80px 0 40px;
    /* reduce bottom padding so footer sits closer */
    background-color: #f8f9fa;
}

.contact-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
    font-size: 36px;
    font-weight: bold;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.map-container iframe {
    border-radius: 8px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: bold;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-form textarea.form-control {
    resize: vertical;
    font-family: Arial, sans-serif;
}

.contact-form .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: #0056b3;
}

.contact-info-row {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.contact-info-box {
    padding: 30px;
    margin-bottom: 20px;
}

.contact-info-box i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

.contact-info-box h4 {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-info-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    .contact-section h2 {
        font-size: 28px;
    }
    .map-container {
        margin-bottom: 30px;
    }
    .contact-form-wrapper {
        padding: 20px;
    }
    .contact-info-row {
        flex-direction: column;
    }
    .contact-info-box {
        margin-bottom: 30px;
    }
}


/* Ensure logo and menu are vertically aligned and spaced correctly */

.navbar .container {
    display: block;
    align-items: center;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-header {
    margin: 0;
    display: flex;
    align-items: center;
}


/* Brand (logo) keep its size and center content */

.navbar-default .navbar-brand {
    height: 80px;
    /* matches navbar height */
    display: flex;
    align-items: center;
    padding: 0;
}


/* Keep logo image vertically centered */

.navbar-brand img {
    height: 72px;
    /* adjust if you want bigger/smaller */
    max-height: 80px;
    width: auto;
    display: block;
}


/* Make the collapsed menu area behave as flex so links align vertically */

.navbar-default .navbar-collapse {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: none;
    /* remove bootstrap top border when using flex */
}


/* Make nav a flex row and remove default float */

.navbar-default .nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-default .nav>li {
    float: none;
}


/* Use line-height to vertically center links in the same 80px navbar */

.navbar-default .nav>li>a {
    padding: 0 15px;
    line-height: 80px;
    height: 80px;
    display: inline-block;
}


/* Responsive: revert to default stacking on small screens */

@media (max-width: 767px) {
    .navbar .container {
        display: block;
        padding-left: 15px;
        padding-right: 15px;
    }
    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .navbar-default .navbar-brand {
        height: 56px;
        line-height: 56px;
        padding: 0;
        margin: 0;
    }
    .navbar-brand img {
        height: 48px;
        max-height: 56px;
    }
    .navbar-default .navbar-collapse {
        display: none;
        width: 100%;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e6e6e6;
        padding: 0;
    }
    .navbar-default .navbar-collapse.in {
        display: block;
    }
    .navbar-default .nav {
        display: block;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }
    .navbar-default .nav>li {
        float: none;
        border-bottom: 1px solid #e6e6e6;
    }
    .navbar-default .nav>li>a {
        line-height: normal;
        padding: 15px;
        height: auto;
        display: block;
    }
    .navbar-toggle {
        margin: 0;
        padding: 10px;
        background: none;
        border: 1px solid #ddd;
    }
    .navbar-toggle:hover {
        background-color: #f8f9fa;
    }
}


/* Navbar Collapse Fix */

.navbar-default .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid #e6e6e6;
}

.navbar-default .navbar-collapse.in {
    overflow-y: auto;
}


/* Ensure proper display of nav items on desktop */

@media (min-width: 768px) {
    .navbar-default .navbar-collapse {
        display: flex !important;
        border-top: none;
    }
    .navbar-default .nav {
        display: flex;
        align-items: center;
    }
}


/* Mobile menu styling */

@media (max-width: 767px) {
    .navbar-default .navbar-collapse {
        position: static;
        border-top: 1px solid #e6e6e6;
        box-shadow: none;
        padding: 0;
    }
    .navbar-default .navbar-collapse.in {
        display: block;
    }
    .navbar-default .nav {
        display: block;
        margin: 0;
    }
    .navbar-default .nav>li {
        float: none;
        border-bottom: 1px solid #e6e6e6;
    }
    .navbar-default .nav>li>a {
        padding: 15px 15px;
        line-height: normal;
        height: auto;
    }
    .navbar-toggle {
        border-color: #ddd;
        padding: 8px 10px;
    }
    .navbar-toggle:hover,
    .navbar-toggle:focus {
        background-color: #f8f9fa;
    }
}


/* Make all links red */

a,
a:link,
a:visited {
    color: #FF0000 !important;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: #FF0000 !important;
    text-decoration: underline;
}


/* Buttons: black background, white text */

.btn,
.btn-primary,
button,
input[type="submit"],
.btn-block {
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
}

.btn:hover,
.btn-primary:hover,
button:hover,
input[type="submit"]:hover {
    background-color: #111 !important;
    color: #fff !important;
}


/* Navbar / Logo fit fixes: increased sizes for larger logo */

.navbar {
    min-height: 80px;
    /* increased to fit bigger logo */
}

.navbar-default {
    min-height: 80px;
}

.navbar-default .navbar-brand {
    padding: 0 15px;
    height: 80px;
    line-height: 80px;
    /* vertically center brand text if present */
    display: flex;
    align-items: center;
}

.navbar-header {
    display: block;
    align-items: center;
}


/* Bigger logo image */

.navbar-brand img {
    height: 72px;
    /* increase this value to make the logo larger (e.g. 80px) */
    max-height: 80px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}


/* Tweak toggle button vertical alignment on small screens */

.navbar-toggle {
    margin-top: 18px;
}


/* Responsive adjustments for mobile */

@media (max-width: 767px) {
    .navbar {
        min-height: 56px;
    }
    .navbar-default .navbar-brand {
        height: 56px;
        line-height: 56px;
    }
    .navbar-brand img {
        height: 48px;
        max-height: 56px;
    }
}


/* Center footer content on small screens */

@media (max-width: 767px) {
    footer .container .row {
        text-align: center;
    }
    footer .text-right {
        text-align: center;
    }
    footer .list-inline {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    footer .list-inline-item {
        display: inline-block;
        margin: 0 6px;
    }
    footer p {
        margin-bottom: 8px;
    }
}


/* Footer styles */

.site-footer {
    background: #111;
    color: #ddd;
    padding: 40px 0 20px;
    font-size: 15px;
}

.site-footer a {
    color: #f1f1f1;
    text-decoration: none;
}

.site-footer .footer-col {
    margin-bottom: 20px;
}

.site-footer h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 18px;
}

.footer-links {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-logo img {
    max-width: 140px;
    height: auto;
    margin-bottom: 12px;
}

.footer-welcome {
    color: #cfcfcf;
    margin: 0 auto;
    max-width: 320px;
    line-height: 1.5;
}


/* Social icons */

.social-icons {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.social-icons .list-inline-item {
    display: inline-block;
    margin-left: 6px;
}

.social-icons a {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    background: #222;
    color: #fff;
    transition: background .15s ease, color .15s ease;
}

.social-icons a:hover {
    background: #f05a28;
    color: #fff;
    text-decoration: none;
}


/* Footer bottom */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 18px;
    padding-top: 12px;
}

.site-footer p {
    margin: 0;
    color: #bfbfbf;
}


/* Responsive: stack and center on small screens */

@media (max-width: 767px) {
    .site-footer .footer-widgets .footer-col {
        text-align: center;
    }
    .site-footer .footer-social-col {
        text-align: center;
    }
    .social-icons .list-inline-item {
        margin: 0 6px;
    }
    .footer-welcome {
        max-width: 100%;
        padding: 0 15px;
    }
    .site-footer {
        padding-bottom: 30px;
    }
}


/* Multiple maps layout and responsive heights */

.map-container .map-row {
    margin-left: -8px;
    margin-right: -8px;
}

.map-container .map-item {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
}

.map-container h4 {
    font-size: 16px;
    margin: 6px 0 8px;
    color: #333;
}

.map-container .map-address {
    font-size: 13px;
    color: #555;
    margin-top: 6px;
}


/* Make sure iframe fits cleanly */

.map-container iframe {
    width: 100%;
    border: 0;
    display: block;
}


/* Heights */

@media (min-width: 992px) {
    .map-container .map-item iframe {
        height: 220px;
    }
}

@media (max-width: 991px) {
    .map-container .map-item iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .map-container .map-item iframe {
        height: 180px;
    }
}