/**
 * Custom Header Styling for Bootstrap3 Theme
 * 
 * This file contains custom styles for the new header layout
 */

/* Header Logo Section */
.header-logo-section {
    background-image: url('https://archvisual.id/public/site/bg_header.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px 0;
    border-bottom: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 270px;
    width: 100%;
}

.header-logo-section .container {
    width: 100%;
    padding: 0;
    max-width: 1170px;
    margin: 0 auto;
    padding-right: 0;
    padding-left: 0;
}

.header-logo-section .row {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.header-logo-section .col-xs-12 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.header-logo-section .site-name {
    margin: 0;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-section .site-name .navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin: 0;
}

.header-logo-section .site-name .navbar-brand img {
    max-width: 100%;
    width: 100%;
    max-height: max-content;
    height: auto;
    transition: transform 0.3s ease;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.header-logo-section .site-name .navbar-brand img:hover {
    transform: scale(1.05);
}

/* Header Navigation Section */
.header-navigation-section {
    background: linear-gradient(135deg, #0d3632 0%, #074a43 100%) !important;
    padding: 2px 0;
    position: relative;
}

.header-navigation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.header-navigation-section .container-fluid {
    position: relative;
    z-index: 2;
}

.header-navigation-section .navbar {
    background: transparent;
    border: none;
    margin-bottom: 0;
    min-height: auto;
}

.header-navigation-section .navbar .navbar-nav {
    margin: 8px;
}

.header-navigation-section .navbar .navbar-nav > li > a {
    color: #fff !important;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.header-navigation-section .navbar .navbar-nav > li > a:hover,
.header-navigation-section .navbar .navbar-nav > li > a:focus {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.header-navigation-section .navbar .navbar-toggle {
    border-color: #fff;
    margin-right: 0;
}

.header-navigation-section .navbar .navbar-toggle:hover,
.header-navigation-section .navbar .navbar-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.header-navigation-section .navbar .navbar-toggle .icon-bar {
    background-color: #fff;
}

/* Search form styling */
.header-navigation-section .pull-md-right .search-form {
    margin-left: 20px;
}

.header-navigation-section .pull-md-right .search-form .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: #333;
    border-radius: 20px;
    padding: 8px 15px;
}

.header-navigation-section .pull-md-right .search-form .form-control::placeholder {
    color: #666;
}

.header-navigation-section .pull-md-right .search-form .form-control:focus {
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.header-navigation-section .pull-md-right .search-form .btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: #333;
    border-radius: 20px;
    padding: 8px 15px;
    margin-left: 5px;
}

.header-navigation-section .pull-md-right .search-form .btn:hover {
    background-color: #fff;
    transform: translateY(-1px);
}

/* User menu styling */
.header-navigation-section #navigationUser {
    margin-left: 15px;
}

.header-navigation-section #navigationUser .nav > li > a {
    color: #b1b1b1 !important;
    background: transparent;
    padding: 10px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.header-navigation-section #navigationUser .nav > li > a:hover,
.header-navigation-section #navigationUser .nav > li > a:focus {
    color: #b1b1b1 !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.footer {
    background: #092623 !important;
    color: #b1b1b1;
}

/* Responsive adjustments */
@media (min-width: 1200px) {
    .header-logo-section .container {
        max-width: 1170px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header-logo-section .container {
        max-width: 970px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-logo-section .container {
        max-width: 750px;
    }
}

@media (max-width: 991px) {
    .header-logo-section {
        padding: 15px 0;
        min-height: 100px;
    }
    
    .header-logo-section .row {
        min-height: 100px;
    }
    
    .header-logo-section .site-name .navbar-brand img {
        max-height: 80px;
    }
    
    .header-navigation-section {
        padding: 10px 0;
    }
    
    .header-navigation-section .navbar .navbar-nav {
        margin: 0;
    }
    
    .header-navigation-section .navbar .navbar-nav > li > a {
        padding: 8px 12px;
    }
    
    .header-navigation-section .pull-md-right {
        float: none !important;
        margin-top: 10px;
        margin-left: 0;
    }
    
    .header-navigation-section .pull-md-right .search-form {
        margin-left: 0;
        text-align: center;
    }
    
    .header-navigation-section #navigationUser {
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .header-logo-section {
        padding: 10px 0;
        min-height: 80px;
    }
    
    .header-logo-section .row {
        min-height: 80px;
    }
    
    .header-logo-section .site-name .navbar-brand img {
        max-height: 60px;
    }
    
    .header-navigation-section .navbar .navbar-nav > li > a {
        padding: 6px 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-logo-section {
        min-height: 70px;
    }
    
    .header-logo-section .row {
        min-height: 70px;
    }
    
    .header-logo-section .site-name .navbar-brand img {
        max-height: 50px;
    }
} 



/*-----------------------------------------------
|   Icons group
-----------------------------------------------*/
.icon-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 30px;
  }
  .icon-group .icon-item:not(:last-child) {
    margin-right: 0.5rem;
  }
  
  .icon-item {
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--falcon-gray-700);
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    height: 2.5rem;
    width: 2.5rem;
    border: 0;
    font-size: 0.875rem;
    -webkit-box-shadow: var(--falcon-box-shadow-sm);
    box-shadow: var(--falcon-box-shadow-sm);
    margin-right: 30px !important;
  }
  .icon-item:hover, .icon-item:focus {
    background-color: var(--falcon-gray-200);
  }
  .icon-item.icon-item-sm {
    height: 1.875rem;
    width: 1.875rem;
  }
  .icon-item.icon-item-lg {
    height: 2.75rem;
    width: 2.75rem;
  }
  .icon-item.icon-item-xl {
    height: 3.125rem;
    width: 3.125rem;
    font-size: 1.2rem;
  }
  
  .fa-icon-wait {
    opacity: 0;
  }
  .fontawesome-i2svg-active .fa-icon-wait {
    opacity: 1;
  }
  
  .icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-width: 2px;
    border-style: solid;
    margin: 0 auto;
    margin-bottom: 1rem;
  }
  
  .icon-circle-primary {
    color: var(--falcon-primary);
    border-color: var(--falcon-primary);
  }
  
  .icon-circle-success {
    color: var(--falcon-success);
    border-color: var(--falcon-success);
  }
  
  .icon-circle-info {
    color: var(--falcon-info);
    border-color: var(--falcon-info);
  }
  
  .icon-circle-warning {
    color: var(--falcon-warning);
    border-color: var(--falcon-warning);
  }

  /*-----------------------------------------------
|  Back to top button
-----------------------------------------------*/
.btn-back-to-top {
    background-color: var(--falcon-dark);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-top-right-radius: 0.25rem;
    left: 50%;
    top: -7.5rem;
    -webkit-transform: translate3d(-50%, -50%, 0) rotate(-45deg);
    transform: translate3d(-50%, -50%, 0) rotate(-45deg);
    height: 2.5rem;
    width: 2.5rem;
  }
  [dir=rtl] .btn-back-to-top {
    -webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg);
    transform: translate3d(-50%, -50%, 0) rotate(45deg);
  }

  .copyright {
    color: #b1b1b1 !important;
    margin-bottom: -30px;
  }