/* Additional CSS for StarCamp Global Theme */

/* Banner Gallery Styles */
.gallery-container {
    margin: auto;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 80vh;
    border-radius: 20px;
}

.item {
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: top;
    padding-top: 140px;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    font-weight: bold;
    opacity: 1; /* Overlay is always visible */
    transition: opacity 1s ease;
}

.item:hover .overlay {
    opacity: 0; /* Overlay remains visible on hover */
}

.slogan {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    padding: 20px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 2s ease;
}

.item:hover .slogan {
    opacity: 1; /* Slogan appears on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-container {
        height: 50vh;
        flex-direction: column;
    }
    
    .overlay {
        font-size: 18px;
        padding-top: 80px;
    }
    
    .slogan {
        font-size: 14px;
        padding: 15px;
        bottom: 20%;
    }
}

/* Header adjustments for StarCamp theme */
.header.sticky-bar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-logo img {
    max-height: 150px;
}

/* Custom button styles */
.btn-brand-1 {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-brand-1:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
}

/* Card enhancements */
.card-support {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.card-support:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.card-support .card-image {
    margin-bottom: 20px;
}

.card-support .box-circle-img {
    width: 60px;
    height: 60px;
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.card-support .box-circle-img svg {
    width: 30px;
    height: 30px;
    color: white;
}

/* Newsletter form styling */
.form-newsletter {
    position: relative;
}

.form-newsletter input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-newsletter input:focus {
    outline: none;
    border-color: #1e3a8a;
}

.form-newsletter button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #1e3a8a;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-newsletter button:hover {
    background: #1e40af;
}

/* Color scheme adjustments */
.color-brand-1 {
    color: #1e3a8a !important;
}

.color-grey-500 {
    color: #6b7280 !important;
}

/* Footer styling */
.footer {
    background: #0f172a;
    color: white;
}

.footer-1 {
    padding: 60px 0 40px;
}

.footer-2 {
    background: #0a0f1d;
    padding: 20px 0;
}

.menu-footer {
    list-style: none;
    padding: 0;
}

.menu-footer li {
    margin-bottom: 8px;
}

.menu-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-footer a:hover {
    color: #1e3a8a;
}

/* Mobile menu adjustments */
@media (max-width: 991px) {
    .header-nav .main-menu {
        display: none;
    }
    
    .burger-icon {
        display: block;
    }
}

/* Animation classes */
.wow {
    visibility: hidden;
}

.animate__animated {
    visibility: visible;
}

/* Section spacing */
.section {
    padding: 80px 0;
}

.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }
.mt-150 { margin-top: 150px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }

/* Box styling */
.box-cover-border {
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 40px;
    background: #fff;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    
    .box-cover-border {
        padding: 20px;
    }
    
    .mt-150 {
        margin-top: 80px;
    }
}
/* Compact spacing for News section */
.section-news{
  margin-bottom: -50px !important;
}
.section-news .container{padding-bottom:0}
/* Global section spacing reduction */
.main .section{
  margin-top:-50px !important;
}
