/* 
 * Shalom Construction - Custom Styles
 * Building Dreams Since 2000
 */

/* ========================================
   Custom Color Variables
   ======================================== */
:root {
    --shalom-primary: #40B7D7;
    --shalom-secondary: #4ed5fa;
    --shalom-dark: #02121b;
    --shalom-light: #f5f5f5;
    --shalom-white: #ffffff;
}

.navbar-area {
    background: var(--shalom-dark);
}

    .navbar-area.style-one {
        margin-top: 0px;
    }

/* ========================================
   Page Title Area Customization
   ======================================== */
.page-title-area {
    background: linear-gradient(135deg, var(--shalom-dark) 0%, #2c3e50 100%);
    padding: 100px 0;
}

.page-title-area h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.page-title-area .breadcrumb {
    background: transparent;
    padding: 0;
}

.page-title-area .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-title-area .breadcrumb-item a:hover {
    color: var(--shalom-primary);
}

.page-title-area .breadcrumb-item.active {
    color: var(--shalom-primary);
}

.page-title-area .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Contact Page Customization
   ======================================== */
.contact-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-card .contact-icon {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info-card h3 {
    color: var(--shalom-dark);
    margin-bottom: 15px;
}

.contact-info-card a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--shalom-primary);
}

/* ========================================
   Contact Form Styling
   ======================================== */
.contact-form-wrapper {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper .form-control {
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--shalom-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
    outline: none;
}

.contact-form-wrapper .form-label {
    color: var(--shalom-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form-wrapper textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form-wrapper select.form-control {
    cursor: pointer;
}

/* ========================================
   Location Map Styling
   ======================================== */
.location-map iframe {
    border-radius: 10px;
    min-height: 450px;
}

/* ========================================
   About Page Customization
   ======================================== */
.about-detail-content {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.about-detail-content h2 {
    color: var(--shalom-dark);
    border-bottom: 3px solid var(--shalom-primary);
    display: inline-block;
    padding-bottom: 10px;
}

.about-detail-content h3 {
    color: var(--shalom-dark);
}

.about-detail-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* ========================================
   Service Card Enhancements
   ======================================== */
.service-card.style-one {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.service-card.style-one:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ========================================
   Project Card Styling
   ======================================== */
.project-card .project-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.project-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* ========================================
   Counter Card Styling
   ======================================== */
.counter-card {
    padding: 25px 20px;
}

.counter-card h4 {
    margin: 10px 0;
}

/* ========================================
   Hero/Slider Image Adjustments
   ======================================== */
.hero-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.about-thumb {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.wh-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.wh-thumb {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

/* ========================================
   Button Enhancements
   ======================================== */
.btn.style-one:hover .btn-text {
    color: var(--shalom-primary);
}

.btn.style-one .btn-icon {
    background: var(--shalom-primary);
}

.btn.style-two:hover .btn-icon {
    transform: scale(1.1);
}

/* ========================================
   Category Card Styling
   ======================================== */
.category-card.style-one {
    padding: 30px 20px;
    background: #fff;
    transition: all 0.3s ease;
}

.category-card.style-one:hover {
    background: var(--shalom-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.category-card.style-one:hover h3,
.category-card.style-one:hover .category-icon {
    color: #fff;
}

.category-card .category-icon {
    width: 80px;
    height: 80px;
    background: var(--shalom-light);
    margin-bottom: 15px;
    font-size: 32px;
    color: var(--shalom-primary);
    transition: all 0.3s ease;
}

.category-card.style-one:hover .category-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   Footer Customization
   ======================================== */
.footer-area {
    background: var(--shalom-dark);
}

.footer-large-text span {
    color: rgba(255, 255, 255, 0.05);
}

.footer-widget-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--shalom-primary);
}

/* ========================================
   Navigation Active State
   ======================================== */
.menu a.active {
    color: var(--shalom-primary) !important;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 991px) {
    .page-title-area h1 {
        font-size: 36px;
    }
    
    .hero-thumb img {
        height: 150px;
    }
    
    .about-thumb,
    .wh-thumb {
        width: 150px;
        height: 150px;
    }
    
    .project-card .project-img {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .page-title-area h1 {
        font-size: 28px;
    }
    
    .contact-info-card {
        margin-bottom: 20px;
    }
    
    .hero-thumb {
        margin-bottom: 20px;
    }
    
    .project-card .project-img {
        height: 250px;
    }
}

/* ========================================
   Image Gallery Styling (for future use)
   ======================================== */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Loading Animation
   ======================================== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    border-top-color: var(--shalom-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Gallery CTA Section
   ======================================== */
.gallery-cta-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.gallery-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(64, 183, 215, 0.1) 0%, transparent 70%);
    animation: rotate-gradient 15s linear infinite;
}

.details-page {
    margin-top: 50px !important;
}

.details-page img {
    max-height: 1000px;
    object-fit: cover;
    padding: 5px;
    margin: 20px 0;
    border: var(--shalom-dark) 2px solid;
    border-radius: 15px;
    background: var(--shalom-primary);
    transition: all 0.3s ease;
}

.details-page img:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 10px 30px rgba(64, 183, 215, 0.3);

}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.gallery-cta-content {
    position: relative;
    z-index: 1;
}

.gallery-cta-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--shalom-dark);
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.gallery-cta-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.animated-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--shalom-primary) 0%, var(--shalom-secondary) 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(64, 183, 215, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: pulse-button 2s ease-in-out infinite;
}

.animated-gallery-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.animated-gallery-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(64, 183, 215, 0.5);
    color: white;
    animation: none;
}

.animated-gallery-btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-icon-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    animation: float-arrow 2s ease-in-out infinite;
}

.animated-gallery-btn:hover .btn-icon-arrow {
    transform: rotate(45deg) scale(1.2);
    background: rgba(255, 255, 255, 0.4);
    animation: none;
}

.btn-icon-arrow i {
    font-size: 18px;
    position: relative;
    z-index: 1;
}

@keyframes pulse-button {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(64, 183, 215, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(64, 183, 215, 0.5);
    }
}

@keyframes float-arrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shimmer effect on button text */
.animated-gallery-btn .btn-text {
    position: relative;
    z-index: 1;
}

.animated-gallery-btn .btn-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .gallery-cta-title {
        font-size: 28px;
    }
    
    .gallery-cta-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .animated-gallery-btn {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-primary-custom {
    color: var(--shalom-primary) !important;
}

.bg-primary-custom {
    background-color: var(--shalom-primary) !important;
}

.border-primary-custom {
    border-color: var(--shalom-primary) !important;
}

.shadow-custom {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
}

.shadow-hover-custom {
    transition: box-shadow 0.3s ease;
}

.shadow-hover-custom:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

@media only screen and (min-width: 1200px) {
    .navbar-area.style-one .navbar-brand img, .navbar-area.style-three .navbar-brand img {
        max-width: 180px;
    }
}

@media only screen and (max-width: 680px) {
  .navbar-area {
    background: var(--shalom-dark) !important;
}
}

.switch-theme-mode {
  display: none;
}

.move-text-wrapper {
  background: var(--shalom-dark);
  padding: 40px;
  color: white !important;
}