/* Custom Styles for ATS Interio */

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

h1, h2, h5, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    padding-top: 140px;   /* Increased for larger logo */
    padding-bottom: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), 
                url('https://images.unsplash.com/photo-1618220179428-22790b461013?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-section h1 {
    font-size: 3rem;
    color: #ffffff;      /* Changed for readability */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-section p {
    font-size: 1.2rem;
    color: #f8f9fa;      /* Changed for readability */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.hero-section .btn-success {
    background-color: #00c853;
    border: none;
    padding: 10px 30px;
    font-size: 1.1rem;
}

.hero-section .btn-success:hover {
    background-color: #009624;
}

/* Sections */
section {
    scroll-margin-top: 56px; /* Adjust for fixed navbar */
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* About Section */
#about img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Services Section */
.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* Portfolio Section */
#portfolio img {
    border-radius: 8px;
    transition: opacity 0.3s;
}

#portfolio img:hover {
    opacity: 0.8;
}

/* Contact Section */
#contact .form-control {
    border-radius: 0;
}

/* Footer */
footer {
    background-color: #333 !important;
}

.logo-img {
    height: 100px;     /* Increased logo size */
    width: auto;    
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.custom-navbar {
    min-height: 110px;          /* Increased for larger logo */
    padding: 10px 0;
}
@media (max-width: 768px) {
    .logo-img {
        height: 70px;      /* Increased mobile logo size */
    }
}

/* Header Contact Info Styling */
.contact-info-top {
    border-left: 2px solid rgba(255,255,255,0.3);
    padding-left: 15px;
    margin-left: 10px;
}

@media (max-width: 576px) {
    .contact-info-top {
        padding-left: 8px;
        margin-left: 5px;
    }
    .contact-info-top span, .contact-info-top a {
        font-size: 13px !important;
    }
}
h1 {
    font-size: 3rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
}
.custom-navbar {
    background-color: #601a00 !important /* Soft cream */
}
/* Default = Outline */
.navbar .nav-btn {
    width: 85px;   /* fixed width */
    text-align: center;
    padding: 14px 0;
    margin-left: 10px;
    border-radius: 25px;
    border: 2px solid white !important;   /* Force show border */
    background-color: transparent !important;
    color: #f5b041 !important;
    display: inline-block;
    transition: all 0.3s ease;
}

.navbar .nav-btn:hover {
    background-color: #f5b041 !important;
    color: white !important;
}

.navbar .nav-btn.active {
    background-color: #f5b041 !important;
    color: white !important;
}

/* Brand text */
.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    position: relative;
}

/* Contact Info (Desktop) */
.contact-info i {
    color: #f5b041;
    font-size: 18px;
}

.contact-info span {
    font-weight: 500;
    font-size: 15px;
}

/* Remove Bootstrap nav-link default padding */
.navbar .nav-link {
    padding: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-info {
        display: none; /* Hide desktop contact info on tablet/mobile */
    }

    .nav-btn {
        margin: 8px 0; /* Stack buttons on mobile */
        width: 100%;
    }
    
    .navbar-collapse {
        background-color: #601a00;
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }
}
.service-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.btn-dark {
    padding: 8px 20px;
    border-radius: 25px;
}
.footer-section {
    background: linear-gradient(135deg, #601a00, #601a00);
    color: #fff;
    transition: all 0.4s ease;
}

.footer-logo {
    color: #f5b041;
    font-weight: bold;
    letter-spacing: 2px;
}

.footer-line {
    width: 60px;
    border: 2px solid #f5b041;
    margin-bottom: 20px;
}

.footer-phone {
    color: #ff914d;
    font-weight: 600;
    transition: 0.3s;
}

.footer-phone:hover {
    transform: translateX(5px);
    color: Black;
}

.footer-title {
    color: #f5b041;
    margin-bottom: 20px;
}

.footer-text {
    color: #dcdcdc;
    font-size: 14px;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #dcdcdc;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f5b041;
    padding-left: 6px;
}

.footer-quote {
    font-style: italic;
    color: #ffcc80;
    font-size: 14px;
}

.footer-divider {
    border-color: rgba(255,255,255,0.2);
}

.copyright {
    font-size: 14px;
    color: #bbb;
}

.service-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Portfolio Card Styling */
.portfolio-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.portfolio-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.portfolio-card h5 {
    padding: 15px;
    font-weight: 600;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Mobile Image Height */
@media (max-width: 768px) {
    .portfolio-card img {
        height: 220px;
    }
}
/* Slider Image Same Size */
.slider-img {
    width: 100%;
    height: 450px;   /* Desktop Height */
    object-fit: cover;  /* Prevent stretching */
}

/* Tablet */
@media (max-width: 992px) {
    .slider-img {
        height: 350px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .slider-img {
        height: 250px;
    }
}
.office-img-wrapper {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.office-img {
    width: 100%;
    height: 420px;   /* Desktop */
    object-fit: cover;
}

/* Tablet */
@media (max-width: 992px) {
    .office-img {
        height: 320px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .office-img {
        height: 240px;
    }
}
/* Hero Section Styling */
.hero-section {
    padding-top: 120px;   /* Spacing for fixed navbar */
    padding-bottom: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-slide-img {
    height: 500px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
        text-align: center; /* Center text on mobile/tablet */
    }
    
    .hero-slide-img {
        height: 380px;
    }
    
    .hero-title {
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 28px;
    }
    
    .hero-slide-img {
        height: 300px;
    }
}

.logo-container {
    gap: 10px;
    text-decoration: none;
}

/* ATS Circle */
.ats-circle {
    width: 60px;
    height: 60px;
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ats-circle span {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

/* INTERIO Box */
.interio-box {
    border: 2px solid white;
    padding: 8px 18px;
    color: white;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 4px;
}


/* Floating Contact Widget */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse; /* Stack from bottom up */
    gap: 15px;
}

.contact-sub-menu {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.contact-sub-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-item {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.contact-item:hover {
    transform: scale(1.1);
    color: #fff;
}

.contact-item.whatsapp {
    background-color: #25D366;
}

.contact-item.phone {
    background-color: #f5b041;
    color: #000;
}

.contact-item.email {
    background-color: #00BCD4;
    color: #000;
}

.contact-item.chat {
    background-color: #007BFF;
}

/* Tooltip for Chat */
.help-bubble {
    position: absolute;
    left: 70px;
    background: white;
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    display: block; /* Controlled by JS */
}

.help-bubble::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid white;
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        left: 20px;
        gap: 10px;
    }
    .contact-sub-menu {
        gap: 10px;
    }
    .contact-item {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    .help-bubble {
        left: 60px;
        font-size: 13px;
        padding: 6px 14px;
    }
}

