/* ===== PRODUCTS PAGE ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    scroll-behavior: smooth;
    font-family: 'Helvetica Neue', sans-serif;
  }
  
  /* Navbar */
  /* Default Navbar */
.navbar {
    width: 100%;
    z-index: 1000;
    background-color: #faf3e0;
    padding: 1rem 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: fixed;
    top: 30;
    left: 0;
    transition: background-color 0.3s ease;

  }
.navbar.transparent,
.navbar.hero-transparent {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.logo img,
.logo svg {
  height: 10px;
  width: auto;
  display: block;
  
}

#logo-img {
    margin-left: -3rem; /* or less */
  }
  
  
  /* Transparent navbar style for hero section */
  .navbar.transparent {
    background: transparent;
    position: fixed;
    width: 100%;
    z-index: 10;
    transition: background 0.3s ease;
  }
  
  .navbar.solid {
    background: white;
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
  }
  
  /* only top-level controls go white over the hero */
  .navbar.transparent .nav-box a,
  .navbar.transparent .logo,
  .navbar.transparent .lang-switcher .lang-btn,
  .navbar.transparent .icon-btn {
    color: white;
  }

  /* dropdown should always be dark text on white bg */
  .menu-panel { background: #fff; }
  .menu-panel a { color: #111 !important; }
  .menu-panel a:hover,
  .menu-panel a:focus { background: #0077cc; color: #fff !important; }


  .navbar.hero-transparent {
    background-color: transparent !important;
    box-shadow: none !important;
    color: white;
    transition: background-color 0.3s ease;
  }
  
  .navbar.hero-transparent a,
  .navbar.hero-transparent .logo,
  .navbar.hero-transparent button {
    color: white;
  }
    
  
  
  .nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    justify-content: space-between; /* logo on left, rest on right */
    padding-top: 30px; /* add some top padding */
    margin-right: 70px;
    
  }
  
  .logo {
    font-weight: bold;
    font-size: 1.8rem;
  }
  
  .nav-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 10;
    transition: background-color 0.3s ease;
    margin-left: auto; /* pushes nav box away from logo */
    margin-right: 30px; /* space before lang switcher */
  }
  
  /* Make sure nav links inside look good */
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
  }

  /* Style on hero section (default) */
.nav-box.transparent {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .nav-box.transparent .nav-links li a {
    color: white;
  }
  
  /* Style after scrolling down */
  .nav-box.solid {
    background: rgba(255, 255, 255, 0.95);
    background-color: #0A0A2A ;
  }
  
  .nav-box.solid .nav-links li a {
    color: #222;
  }
  
  
  .nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    transition: background 0.3s ease;
  }
  
  
  
  .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: flex;
    height: 100%; /* Make sure it fills the navbar height */
    padding: 0 0.5rem; /* Horizontal spacing between links */
  }
  

  .navbar {
  background-color: #faf3e0 !important; /* creamy white */
}


.nav-links li a:hover {
  background: rgba(240, 240, 240, 0.6);

}
.nav-box.solid .nav-links li a {
  color: white !important;
}

  




  .lang-switch button {
    background: none;
    border: none;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    color: #333;
    

  }
  
  #lang-options {
    position: absolute;
    top: 110%;
    left: 0;
    background: transparent;  /* no white background */
    border: none;             /* no border */
    box-shadow: none;         /* no shadow */
    min-width: auto;
    padding: 0;
    margin: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
  }
  
  .lang-option-item {
    padding: 2px 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: inherit;  /* inherits text color */
  }
  
  .lang-option-item:hover {
    background-color: rgba(0,0,0,0.1); /* subtle highlight */
    border-radius: 4px;
  }
  
  #lang-active-btn {
    background: none;
    border: none;
    padding: 6px 10px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: inherit;
  }
  
/* Transparent style for hero */
.lang-btn.transparent {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
  }
  
/* Solid style after scrolling */
.lang-btn.solid {
    background: white;
    color: #222;
    border: 1px solid #ccc;
}
  
 /* Hide navbar when scrolling down */
.navbar.nav-hidden {
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}
  
.navbar {
    transition: transform 0.4s ease;
}
  
/* Lang part */
  .lang-switcher {
  position: relative;
  display: inline-block;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
  font-weight: 600;
  margin-right: -100px;
}

.lang-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  min-width: 90px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.lang-btn:hover,
.lang-btn:focus {
  border-color: #0077cc;
  background-color: #f0f8ff;
  outline: none;
}

.flag {
  font-size: 18px;
  line-height: 1;
}

.lang-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
  min-width: 90px;
  z-index: 1000;
  padding: 4px 0;
  user-select: none;
}

.lang-options button {
  background: none;
  border: none;
  width: 100%;
  padding: 8px 16px;
  font-size: 14px;
  text-align: left;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 0;
}

.lang-options button:hover,
.lang-options button:focus {
  background-color: #0077cc;
  color: #fff;
  outline: none;
}

.hidden {
  display: none !important;
}

/* === Hamburger menu (next to language) === */
/* === Minimal hamburger — no background === */
.menu-wrapper { position: relative; display: inline-block; margin-left: 8px; }

.icon-btn {
  background: transparent;   /* no box */
  border: none;              /* no border */
  padding: 8px;              /* keeps a11y hit-area */
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 44px;           /* a11y size */
  min-height: 44px;
  color: currentColor;       /* inherits from .transparent/.solid below */
}

.icon-btn .bar {
  width: 20px;
  height: 2px;
  background: currentColor;  /* line color follows button color */
  border-radius: 2px;
  transition: opacity .2s ease;
}

.icon-btn:hover .bar { opacity: .8; }
.icon-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(0,0,0,.15); border-radius: 8px; }

/* Color states synced with navbar scroll logic */
.icon-btn.transparent { color: #fff; }  /* on hero */
.icon-btn.solid { color: #222; }        /* after scroll */

/* Drawer Styles */
.drawer {
  position: fixed;
  top: 0;
  right: -50%; /* hidden initially */
  width: 50%;
  height: 100%;
  background-color: rgb(75, 139, 223);
  box-shadow: -4px 0 12px rgba(0,0,0,0.2);
  z-index: 1001;
  transition: right 0.3s ease;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.drawer.open {
  right: 0;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 2rem;
}

.drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-menu li a {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  color: white;
  transition: color 0.2s;
  padding-top: 0.5rem 0;
}

.drawer-menu li a:hover {
  color: #1e3a8a; /* highlight color */
}

/* Overlay behind the drawer */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Menu Toggle Button */
.menu-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1100;
  background: #1e3a8a;
  color: #fff;
  border: none;
  padding: 0.7rem 1rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 6px;
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  
  /* Responsive */
  @media (max-width: 768px) {
    .split-section {
      flex-direction: column;
    }
  
    .split-right,
    .split-left {
      flex: none;
      width: 100%;
      min-height: 300px;
    }
  
    .split-left {
      padding: 2rem;
      text-align: center;
    }


  }
  
  /* ===== Footer language bar ===== */
.site-footer {
    background-color: #111135;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.footer-main {
    padding: 40px 10%;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-columns h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-columns ul {
    list-style: none;
    padding: 0;
}

.footer-columns ul li {
    margin-bottom: 8px;
}

.footer-columns a {
    color: #ccc;
    text-decoration: none;
}

.footer-columns a:hover {
    color: #fff;
}

.footer-lang {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    background-color: #fff;
    color: #333;
    font-size: 0.95rem;
}

.footer-lang span {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-lang span:hover {
    text-decoration: underline;
}

.footer-bottom {
    background-color: #0f0f0f;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
    color: #aaa;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-logo {
  max-width: 120px;   /* Adjust as needed */
  height: auto;       /* Keeps aspect ratio */
  display: block;     /* Prevents inline spacing issues */
}


/* ---------- General Page Setup ---------- */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #141440;
}

/* SECTION 1: Title section */
.power-hero {
  height: auto;
  padding: 10vh 0 5vh 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #141440;
  text-align: center;
  margin-top: 20vh; /* pushes it down */
}


.power-title {
  font-family: var(--font-tangier-bold);
  font-size: 5rem;
  color: white;
  text-align: center;
  line-height: 1.2;
}

.power-title .italic-word {
  font-style: italic;
}

/* ---------- Scrolling Slider Section ---------- */
.power-slider {
  background-color: #fff; /* optional background */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100vh;
  margin-top: -160px; /* Pulls it up aggressively */
}

.slider {
  height: 400px; /* adjust based on image height */
  width: 100vw;
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  width: calc(400px * 6); /* 3 original + 3 duplicates */
  animation: scroll 30s linear infinite;
}

.slide-track img {
  width: 400px;
  height: auto;
  margin-right: 40px;
  border-radius: 20px;
  object-fit: cover;
}

/* ---------- Animation ---------- */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-calc(400px * 3 + 40px * 3)); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .slider {
    height: 250px;
  }

  .slide-track img {
    width: 250px;
    margin-right: 20px;
  }
}


.power-slider {
  overflow: hidden;
  width: 100%;
  background-color: #141440;
  display: flex;
  align-items: center;
  height: 100vh;
}

.slider-track {
  display: flex;
  /* Total width needs to accommodate all images */
  animation: scroll 40s linear infinite;
}

.slider-track img {
  width: 500px; /* adjust as needed */
  height: auto;
  margin-right: 20px; /* space between images */
  object-fit: cover;
  flex-shrink: 0; /* prevents images from shrinking */
}

/* Continuous scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Move by exactly the width of ONE SET (7 images + their margins) */
    /* 7 images * (500px width + 20px margin) = 3640px */
    transform: translateX(-3640px);
  }
}



.power-section img, 
.slider-track img {
  display: block;
}
.power-section, 
.slider-track img {
  border: none;
}
.power-section {
  width: 100vw;  /* full viewport width */
  background-color: #141440;
}

/* SECTION 3: Mosaic layout */
.second-section {
  width: 100vw;         /* Full viewport width */
  margin: 0;
  padding: 0;
  background-color: #141440; /* Optional: keep or remove */
  margin-top: -200px; /* 👈 move section up */
}

.second-section img {
  width: 100%;
  max-width: 1300px;
  height: auto;
  display: block;
  margin: 0 auto;       /* ✅ centers horizontally */
  object-fit: cover;
  margin-bottom: 150px;
}

.transition-image-section {
  background-color: #141440; /* same black-blue background */
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px; /* 👈 move section up */
}

.transition-image-section img {
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 20px; /* optional: add some flair */
  margin-top: -100px;
}


/* SECTION 4: Environmental row */
.environment-section {
  background-color: #141440;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.environment-row {
  display: flex;
  align-items: stretch;  /* 🔥 keep both blocks equal height */
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  height: auto;
  height: 620px;
}

.environment-text,
.environment-image {
  flex: 1 1 0;
  display: flex;
  align-items: stretch;
}

.environment-text img {
  height: 100%;       /* ⬅️ force it to fill the container */
  width: auto;        /* keep aspect ratio */
  object-fit: contain;
  display: block;
  border-radius: 20px;
}

.environment-image img {
  height: auto;
  width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 20px;

}

.closing-image-section {
  background-color: #141440; /* keep that dark, classy background */
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.closing-image-section img {
  max-width: 600px;  /* 🔧 tweak this number to control size */
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  margin: 20px;
}

.bottom-design {
  margin-top: 40px;
  width: 100vw;        /* full viewport width */
  position: relative;  /* optional if you need absolute positioning */
  left: 0;             /* make sure it aligns with the left edge */
}

.toplar-img {
  width: 100vw;        /* spans entire screen */
  height: auto;        /* maintain aspect ratio */
  display: block;
  object-fit: cover;   /* optional, fills container nicely */
}


:root {
  --font-tangier-bold: "tangier", sans-serif;           /* 700 normal */
  --font-owners-regular: "owners", sans-serif;          /* 400 normal */
  --font-owners-medium: "owners", sans-serif;           /* 500 normal */
  --font-owners-medium-italic: "owners", sans-serif;    /* 500 italic */
  --font-owners-bold: "owners", sans-serif;             /* 700 normal */
  --font-owners-bold-italic: "owners", sans-serif;      /* 700 italic */
  --font-owners-black: "owners", sans-serif;            /* 800 normal */
  --font-owners-black-italic: "owners", sans-serif;     /* 800 italic */
}

/* Base text */
html, body {
  font-family: var(--font-owners-regular);
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Form elements inherit font */
button, input, select, textarea {
  font-family: inherit;
}


.environment-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.environment-section,
.environment-row,
.environment-image {
  overflow: visible !important;
}

.environment-image {
  position: relative;
  z-index: 9999;
}

/* =========================================
   POWER PAGE — MOBILE RESPONSIVENESS FIX
   ========================================= */

/* -------------------------
   GLOBAL NAV FIX
-------------------------- */
@media (max-width: 768px) {
  .navbar {
    top: 0 !important;
  }
}

/* -------------------------
   HERO TITLE
-------------------------- */
@media (max-width: 768px) {
  .power-hero {
    margin-top: 0;
    padding: 16vh 20px 8vh;
  }

  .power-title {
    font-size: 3rem;
    line-height: 1.2;
  }
}

@media (max-width: 430px) {
  .power-title {
    font-size: 2.4rem;
  }
}

/* -------------------------
   SLIDER SECTION
-------------------------- */
@media (max-width: 768px) {
  .power-slider {
    height: auto;
    padding: 60px 0;
    margin-top: -60px;
  }

  .slider-track img {
    width: 240px !important;
    margin-right: 16px;
  }
}

@media (max-width: 430px) {
  .slider-track img {
    width: 200px !important;
  }
}

/* -------------------------
   MOSAIC / SECOND SECTION
-------------------------- */
@media (max-width: 768px) {
  .second-section {
    margin-top: -80px;
  }

  .second-section img {
    max-width: 92%;
    margin-bottom: 80px;
  }
}

/* -------------------------
   TRANSITION IMAGE
-------------------------- */
@media (max-width: 768px) {
  .transition-image-section img {
    max-width: 260px;
    margin-top: -40px;
  }
}

/* -------------------------
   ENVIRONMENT SECTION (STACK)
-------------------------- */
@media (max-width: 900px) {
  .environment-row {
    flex-direction: column;
    height: auto;
    gap: 24px;
  }

  .environment-text,
  .environment-image {
    width: 100%;
  }

  .environment-text img {
    height: auto;
    width: 100%;
  }
}

/* -------------------------
   CLOSING IMAGE
-------------------------- */
@media (max-width: 768px) {
  .closing-image-section img {
    max-width: 320px;
  }
}

@media (max-width: 430px) {
  .closing-image-section img {
    max-width: 260px;
  }
}

/* =========================================
   POWER PAGE — iOS TITLE VISIBILITY FIX
   ========================================= */

/* Reserve space for fixed navbar on mobile */
@media (max-width: 430px) {
  .power-hero {
    padding-top: calc(18vh + env(safe-area-inset-top));
    margin-top: 0 !important;
  }
}

/* Extra safety for very small phones */
@media (max-width: 375px) {
  .power-hero {
    padding-top: calc(20vh + env(safe-area-inset-top));
  }
}


/* =========================================
   GLOBAL NAVBAR FIX — MOBILE ONLY
   Logo + Lang + Hamburger ONLY
   ========================================= */

@media (max-width: 768px) {

  /* Hide the desktop nav links pill */
  .nav-box {
    display: none !important;
  }

  /* Ensure hamburger stays visible */
  .menu-wrapper,
  .icon-btn {
    display: inline-flex !important;
  }

  /* Keep logo visible */
  .logo {
    display: flex !important;
    align-items: center;
  }

  /* Keep language switcher visible */
  .lang-switcher {
    display: inline-flex !important;
    margin-right: 0 !important;
  }

  /* Clean container spacing */
  .nav-container {
    justify-content: space-between !important;
    padding-top: 16px !important;
    margin-right: 0 !important;
  }
}

/* =========================================
   GLOBAL NAVBAR — MATCH CONTACT PAGE (MOBILE)
   ========================================= */

@media (max-width: 768px) {

  /* Hide desktop nav pill everywhere */
  .nav-box {
    display: none !important;
  }

  /* Header layout = Contact style */
  .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 16px !important;
    margin-right: 0 !important;
  }

  /* Logo (left) */
  .logo {
    display: flex !important;
    align-items: center !important;
  }

  #logo-img {
    margin-left: 0 !important;
  }

  /* Language switch */
  .lang-switcher {
    display: inline-flex !important;
    margin-right: 0 !important;
  }

  /* Hamburger */
  .menu-wrapper,
  .icon-btn {
    display: inline-flex !important;
  }
}


/* =========================================
   POWER PAGE — PUSH IMAGE BELOW SLIDER
   ========================================= */

/* Mobile + Tablet */
@media (max-width: 900px) {
  .transition-image-section {
    margin-top: 140px !important;   /* ⬇️ push it down */
  }
}

/* Phones */
@media (max-width: 430px) {
  .transition-image-section {
    margin-top: 180px !important;   /* ⬇️ more breathing room */
  }
}

/* =========================================
   POWER PAGE — TRANSITION FLOW TUNE
   ========================================= */

@media (max-width: 900px) {

  /* 1️⃣ Move transition image UP */
  .transition-image-section {
    margin-top: -200px;   /* ⬆️ main lift */
  }

  /* 2️⃣ Keep flow stable: pull next sections slightly */
  .environment-section {
    margin-top: -40px;
  }

  .closing-image-section {
    margin-top: -40px;
  }
}

@media (max-width: 900px) {

  /* REMOVE blue dead space above transition image */
  .second-section img {
    margin-bottom: 40px !important;
  }

}

@media (max-width: 900px) {

  .transition-image-section {
    margin-top: -120px;
  }

  .environment-section {
    margin-top: -40px;
  }

  .closing-image-section {
    margin-top: -40px;
  }

}
