/*
Theme Name: Gibeon
Theme URI: https://yoursite.com
Author: Your Name
Author URI: https://yoursite.com
Description: Custom WordPress theme with Bootstrap and FontAwesome 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gibeon
*/


/* ===================================
   HOME PAGE SECTIONS
   =================================== */

  
/* Hero Slider */
.hero-slider {
    position: relative;
    margin-top: 0;
}

.hero-slider .carousel-item {
    height: 600px;
}

.hero-slider .carousel-item img {
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-subtitle {
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: lowercase;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-offer {
    font-size: 16px;
    letter-spacing: 6px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 300;
}

.btn-hero {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 15px 50px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s;
    border-radius: 30px;
    font-weight: 500;
}

.btn-hero:hover {
    background: #fff;
    color: #000;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev i,
.carousel-control-next i {
    font-size: 18px;
}

.carousel-indicators {
    margin-bottom: 30px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    opacity: 0.6;
}

.carousel-indicators button.active {
    background: #fff;
    opacity: 1;
}

/* Promo Banners */
.promo-banners-section {
    background: #fff;
}

.promo-banner {
    position: relative;
    overflow: hidden;
}

.promo-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.promo-banner:hover .promo-image img {
    transform: scale(1.05);
}

.promo-content {
    background: #f8f9fa;
    text-align: center;
    color: #333;
}

.promo-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
}

.promo-title {
    font-size: 28px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
}

.promo-link {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    display: inline-block;
    transition: color 0.3s;
}

.promo-link:hover {
    color: #000;
    border-bottom-color: #000;
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.title-divider {
    width: 80px;
    height: 2px;
    background: #333;
    margin: 0 auto;
    position: relative;
}

.title-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #333;
}

.title-divider-white {
    background: #fff;
}

.title-divider-white::before {
    background: transparent;
    border-color: #fff;
}

/* Product Cards */
.product-card {
    background: #fff;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    height: 300px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
}

.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    background: #d4a843;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn i {
    color: #fff;
    font-size: 18px;
}

.action-btn:hover {
    background: #c59732;
    transform: scale(1.1);
}

.product-card-body {
    padding: 25px 20px;
}

.product-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.4;
    height: 1.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-title a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-title a:hover {
    color: #333;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.product-price del {
    color: #999;
    margin-right: 10px;
    font-weight: 400;
}

.product-cart-action {
    display: flex;
    justify-content: center;
}

.btn-add-to-cart {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #666;
    padding: 10px 30px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    border-radius: 25px;
}

.btn-add-to-cart:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

.btn-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Features Section */
.features-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 400px;
}

.features-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.feature-item {
    padding: 40px 20px;
}

.feature-icon-wrapper {
    display: inline-block;
}

.feature-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s;
}

.feature-icon-circle.feature-icon-gold {
    background: #d4a843;
    border-color: #d4a843;
}

.feature-icon-circle i {
    font-size: 36px;
    color: #fff;
}

.feature-item:hover .feature-icon-circle {
    transform: scale(1.1);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.feature-divider {
    width: 60px;
    height: 2px;
    background: #fff;
}

.feature-text {
    font-size: 14px;
    line-height: 1.8;
    color: #fff;
    opacity: 0.9;
}

/* Products Tabs */
.products-tabs-section .section-header {
    position: relative;
}

.products-tabs-section .title-divider {
    width: 80px;
    height: 1px;
    background: #ddd;
    margin: 20px auto 0;
    position: relative;
}

.products-tabs-section .title-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
}

.products-tabs-section .nav-pills {
    border: none;
    gap: 0;
}

.products-tabs-section .nav-link {
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 30px;
    transition: all 0.3s;
    position: relative;
    border-radius: 0;
}

.products-tabs-section .nav-link:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
}

.products-tabs-section .nav-link.active {
    background: #007bff;
    color: #fff;
}

.products-tabs-section .nav-link:hover:not(.active) {
    color: #666;
}

.product-carousel {
    position: relative;
}

.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.product-carousel .carousel-control-prev {
    left: -60px;
}

.product-carousel .carousel-control-next {
    right: -60px;
}

.product-carousel .carousel-control-prev i,
.product-carousel .carousel-control-next i {
    color: #333;
    font-size: 16px;
}

.product-carousel .carousel-control-prev:hover,
.product-carousel .carousel-control-next:hover {
    background: #333;
}

.product-carousel .carousel-control-prev:hover i,
.product-carousel .carousel-control-next:hover i {
    color: #fff;
}

/* Blog Cards */
.latest-blogs-section {
    background: #f8f9fa;
}

.latest-blogs-section .carousel-control-prev,
.latest-blogs-section .carousel-control-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.latest-blogs-section .carousel-control-prev {
    left: -60px;
}

.latest-blogs-section .carousel-control-next {
    right: -60px;
}

.latest-blogs-section .carousel-control-prev i,
.latest-blogs-section .carousel-control-next i {
    color: #333;
    font-size: 16px;
}

.latest-blogs-section .carousel-control-prev:hover,
.latest-blogs-section .carousel-control-next:hover {
    background: #333;
}

.latest-blogs-section .carousel-control-prev:hover i,
.latest-blogs-section .carousel-control-next:hover i {
    color: #fff;
}

.blog-card-link {
    display: block;
    height: 100%;
}

.blog-card {
    background: #fff;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
}

.blog-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    transition: color 0.3s;
    font-weight: 600;
}

.blog-card:hover .blog-title {
    color: #000;
}

.blog-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

/* Categories Section */
.categories-section {
    position: relative;
}

.categories-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.category-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

.category-link {
    text-decoration: none;
}

.category-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Brands Section */
.brands-section {
    background: #f8f9fa;
}

.brand-item {
    /*padding: 20px;*/
    text-align: center;
}

.brand-item img {
    max-height: 60px;
    opacity: 0.6;
    transition: opacity 0.3s;
    filter: grayscale(100%);
}

.brand-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
        letter-spacing: 4px;
    }
    
    .hero-subtitle,
    .hero-offer {
        font-size: 14px;
    }
    
    .hero-slide {
        height: 400px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

/* ===================================
   CONTACT PAGE
   =================================== */

/* Page Header */
.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    margin-bottom: 0;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 6px;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.breadcrumb {
    font-size: 14px;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 15px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #d4a843;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: #fff;
}

.contact-form .form-label {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .form-control {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 14px;
    color: #666;
    border-radius: 0;
    transition: border-color 0.3s;
}

.contact-form .form-control:focus {
    border-color: #333;
    box-shadow: none;
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
}

.btn-send-message {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #666;
    padding: 12px 40px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    font-weight: 500;
    border-radius: 25px;
}

.btn-send-message:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

.contact-map {
    height: 100%;
    min-height: 450px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Contact Page Responsive */
@media (max-width: 991px) {
    .page-title {
        font-size: 36px;
        letter-spacing: 4px;
    }
    
    .contact-map {
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-title {
        font-size: 28px;
        letter-spacing: 3px;
    }
    
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-map {
        min-height: 300px;
    }
}

/* Form Validation Styles */
.contact-form .was-validated .form-control:invalid,
.contact-form .form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.contact-form .was-validated .form-control:invalid:focus,
.contact-form .form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.contact-form .was-validated .form-control:valid,
.contact-form .form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.contact-form .was-validated .form-control:valid:focus,
.contact-form .form-control.is-valid:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.contact-form .invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.contact-form .was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

/* Alert Styling */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert i {
    margin-right: 0.5rem;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}

/* Button Loading State */
.btn-send-message.loading {
    pointer-events: none;
    opacity: 0.65;
}

.btn-send-message.loading::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}