/*
Theme Name: Leeket Lite
Author: Your Name
Author URI: https://example.com/
Description: WordPress theme converted from naahi.com.html.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive-layout, custom-menu, accessibility-ready
Text Domain: naahi-theme
*/

/*--------------------------------------------------------------
# Variables / Custom Properties (Optional, but good practice)
--------------------------------------------------------------*/
:root {
    --header-bg: #1e3d59;
    --header-text: #ffffff;
    --nav-link-color: #b0c4de;
    --nav-link-hover-bg: #2a5073;
    --nav-link-hover-color: #ffffff;
    --body-bg: #f7f9fc;
    --font-stack: 'Poppins', sans-serif;
    --nav-height: 84px; /* Approximate based on padding in #header */
    --sidenav-width: 250px; /* From JS */
    --breakpoint-mobile: 600px; /* From CSS */
  }
  
  /*--------------------------------------------------------------
  # Base Styles
  --------------------------------------------------------------*/
  body {
      font-family: var(--font-stack);
      margin: 0;
      background: var(--body-bg);
      /* Add padding-top ONLY if header is fixed */
      /* padding-top: var(--nav-height); */
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  img,
  video,
  embed,
  object {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents bottom space */
  }
  
  /*--------------------------------------------------------------
  # Accessibility
  --------------------------------------------------------------*/
  /* Hide elements visually but keep them accessible to screen readers */
  .screen-reader-text {
      border: 0;
      clip: rect(1px, 1px, 1px, 1px);
      clip-path: inset(50%);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute !important;
      width: 1px;
      word-wrap: normal !important;
  }
  
  .screen-reader-text:focus {
      background-color: #f1f1f1;
      border-radius: 3px;
      box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
      clip: auto !important;
      clip-path: none;
      color: #21759b;
      display: block;
      font-size: 0.875rem;
      font-weight: 700;
      height: auto;
      left: 5px;
      line-height: normal;
      padding: 15px 23px 14px;
      text-decoration: none;
      top: 5px;
      width: auto;
      z-index: 100000; /* Above everything else. */
  }
  
  /*--------------------------------------------------------------
  # Header & Navigation
  --------------------------------------------------------------*/
  .site-header { /* Replaces #header */
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 50px;
      background-color: var(--header-bg);
      box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
      /* Uncomment below if header should be fixed */
      /*
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      */
  }
  
  .site-branding { /* Container for logo/title */
      /* Styles for logo/title */
  }
  
  .site-title a, /* Style site title if used instead of logo */
  .site-branding #logo a { /* Style the #logo div if kept */
      font-size: 24px;
      font-weight: 600;
      color: var(--header-text);
      text-decoration: none;
  }
  
  /* Custom Logo specific styles */
  .custom-logo-link {
      display: inline-block;
      line-height: 0; /* Prevent extra space */
  }
  .custom-logo {
      max-height: calc(var(--nav-height) - 40px); /* Adjust based on header padding */
      width: auto; /* Maintain aspect ratio */
  }
  
  
  /* Main Navigation (Top Nav) */
  .main-navigation { /* Replaces #topNav div container */
     /* Flex properties handled by header */
  }
  
  .main-navigation ul { /* Target the ul generated by wp_nav_menu */
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex; /* Arrange menu items horizontally */
      align-items: center;
  }
  
  .main-navigation ul li {
      margin: 0; /* Remove default li margin */
  }
  
  .main-navigation ul a { /* Target links within the menu */
      margin: 0 15px;
      padding: 10px 15px;
      text-decoration: none;
      color: var(--nav-link-color);
      border-radius: 5px;
      transition: color 0.3s, background-color 0.3s;
      display: block; /* Ensure padding applies correctly */
  }
  
  .main-navigation ul a:hover,
  .main-navigation ul a:focus,
  .main-navigation ul .current-menu-item > a { /* Style hover/focus/current */
      background-color: var(--nav-link-hover-bg);
      color: var(--nav-link-hover-color);
  }
  
  /* Mobile Menu Toggle Button */
  .menu-toggle { /* Replaces #menuBtn */
      display: none; /* Hidden by default */
      font-size: 24px;
      background: none;
      border: none;
      color: var(--header-text);
      cursor: pointer;
      padding: 5px; /* Add some padding */
      margin-left: 15px; /* Space from nav items */
  }
  
  /*--------------------------------------------------------------
  # Side Navigation (Mobile)
  --------------------------------------------------------------*/
  .sidenav { /* Replaces .side-nav */
      width: 0; /* Hidden by default */
      position: fixed;
      top: 0;
      left: 0; /* Changed from right to left for common pattern */
      height: 100%;
      background-color: var(--header-bg); /* Match header background */
      overflow-x: hidden;
      transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother transition */
      padding-top: 60px;
      z-index: 1002; /* Above overlay */
      box-shadow: 3px 0 6px rgba(0,0,0,0.2); /* Add shadow */
  }
  
  .sidenav ul { /* Target ul inside sidenav */
      list-style: none;
      padding: 0;
      margin: 0;
  }
  .sidenav ul li {
      margin: 0;
  }
  
  .sidenav ul a { /* Target links inside sidenav menu */
      padding: 10px 15px 10px 32px; /* Adjust padding */
      text-decoration: none;
      color: var(--nav-link-color);
      display: block;
      transition: color 0.3s, background-color 0.3s;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      white-space: nowrap;
  }
  .sidenav ul li:last-child a {
      border-bottom: none;
  }
  
  .sidenav ul a:hover,
  .sidenav ul a:focus,
  .sidenav ul .current-menu-item > a {
      color: var(--nav-link-hover-color);
      background-color: var(--nav-link-hover-bg);
      outline: none;
  }
  
  /* Side Nav Close Button */
  .sidenav .closebtn {
      position: absolute;
      top: 10px;
      right: 25px;
      font-size: 36px;
      background: none;
      border: none;
      color: var(--nav-link-color);
      cursor: pointer;
      padding: 5px;
      line-height: 1;
      transition: color 0.3s ease;
  }
  .sidenav .closebtn:hover,
  .sidenav .closebtn:focus {
      color: var(--nav-link-hover-color);
      outline: none;
  }
  
  /* Overlay for Side Nav */
  .sidenav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 1001; /* Below sidenav, above content */
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.4s ease, visibility 0s 0.4s linear;
      cursor: pointer;
  }
  .sidenav-overlay.active {
      opacity: 1;
      visibility: visible;
      transition: opacity 0.4s ease, visibility 0s 0s linear;
  }
  
  /* Prevent body scroll when sidenav is open */
  body.sidenav-open {
      overflow: hidden;
  }
  
  /*--------------------------------------------------------------
  # Content & Footer (Basic Placeholders)
  --------------------------------------------------------------*/
  .site-content {
      padding: 20px 50px; /* Match header padding */
      max-width: 1200px; /* Example */
      margin: 2rem auto; /* Add some space */
  }
  
  .site-footer { /* Replaces .footer */
      /* position: fixed; */ /* Avoid fixed footer unless necessary */
      left: 0;
      bottom: 0;
      width: 100%;
      background-color: var(--header-bg);
      color: var(--nav-link-color);
      text-align: center;
      padding: 20px 50px;
      margin-top: 2rem; /* Space above footer */
      font-size: 0.9rem;
  }
  .site-footer a {
      color: var(--header-text);
  }
  
  /* Hero Section Style (from HTML) */
  .hero {
      text-align: center;
      color: #fff;
      padding: 50px;
      background-color: rgb(28, 185, 28);
      margin-bottom: 50px;
  }
  .hero h1 {
      font-size: 48px;
      margin-bottom: 20px;
  }
  
  /*--------------------------------------------------------------
  # Media Queries
  --------------------------------------------------------------*/
  /* Styles for Mobile */
  @media screen and (max-width: 600px) { /* Use variable: var(--breakpoint-mobile) */
      .site-header {
          padding: 15px 20px; /* Reduce padding */
      }
  
      .main-navigation ul a { /* Hide desktop nav links */
          display: none;
      }
      .menu-toggle { /* Show mobile toggle button */
          display: block;
      }
  
      /* Ensure sidenav styles apply correctly */
      /* (Sidenav itself is handled by JS width change) */
  
      .site-content {
          padding: 15px 20px;
      }
  
      .hero h1 {
          font-size: 36px; /* Adjust hero font size */
      }
  }
  
  /* Styles for Tablet and Larger (Optional: Adjustments if needed) */
  @media screen and (min-width: 601px) { /* Use variable: calc(var(--breakpoint-mobile) + 1px) */
      .menu-toggle {
          display: none; /* Ensure toggle is hidden */
      }
      .main-navigation ul a {
          display: block; /* Ensure desktop links are shown */
      }
      /* Ensure sidenav & overlay are hidden */
       .sidenav {
          width: 0 !important;
          visibility: hidden;
          transition: none;
      }
      .sidenav-overlay {
          display: none;
      }
      body.sidenav-open {
          overflow: auto; /* Re-enable scroll */
      }
  }
  
  ----------------------------------------
  
  /*--------------------------------------------------------------
# Gallery Page Template Styles
--------------------------------------------------------------*/

/* Apply styles only when the gallery template is used */
.page-template-template-gallery .entry-content {
    max-width: 100%;
}

/* Core Gallery Block Styling */
.wp-block-gallery.has-nested-images {
    /* Using CSS Grid for a masonry-like effect */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 15px;
}

.wp-block-gallery .wp-block-image {
    margin: 0; /* Override default block margins */
}

.wp-block-gallery .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the grid item without distortion */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover effect for gallery images */
.wp-block-gallery .wp-block-image a:hover img,
.wp-block-gallery .wp-block-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Style for gallery captions */
.wp-block-gallery .wp-block-image figcaption {
    font-size: 0.85em;
    text-align: center;
    color: #555;
    padding: 10px 0;
    font-style: italic;
    background: transparent;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 600px) {
    .wp-block-gallery.has-nested-images {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-gap: 10px;
    }
}


/*--------------------------------------------------------------
# Advanced Block Styles (Image & Gallery)
--------------------------------------------------------------*/

/* --- Shape: Circle --- */
.is-style-leeket-circle-shape img {
    border-radius: 50% !important;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
/* In a gallery, ensure the figure container also respects the shape */
.wp-block-gallery.is-style-leeket-circle-shape .wp-block-image {
    border-radius: 50%;
    overflow: hidden;
}


/* --- Shape: Angled --- */
.is-style-leeket-angled-shape img {
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
    border-radius: 0 !important; /* Remove any other radius */
}


/* --- Border: Primary Color --- */
.is-style-leeket-primary-border img {
    border: 5px solid var(--primary-color);
    padding: 5px;
    background-color: #fff;
}


/* --- Border: Secondary Color --- */
.is-style-leeket-secondary-border img {
    border: 5px solid var(--secondary-color);
    padding: 5px;
    background-color: #fff;
}


/* --- Effect: Drop Shadow --- */
.is-style-leeket-drop-shadow img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}
.is-style-leeket-drop-shadow img:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}


/* --- Gallery Effect: Overlay & Zoom --- */
.is-style-leeket-overlay-zoom.wp-block-gallery .wp-block-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: 0;
}
.is-style-leeket-overlay-zoom.wp-block-gallery .wp-block-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.is-style-leeket-overlay-zoom.wp-block-gallery .wp-block-image a::after,
.is-style-leeket-overlay-zoom.wp-block-gallery .wp-block-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.is-style-leeket-overlay-zoom.wp-block-gallery .wp-block-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    text-align: left;
    font-size: 1em;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}
.is-style-leeket-overlay-zoom.wp-block-gallery .wp-block-image a:hover img,
.is-style-leeket-overlay-zoom.wp-block-gallery .wp-block-image:hover img {
    transform: scale(1.1);
}
.is-style-leeket-overlay-zoom.wp-block-gallery .wp-block-image a:hover::after,
.is-style-leeket-overlay-zoom.wp-block-gallery .wp-block-image:hover::after {
    opacity: 0.4;
}
.is-style-leeket-overlay-zoom.wp-block-gallery .wp-block-image a:hover figcaption,
.is-style-leeket-overlay-zoom.wp-block-gallery .wp-block-image:hover figcaption {
    transform: translateY(0);
}



/*--------------------------------------------------------------
# Block Pattern: Contact Page
--------------------------------------------------------------*/

.contact-page-pattern {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.contact-section-header {
    margin-bottom: 4rem;
}

.contact-main-columns {
    gap: 3rem;
}

.contact-info-item {
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item h4 {
    margin-top: 0;
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

.contact-info-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-info-item a {
    text-decoration: none;
    color: var(--primary-color);
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-map-section {
    margin-top: 3rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 3rem;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    height: 0;
    border-radius: 8px;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

@media (max-width: 768px) {
    .contact-main-columns {
        flex-direction: column;
    }
}



.services-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0f1c2e;
  color: #fff;
}

.section-subtitle {
  font-size: 14px;
  color: #ccc;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  background: #fff;
  color: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 18px;
  margin: 15px 10px;
}

.read-more-btn {
  display: block;
  margin: 0 10px 15px;
  padding: 8px 12px;
  background-color: #00bfff;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
}

.read-more-btn span {
  font-size: 16px;
}

  