/* ===== Shared styles extracted from all HTML pages ===== */

/* Contact Modal */
.contact-modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 9999;
}
.contact-modal.active {
    opacity: 1;
    visibility: visible;
}
.contact-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    position: relative;
}
.contact-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Honeypot spam trap — hidden from humans, visible to bots */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-group input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.contact-submit {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.contact-submit:hover {
    background-color: #229954;
}

/* QR Code popups */
.qrcode-popup,
.instagram-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}
.qrcode-popup img,
.instagram-popup img {
    width: 150px;
    height: 150px;
}

/* Logo fix */
.navbar .container {
    position: relative;
    overflow: hidden;
}
.nav-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 20px;
}
.logo {
    max-width: 300px;
}
.logo-img {
    max-width: 100%;
    height: auto;
    transform: scale(1.3);
    transform-origin: center right;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}
.back-to-top:hover {
    background-color: #555;
    transform: translateY(-5px);
}

/* Carousel */
.carousel-container {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.carousel-item.active {
    opacity: 1;
}

/* Brand section */
.brand-section {
    background-color: white;
    padding: 50px 0;
}
.brand-content {
    width: 100%;
    max-width: calc(100% - 200px);
    margin: 0 auto;
}
.brand-letter {
    margin-top: 100px;
}
.letter-image {
    width: 100%;
    height: auto;
}

/* Catalog button */
.contact-image-section {
    position: relative;
}
.image-with-button {
    position: relative;
    display: inline-block;
}
.contact-image {
    display: block;
    max-width: 100%;
    height: auto;
}
.catalog-button-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.catalog-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
}
.catalog-btn:hover {
    background-color: #333;
    color: white;
    border: 1px solid #333;
    font-weight: normal;
}

/* Contact info row */
.contact-item-row {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}
.contact-item-row > div {
    flex: 1;
}

/* Maintenance image */
.maintenance-image {
    width: 100%;
    margin-top: 20px;
}
