@charset "UTF-8";
/* CSS Document */

/* kp-stisla.css */

/*
  New unique styles for the navigation bar and typography.
  This file now ensures the navigation sits on top of the video overlay,
  has a solid white background, and dark text.
  It also applies Montserrat to h1 and Lora to p tags.
*/

/* --- Typography Defaults --- */
/*
  Set a base font for the entire body. While the request specified p tags
  for Lora, setting it on the body ensures default text is consistent,
  and then h1 specifically overrides for Montserrat.
*/
body {
    font-family: 'Lora', serif; /* Apply Lora as the base font for body text */
}

h1 {
    font-family: 'Montserrat', sans-serif; /* Apply Montserrat to H1 headings */
    font-weight: 700; /* Example: make H1 bold for emphasis */
}

p {
    font-family: 'Lora', serif; /* Explicitly apply Lora to paragraph text */
}

/* Ensure the tagline in the hero section also uses Montserrat if it's an H1 */
.hero .text h1.tagline {
    font-family: 'Montserrat', sans-serif;
}

/* --- Base Navbar Styles (solid white background and on top) --- */
.navbar.main-navbar {
    /* Ensures the navbar is positioned fixed at the top of the viewport. */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Set background to a solid white. */
    background-color: #FFFFFF; /* Solid white background */
    /* Higher z-index to ensure it's always on top of all content. */
    z-index: 9999;
    /* Smooth transition for any subtle changes like box-shadow. */
    transition: box-shadow 0.3s ease-in-out;
    padding-top: 25px; /* Adjust padding for spacing */
    padding-bottom: 25px;
}

/* --- Navbar Brand (Logo) Styles --- */
.navbar.main-navbar .navbar-brand {
    padding: 0; /* Remove any default padding */
}

.navbar.main-navbar .navbar-brand img {
    max-height: 50px; /* Adjust maximum height for the logo */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image fits without stretching */
}

/* --- Navigation Links (Default State: Solid White Background, Dark Text) --- */
.navbar.main-navbar .nav-link {
    /* Default text color for links set to dark for visibility against the white background. */
    color: rgba(0, 0, 0, 0.75); /* Dark grey for softness */
    padding: 0 20px; /* Ensure existing padding for spacing */
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    /* Smooth transition for hover effects on text and underline */
    transition: all 0.3s ease-in-out;
    font-family: 'Montserrat', sans-serif; /* Using Montserrat for nav links for consistency with headings */
}

.navbar.main-navbar .nav-link:hover,
.navbar.main-navbar .nav-item.active .nav-link {
    /* Full black on hover or active state for emphasis */
    color: #000000;
}

.navbar.main-navbar .nav-link:after {
    /* Underline element for hover/active state, initially transparent */
    background-color: #000000; /* Black underline */
    content: ' ';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 0;
    transition: all 0.3s ease-in-out;
}

/* --- Toggler Icon (Hamburger Menu for Mobile) Styles --- */
.navbar-toggler {
    /* Dark border for the toggler icon */
    border-color: rgba(0, 0, 0, 0.5);
}

.navbar-toggler i {
    /* Dark icon color */
    color: #000000;
    font-size: 30px;
}

/* --- Scrolled State Styles (Navbar maintains solid white background, optional subtle shadow) --- */
.navbar.main-navbar.scrolled {
    /* Background remains solid white as requested. */
    background-color: #FFFFFF;
    /* Optional: Add a subtle box-shadow for depth when scrolled. */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* When scrolled, links and toggler remain dark as the background is solid white. */
.navbar.main-navbar.scrolled .nav-link,
.navbar.main-navbar.scrolled .nav-link:hover,
.navbar.main-navbar.scrolled .nav-item.active .nav-link {
    color: #000000; /* Ensure black text */
}
.navbar.main-navbar.scrolled .nav-link:after {
    background-color: #000000; /* Ensure black underline */
}
.navbar.main-navbar.scrolled .navbar-toggler,
.navbar.main-navbar.scrolled .navbar-toggler i {
    border-color: rgba(0, 0, 0, 0.5); /* Ensure dark toggler */
    color: #000000;
}

/* --- Mobile / Collapsed Menu Styles (when the menu is expanded) --- */
@media (max-width: 991.98px) { /* Bootstrap's 'lg' breakpoint */
    .navbar.main-navbar .navbar-collapse {
        /* When the menu collapses, give it a solid background for readability. */
        background-color: #FFFFFF; /* Solid white background for mobile menu */
        padding: 15px;
        border-radius: 5px;
        margin-top: 10px;
    }

    .navbar.main-navbar .navbar-nav .nav-item .nav-link {
        /* Center and space out links in mobile view, ensuring dark text. */
        padding: 10px 0;
        text-align: center;
        color: #000000; /* Dark text for mobile menu */
    }

    .navbar.main-navbar .nav-item .nav-link:after {
        /* Hide underline in mobile view */
        display: none;
    }

    /* For consistency, if mobile menu is open and scrolled, keep solid white background with dark text. */
    .navbar.main-navbar.scrolled .navbar-collapse {
        background-color: #FFFFFF;
    }
    .navbar.main-navbar.scrolled .navbar-nav .nav-item .nav-link {
        color: #000000;
    }
}

/* --- About Us Section Icon Styles --- */
.about-icons {
    /* Top margin for spacing below the main About Us text */
    margin-top: 50px;
}

.about-icons .icon-block {
    /* Basic styling for each icon and text block */
    padding: 20px 10px; /* Vertical and horizontal padding */
}

.about-icons .icon-block i {
    /* Styling for the icon itself */
    font-size: 60px; /* Large icon size */
    color: #620B28; /* A color from your gradient for consistency */
    margin-bottom: 20px; /* Space between icon and text */
    display: block; /* Ensure icon takes its own line for proper centering */
    text-align: center; /* Center the icon */
}

.about-icons .icon-block h3 {
    /* Styling for the bold caption text */
    font-family: 'Montserrat', sans-serif; /* Use Montserrat for the bold captions */
    font-size: 20px; /* Make the text big */
    font-weight: 700; /* Make it bold */
    line-height: 1.4; /* Improve readability for multi-line captions */
    color: #333333; /* Dark grey for strong contrast */
    text-align: center; /* Center the caption text */
}

/* Responsive adjustments for smaller screens if needed */
@media (max-width: 767.98px) { /* Bootstrap's 'md' breakpoint */
    .about-icons .icon-block {
        margin-bottom: 30px; /* Add space between blocks on smaller screens */
    }
    .about-icons .icon-block:last-child {
        margin-bottom: 0; /* Remove bottom margin for the last block */
    }
}

/* --- Services Section Styles --- */
.services-section {
    /* Dark grey, almost black background */
    background-color: #1a1a1a; /* Very dark grey */
    color: #ffffff; /* White text for contrast */
    padding: 100px 0; /* Standard section padding */
}

.services-section .section-title {
    /* Styles for the "What We Do" title */
    color: #ffffff; /* White title */
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.services-section .section-intro {
    /* Styles for the introductory paragraph */
    color: rgba(255, 255, 255, 0.8); /* Slightly softer white for intro text */
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px; /* Limit width for readability */
    margin: 0 auto 60px auto; /* Center and add bottom margin */
}

.services-grid {
    display: grid;
    /* On larger screens, 3 columns. On smaller screens, 2, then 1. */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* Space between grid items */
    margin-top: 40px;
}

.service-block {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for blocks */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.service-block:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly more prominent on hover */
    transform: translateY(-5px); /* Subtle lift effect on hover */
}

.service-block h4 {
    color: #ffffff; /* White heading for service block title */
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-block p {
    color: rgba(255, 255, 255, 0.7); /* Softer white for description */
    font-family: 'Lora', serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Clients / Partners Section Styles --- */
.clients-section {
    background-color: #FFFFFF; /* White background as requested */
    color: #333333; /* Dark text for contrast against white */
    padding: 100px 0; /* Standard section padding */
    text-align: center; /* Center the title and carousel */
}

.clients-section .section-title {
    color: #333333; /* Dark title */
    margin-bottom: 60px; /* More space below title before logos */
}

.client-logos-grid {
    display: grid;
    /* Responsive grid for logos: 6 columns on large, 4 on medium, 3 on small */
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Min 100px width */
    gap: 40px; /* Space between logos */
    align-items: center; /* Vertically align logos */
    justify-items: center; /* Horizontally align logos */
}

.client-logo-item img {
    max-width: 120px; /* Max width for logos */
    height: auto; /* Maintain aspect ratio */
    opacity: 0.7; /* Slightly dim logos */
    transition: opacity 0.3s ease-in-out;
}

.client-logo-item img:hover {
    opacity: 1; /* Full opacity on hover */
}

/* --- Contact Section Styles --- */
.contact-section {
    background-color: #f8f8f8; /* Light grey background for contrast with services */
    color: #333333; /* Dark text */
    padding: 100px 0;
    text-align: center;
}

.contact-section .section-title {
    color: #333333;
    margin-bottom: 20px;
}

.contact-section .section-intro {
    color: #555555;
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.contact-form {
    background-color: #FFFFFF; /* White background for the form itself */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.05);
    max-width: 800px; /* Limit form width */
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 20px; /* Spacing between form fields */
    text-align: left; /* Align labels/inputs to the left within the form */
}

.contact-form .form-control {
    border: 1px solid #dddddd; /* Light border for inputs */
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 16px;
    width: 100%; /* Ensure inputs take full width */
    font-family: 'Lora', serif; /* Use Lora for form text */
}

.contact-form .form-control:focus {
    border-color: #620B28; /* Highlight focus with a brand color */
    box-shadow: 0 0 0 0.2rem rgba(98, 11, 40, 0.25); /* Subtle glow */
}

.contact-form textarea.form-control {
    resize: vertical; /* Allow vertical resizing of textarea */
    min-height: 120px; /* Minimum height for message box */
}

.contact-form .gradient-btn {
    /* Reusing the existing gradient button style from hero section */
    /* Ensure it's centered and has proper margins */
    display: inline-block; /* Allows margin auto to work if parent is flex */
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 18px;
}

.social-links {
    margin-top: 60px; /* Space below form */
    display: flex;
    justify-content: center; /* Center social icons */
    gap: 25px; /* Space between icons */
}

.social-links a {
    color: #620B28; /* Brand color for social icons */
    font-size: 30px; /* Icon size */
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.social-links a:hover {
    color: #DA1C5C; /* Lighter shade on hover */
    transform: translateY(-5px); /* Subtle lift on hover */
}

/* --- Footer Section Styles --- */
.main-footer {
    background-color: #111111; /* Even darker grey for footer */
    color: #aaaaaa; /* Light grey text */
    padding: 60px 0 40px 0; /* Adjust padding */
    text-align: center;
    font-family: 'Lora', serif; /* Use Lora for footer text */
    font-size: 14px;
}

.main-footer .footer-logo {
    margin-bottom: 20px;
}

.main-footer .footer-logo img {
    max-height: 40px; /* Smaller logo in footer */
    width: auto;
    filter: brightness(0) invert(1); /* Makes logo white for dark background */
    opacity: 0.8;
}

.main-footer p {
    margin-bottom: 8px; /* Spacing for copyright and designed by text */
    line-height: 1.5;
    color: #aaaaaa; /* Ensure consistent text color */
}

.main-footer .footer-links {
    margin-top: 20px;
}

.main-footer .footer-links a {
    color: #aaaaaa; /* Link color */
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    padding: 0 10px; /* Space between links */
}

.main-footer .footer-links a:hover {
    color: #ffffff; /* White on hover */
}

.main-footer .footer-links .separator {
    color: #555555;
}

/* --- Portfolio Gallery Page Styles --- */
.portfolio-section {
    padding: 100px 0; /* Standard section padding */
    background-color: #1a1a1a; /* Dark grey, almost black background */
    color: #ffffff; /* White text for contrast */
    text-align: center; /* Center the title */
}

.portfolio-section .section-title {
    color: #333333;
    margin-bottom: 60px;
    padding-top: 20px; /* Adjust if navbar is fixed and covers title */
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px; /* Space between gallery items */
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background-color: #ffffff;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.portfolio-item img,
.portfolio-item video {
    width: 100%;
    height: 200px; /* Fixed height for consistency, adjust as needed */
    object-fit: cover; /* Ensures images/videos cover the area without distortion */
    display: block;
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .overlay h4 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.portfolio-item .overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}
