@import url("colors.css"); /* Import color variables and color-related styles */

/* Custom CSS for Nizut Template - Redesigned with Primary Blue & Dark Grey on a White theme */

/* Define heights for consistent spacing */
:root {
    --top-bar-info-height: 45px;
    --navbar-height: 75px;
}

body {
    font-family: 'Poppins', sans-serif; /* Poppins font */
    line-height: 1.65; /* Improved readability */
    padding-top: 0;
    -webkit-font-smoothing: antialiased; /* Smoother fonts */
    -moz-osx-font-smoothing: grayscale; /* Smoother fonts */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Bold headings */
    line-height: 1.2; /* Tighter line height for headings */
    margin-bottom: 0.75em; /* Consistent bottom margin */
}
h1 { font-size: 3.8rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
}
.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--nizut-muted-text); /* Ensure lead text is muted grey */
}

/* --- Top Bar (Info Bar - NOT FIXED, Scrolls Away) Styles --- */
.top-bar-info {
    font-size: 0.875rem;
    height: var(--top-bar-info-height);
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1010;
}
.top-bar-info .top-bar-social {
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0 0.25rem;
}
.top-bar-info .top-bar-social:hover {
    transform: translateY(-1px);
}
.top-bar-info .custom-login-btn {
    font-size: 0.875rem;
    padding: 0.3rem 1rem;
    border-radius: 0.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    /* Color handled by colors.css */
}
.top-bar-info .custom-login-btn:hover {
    transform: translateY(-1px);
}

/* --- Main Navigation Bar (STICKY ON DESKTOP, GLASS EFFECT) --- */
.navbar {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    min-height: var(--navbar-height);
    display: flex;
    align-items: center;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease;
}

/* Sticky & Glass effect for Desktop */
@media (min-width: 992px) {
    .navbar {
        position: sticky;
        top: 0;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 1020;
    }
}

.nizut-logo {
    height: 45px;
    width: auto;
    max-width: 160px;
    /* Assuming logo.png is already suitable for a light background (dark text/icon) */
    /* If logo.png is white, and needs to be dark on light navbar, uncomment/adjust filter: */
    /* filter: brightness(0) invert(0); */
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 18px;
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}
.navbar-nav .nav-link i {
    font-size: 1.1rem;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    transform: translateY(-2px);
}
.navbar .custom-call-btn {
    font-weight: 600;
    padding: 0.75rem 1.8rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.95rem;
}
.navbar .custom-call-btn:hover {
    transform: translateY(-2px);
}

/* --- Custom Mobile Call Toggler --- */
.custom-mobile-call-toggler {
    border: none; /* Remove default button border */
    border-radius: 0.3rem; /* Slightly rounded corners */
    font-size: 0.9rem;
    padding: 0.5rem 1rem; /* Adjusted padding */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Ensure it looks like a button, not a link */
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 90px; /* Ensure some minimum width for "Call" */
}

.custom-mobile-call-toggler i {
    font-size: 1.1rem; /* Icon size */
    margin-right: 0.4rem; /* Space between icon and text */
}

.custom-mobile-call-toggler:hover {
    transform: translateY(-1px);
}

/* Override Bootstrap's default toggler icon styles */
.custom-mobile-call-toggler .navbar-toggler-icon {
    display: none; /* Hide default hamburger icon */
}

/* --- Hero Section Styles (Pure Background Slider - Simple) --- */
#hero {
    min-height: 67vh; /* Hero section height is 67% of viewport height */
    background-image: url('../assets/img/slider-1.avif'); /* Slider image */
    background-size: cover; /* Image will simply cover the area, no animation */
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex; /* Kept for flex properties, though no content is centered */
    justify-content: center;
    align-items: center;
}

/* Remove dark overlay completely for maximum image visibility */
#hero::before {
    content: none; /* Remove the pseudo-element entirely */
}


/* --- General Section Styling --- */
section {
    padding: 90px 0;
}

/* About Section Specific Styles */
#about {
    padding-top: 100px;
    padding-bottom: 100px;
}
.about-content-card {
    border: none;
    padding: 3.5rem !important;
}
.about-illustration {
    max-height: 650px;
    width: 100%;
    object-fit: cover;
    display: block;
}
#about .about-checklist {
    margin-bottom: 2.5rem !important;
}
#about .about-checklist li {
    font-size: 1.15rem;
    font-weight: 500;
    padding-left: 0.5rem;
    margin-bottom: 0.8rem;
}
#about .about-checklist .fa-check-circle {
    font-size: 1.3rem;
    vertical-align: middle;
}
.btn-primary {
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
}
.btn-outline-primary {
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    transform: translateY(-1px);
}

/* --- Services Section Decoration --- */
#services {
    padding-top: 90px;
    padding-bottom: 90px;
}

/* Services Section Title with Gradient and Webkit Prefix */
#services .services-title-gradient {
    /* Color properties moved to colors.css for central control */
    display: inline-block; /* Essential for background-clip: text to work */
    font-size: 3rem; /* Ensure appropriate size */
    font-weight: 800; /* Extra bold for impact */
    margin-bottom: 0.5rem !important; /* Adjusted margin for better spacing */
}

#services .lead {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 3rem; /* More space below lead */
}

/* Individual Service Item Box Styling */
.service-item-box {
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 1.25rem !important;
}

.service-item-box:hover {
    transform: translateY(-4px) scale(1.01); /* Less pronounced lift and scale on hover */
}

/* Service Item Icons */
.service-item-box .fa-4x {
    font-size: 2.5rem;
    margin-bottom: 0.8rem !important;
    transition: all 0.3s ease;
}

.service-item-box:hover .fa-4x {
    transform: scale(1.05); /* Slightly enlarge icon on hover */
}

/* Service Item Headings */
.service-item-box h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

/* Service Item Paragraphs */
.service-item-box p {
    font-size: 0.75rem;
    line-height: 1.6;
}

/* --- Shop Section (Placeholder) --- */
#shop {
    padding: 90px 0;
}

/* --- Portfolio Section - With Demo Images --- */
#portfolio .card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
}
#portfolio .card:hover {
    transform: translateY(-8px);
}
#portfolio .card-img-top {
    border-radius: 0.75rem 0.75rem 0 0;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
#portfolio .card:hover .card-img-top {
    transform: scale(1.05);
}
#portfolio .card-body {
    padding: 1.8rem;
}
#portfolio .card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}
#portfolio .card-text {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

/* --- Fixed Bottom Mobile Navigation (E-commerce Style) --- */
.bottom-mobile-nav {
    z-index: 1030;
    padding-bottom: env(safe-area-inset-bottom);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.bottom-mobile-nav .nav-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    flex-grow: 1;
    padding: 0.4rem 0.2rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.bottom-mobile-nav .nav-link-item i {
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.bottom-mobile-nav .nav-link-item:hover,
.bottom-mobile-nav .nav-link-item.active {
    transform: translateY(-2px);
}


/* --- Professional Footer Styles --- */
.footer {
    padding-top: 70px;
    padding-bottom: 50px;
    font-size: 0.95rem;
}
.footer-logo .nizut-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}
.footer-description {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.footer-col {
    margin-bottom: 3rem;
}
.footer-col h5 {
    font-weight: 600;
    font-size: 1.35rem;
    margin-bottom: 1.75rem;
}
.footer-col ul {
    padding-left: 0;
    list-style: none;
}
.footer-link {
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease, text-decoration 0.3s ease;
    display: inline-block;
    padding-bottom: 0.2em; /* For underline spacing */
}
.footer-link:hover {
    transform: translateX(5px);
    text-decoration: underline;
}
.footer-col p {
    line-height: 1.8;
    margin-bottom: 0.8rem;
}
.footer-col p i {
    margin-right: 0.75rem;
}
.social-icons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.social-icons .social-icon {
    font-size: 1.4rem;
    transition: color 0.3s ease, transform 0.2s ease, background-color 0.3s ease;
    width: 44px;
    height: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
}
.social-icons .social-icon:hover {
    transform: translateY(-3px) scale(1.05);
}

.footer-copyright {
    font-size: 0.88rem;
}
.footer-copyright p {
    margin-bottom: 0;
}
.footer-copyright .fa-heart {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    /* Mobile Navbar adjustments */
    .navbar {
        position: relative !important;
        top: auto !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: none !important;
        min-height: 65px;
    }
    .nizut-logo {
        height: 38px;
    }

    /* Adjust hero section for mobile */
    #hero {
        min-height: 56vh;
        background-attachment: scroll;
        background-size: cover;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Services Section for Mobile */
    #services .services-title-gradient {
        font-size: 2.2rem;
    }
    #services .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .service-item-box {
        padding: 0.8rem !important;
    }
    .service-item-box .fa-4x {
        font-size: 2rem;
        margin-bottom: 0.6rem !important;
    }
    .service-item-box h3 {
        font-size: 0.9rem;
    }
    .service-item-box p {
        font-size: 0.65rem;
    }

    /* Other sections */
    section {
        padding: 60px 0 !important;
    }
    body {
        padding-bottom: 75px;
    }
    .about-illustration {
        max-height: 350px;
        margin-top: 2rem;
    }
    .about-content-card {
        padding: 2.5rem !important;
    }
    #about .about-checklist li {
        font-size: 1rem;
    }
    #about .about-checklist .fa-check-circle {
        font-size: 1.2rem;
    }
    #portfolio .card-img-top {
        height: 200px;
    }
    #portfolio .card-body {
        padding: 1.5rem;
    }
    #portfolio .card-title {
        font-size: 1.15rem;
    }
    .footer-col {
        text-align: center;
        margin-bottom: 2.5rem !important;
    }
    .footer-col:last-child {
        margin-bottom: 0 !important;
    }
    .footer-col ul {
        display: block;
        padding-left: 0;
    }
    .footer-col li {
        margin-bottom: 0.5rem;
    }
    .footer-col .social-icons {
        justify-content: center;
        display: flex;
        margin-top: 1.5rem !important;
    }
    .footer-logo {
        display: block;
        text-align: center;
        margin-bottom: 1rem !important;
    }
    .footer-col h5 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }
    .footer-description {
        font-size: 0.85rem;
    }
    .footer-link {
        font-size: 0.9rem;
    }
    #navbarNav {
        border-radius: 0.75rem;
        padding: 1.2rem;
        margin-top: 1.2rem;
    }
    #navbarNav .nav-item {
        margin: 0.6rem 0;
    }
    #navbarNav .custom-call-btn {
        width: 100%;
        margin-top: 1.5rem;
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 767.98px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.4rem; }
    h3 { font-size: 1.9rem; }

    /* Services Section for very small screens */
    #services .services-title-gradient {
        font-size: 1.8rem;
    }
    #services .lead {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    .service-item-box {
        padding: 0.6rem !important;
    }
    .service-item-box .fa-4x {
        font-size: 1.6rem;
        margin-bottom: 0.4rem !important;
    }
    .service-item-box h3 {
        font-size: 0.8rem;
    }
    .service-item-box p {
        font-size: 0.55rem;
    }

    /* Other sections */
    section {
        padding: 45px 0 !important;
    }
    .about-content-card, .about-illustration {
        padding: 2rem !important;
    }
    #about .about-checklist li {
        font-size: 0.95rem;
    }
    .footer-col h5 {
        font-size: 1.1rem;
    }
}