/*
Theme Name: K-T-V
Author: Your Name
Description: A modern WordPress parent theme with Bootstrap 5.3.8, AMP support, and advanced features.
Version: 1.0.0
*/

/* General Body Styling */
body {
    background-color: #fff;
    color: #333;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #075E54;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* --- Header Styling --- */
.site-header {
    height: 70px;
    transition: all 0.3s ease-in-out;
    background-color: #075E54; /* Header background color */
}

.ktv-navbar {
    height: 70px;
    padding: 0 15px;
    flex-wrap: nowrap;
}

.ktv-logo {
    height: 35px; /* Smaller logo size for mobile */
    width: auto;
    object-fit: contain;
}

.site-title {
    color: #fff;
    font-size: 1rem;
}

.ktv-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ktv-search-input {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0s 0.3s;
    font-size: 16px;
    outline: none;
}

.ktv-search-form.active .ktv-search-input {
    width: 200px;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.ktv-search-button {
    background: none;
    border: none;
    color: #fff; /* Search button icon color */
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
    display: flex;
    align-items: center;
}

.ktv-navbar .nav-link {
    font-size: 15px;
    color: #fff; /* Menu link color */
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.ktv-navbar .nav-link:hover {
    color: #e0e0e0;
}

.navbar-toggler {
    border: none;
    color: #fff; /* Menu toggle icon color */
    font-size: 1.5rem;
    padding: 8px;
}

.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");
}

.offcanvas-header {
    background-color: #075E54 !important;
}

.offcanvas-body .navbar-nav .dropdown-menu {
    border: none;
    box-shadow: none;
    background-color: #f8f9fa;
}

/* Add padding to the hero block to prevent it from being hidden under the fixed header */
.ktv-header-padding {
    height: 70px; /* Same height as the header */
    width: 100%;
}

@media (max-width: 991.98px) {
    .site-header {
        height: auto;
    }
    .ktv-navbar {
        height: auto;
    }
    .ktv-logo {
        height: 30px;
    }
}

/* --- Footer Styling --- */
.site-footer {
    background-color: #343a40;
    color: #fff;
    padding-top: 5rem;
}

.site-footer a {
    color: #fff;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #075E54;
}

/* --- Floating Buttons --- */
.ktv-floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    z-index: 1050;
}

.ktv-fab-btn {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.ktv-fab-btn:hover {
    transform: scale(1.1);
}

.ktv-call-btn {
    background-color: #128C7E;
}

.ktv-whatsapp-btn {
    background-color: #25D366;
}

.ktv-chat-btn {
    background-color: #075E54;
}

#ktv-scroll-top-btn {
    background-color: #075E54;
    display: none;
    cursor: pointer;
}

#ktv-scroll-top-btn:hover {
    background-color: #054a3f;
}
