@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-navy: #0B1F3B;
    --secondary-grey: #4A4F55;
    --bg-white: #FFFFFF;
    --accent-amber: #C9A24D;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400; 
    color: var(--secondary-grey);
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 106px; 
}

.navbar {
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 65px;
    width: auto;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-navy);
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.display-4 { font-weight: 600 !important; }

.text-accent { color: var(--accent-amber) !important; }
.bg-navy { background-color: var(--primary-navy) !important; }

.btn-custom {
    background-color: var(--primary-navy);
    color: #FFFFFF;
    border-radius: 4px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 12px 30px;
    transition: all 0.3s;
}

.btn-custom:hover {
    background-color: transparent;
    border: 2px solid;
    border-color: var(--primary-navy);
    color: var(--primary-navy);
}

.btn-outline-light-custom {
    border: 2px solid #fff;
    color: #fff;
    border-radius: 4px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 12px 30px;
}

.btn-outline-light-custom:hover {
    background-color: #fff;
    color: var(--primary-navy);
}

.section-padding { padding: 80px 0; }

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

footer { 
    margin-top: auto; 
    font-size: 0.95rem;
}
footer h5 {
    color: var(--accent-amber);
    font-size: 1.1rem;
    margin-bottom: 20px;
}
footer ul li {
    margin-bottom: 10px;
}
footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.goog-te-banner-frame.skiptranslate { display: none !important; }
.goog-te-gadget-simple {
    background-color: rgba(255,255,255,0.1) !important;
    border: none !important;
    padding: 8px !important;
    border-radius: 4px;
}
.goog-te-gadget-simple .goog-te-menu-value span {
    color: white !important;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}
.goog-te-gadget-icon { display: none !important; }

.floating-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    text-decoration: none;
}
.floating-btn:hover { transform: scale(1.1); color: white; }
.btn-whatsapp { background-color: #25D366; }
.btn-wechat { background-color: #7BB32E; }

.card { 
    overflow: hidden; 
}
.card img { 
    transform-origin: center; 
    will-change: transform; 
    transition: transform 0.6s ease;
}
.card:hover img {
    transform: scale(1.1);
}

.hover-card {
    transition: all 0.3s ease;
}
.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}


#hidden-form-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
}
#hidden-form-container.show-form {
    max-height: 1500px;
    opacity: 1;
}

.main-media-container {
    width: 100%;
    height: 400px; 
    background-color: #F8F9FA;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-media-item {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}
.main-media-item.active {
    display: block;
}

.thumb-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    background-color: #fff;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item.active {
    border-color: var(--accent-amber);
    box-shadow: 0 0 5px rgba(201, 162, 77, 0.5);
}

.thumb-item:hover {
    border-color: #adb5bd;
}

.video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: none;
}

.brand-logo-img, .kapco-brand-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 25px;
    display: block;
}

@media (max-width: 991px) {
    body {
        padding-top: 86px;
    }
    .navbar {
        padding: 15px 0;
    }
    .navbar-brand img {
        height: 45px !important;
    }
    h1.display-4 { font-size: 2.2rem; }
    h2 { font-size: 1.75rem; }
    .hero-section { min-height: 60vh !important; }
    .floating-container { bottom: 15px !important; right: 15px !important; }
}

@media (max-width: 768px) {
    h1.display-4 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }
    .hero-section .lead {
        font-size: 1rem !important;
    }
    .hero-section {
        min-height: auto !important;
        padding-top: 140px !important;
        padding-bottom: 80px !important;
        background-attachment: scroll !important;
    }
    .hero-section .d-flex {
        flex-direction: column;
        gap: 15px;
    }
    .card {
        margin-bottom: 15px;
    }
    h2 {
        font-size: 1.4rem !important;
        margin-bottom: 15px !important;
    }
    .text-accent.fw-bold {
        font-size: 1rem !important;
    }
}


.navbar {
    z-index: 9999 !important; 
    position: fixed;
    width: 100%;
}

.navbar-toggler {
    z-index: 10000 !important;
    position: relative;
    border-color: rgba(255,255,255,0.6) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-collapse {
    background-color: var(--primary-navy);
    padding: 15px;
    border-radius: 0 0 10px 10px;
    position: relative;
    z-index: 9999;
}


@media (max-width: 991px) {
    body {
        padding-top: 76px;
    }
    .navbar-brand img {
        height: 45px !important;
    }
    .hero-section {
        min-height: 50vh !important;
        padding-top: 40px !important;
        padding-bottom: 60px !important;
        background-position: center top !important; 
    }
    h1.display-4 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    .hero-section p.lead {
        font-size: 1.1rem !important;
    }
    .section-padding {
        padding: 40px 0 !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
    .card img {
        height: auto !important;
        max-height: 250px;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 576px) {
    h1.display-4 {
        font-size: 1.75rem !important;
    }
    .hero-section {
        text-align: center !important;
    }
    .navbar-collapse {
        margin-top: 10px;
        background-color: var(--primary-navy);
        border-radius: 8px;
        padding: 10px;
    }

    .d-flex.align-items-center.gap-2 {
        margin-left: auto;
    }
}
