/*
Theme Name: Loco
Theme URI: https://codlico.com/
Author: Codlico
Author URI: https://codlico.com/
Description: Loco.eco best shopping plateform...
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.3
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Codlico Custom Theme
*/
:root {
    --green: #4caf50;
    --light-green: #e8f5e9;
    --dark: #2c2c2c;
    --gray: #666;
    --radius: 8px;
    --ff: 'Poppins', sans-serif;
  }
  
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: var(--ff); color: var(--dark); line-height: 1.6; }
  .container { max-width: 1200px; width: 90%; margin: 0 auto; }
  
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  
  /* HEADER */
  .site-header {
    position: sticky; top: 0; width: 100%;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3); z-index: 100;
  }
  .header-inner {
    display: flex; align-items: center;justify-content: space-around;
    padding: 0.3rem;
gap: 35px;
  }
  .logo {
    font-size: 1.5rem; font-weight: 700; color: var(--green);
  }
  .nav-list {
    display: flex; gap: 1.5rem;
  }
  .nav-list a {
    font-weight: 600; position: relative; padding: .25rem 0;
  }
  .nav-list a::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
    background: var(--green); transition: width .3s;
  }
  .nav-list a:hover::after { width: 100%; }
  #nf-field-6, .btn-primary {
    background: var(--green); color: #fff; padding: .5rem 1rem;
    border-radius: var(--radius); font-weight: 600;
    transition: background .3s;
  }
  #nf-field-6:hover, .btn-primary:hover { background: #43a047; }
  
  /* MOBILE NAV TOGGLE */
  .nav-toggle {
    display: none; background: none; border: none; font-size: 1.4rem;
  }
@media (max-width: 700px) {
    .nav-list {
      position: fixed;
      top: 0;
      right: 0;
      width: 100vw;
      height: 100vh;
      background: #fff;
      flex-direction: column;
      padding: 2rem 1.5rem;
      transform: translateX(100%);
      transition: transform 0.4s ease-in-out;
      z-index: 200;
      overflow-y: auto;
    }
    /* show menu */
    .nav-list.show {
      transform: translateX(0);
    }
  
    /* close button inside menu */
    .nav-close {
      align-self: flex-end;
      background: none;
      border: none;
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      cursor: pointer;
      color: var(--dark);
    }
  
    .nav-list li {
      margin: 1rem 0;
    }
    
    .nav-list a {
      font-size: 1.2rem;
      color: var(--dark);
    }
  
    /* hide desktop nav-toggle logic unchanged */
    .nav-toggle {
    display: block !important;
  }
  .nav-close {
    display: block !important;
  }
  }  
  .nav-close {
    display: none;
  }
  /* HERO */
  .hero {
    background: var(--green); color: #fff; padding: 80px 0;
  }
  .hero-inner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
  }
  .hero-text h1 { font-size: 2.75rem; margin-bottom: .75rem; }
  .hero-text p { font-size: 1.1rem; max-width: 500px; margin-bottom: 1rem; }
  .store-badges img { height: 48px; margin-right: .75rem; }
  .hero-mockup img { max-width: 420px; width: 100%; border-radius: var(--radius); }
  
  /* SECTIONS */
  .section { padding: 60px 0; }
  .light { background: var(--light-green); }
  
  /* ABOUT CARD */
  .card {
    background: #fff; padding: 2rem; border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); max-width: 800px; margin: 2rem auto 0;
  }
  .card p { font-size: 1.05rem; text-align: center; }
  
  /* HOW IT WORKS */
  .how-grid { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
  .features { margin-top: 1rem; }
  .features li { margin-bottom: 1rem; font-size: 1rem; display: flex; align-items: center; }
  .features i { color: var(--green); margin-right: .75rem; font-size: 1.2rem; }
  .how-mockup img { width: 100%; max-width: 560px; border-radius: var(--radius); }
  
  /* BARION */
  .barion { background: #f4f6f4; }
  .barion-grid { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
  .barion-logo img { max-width: 160px; }
  
  /* COMING SOON */
  .center { text-align: center; }
  
  /* FINAL NOTE */
  .final-note h3 { font-size: 1.5rem; margin-bottom: .5rem; }
  .final-note p { font-size: 1rem; }
  
  /* FOOTER */
  .site-footer { background: #fff; text-align: center; padding: 1rem 0; font-size: .9rem; }
  .site-footer a { color: var(--green); }
  
  /* RESPONSIVE */
  @media (max-width: 860px) {
    .hero-inner, .how-grid, .barion-grid { flex-direction: column; text-align: center; }
  }
  html {
    scroll-behavior: smooth;
  }
  /* -----------------------------------
   Coming Soon Badge Sparkle Animation
------------------------------------ */
/* Logo responsiveness */
.logo img {
    margin-top: 10px;
    max-height: 30px !important;
    width: auto;
    transition: max-height 0.3s ease;
    margin-bottom: -10px;
  }
  
  /* Shrink logo a bit on small/mobile */
  @media (max-width: 480px) {
    .logo img {
      max-height: 40px;
    }
.hero-mockup img {
max-width: 330px;
}
  }
  
  /* Grow logo slightly on large screens */
  @media (min-width: 1200px) {
    .logo img {
      max-height: 60px;
    }
  }
    

  .badge {
    position: relative;
    display: inline-block;
    margin-top: .9rem;
    padding: .25rem .75rem;
    border: 2px solid var(--green);
    border-radius: var(--radius);
    font-size: 1.3rem;
    color: var(--green);
    overflow: hidden;
    background: #fff;
  }
  
  /* the narrow “beam” */
  .badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(76, 175, 80, 0.2);
    transform: skewX(-25deg);
    filter: blur(2px);
    animation: beam 2s infinite ease-in-out;
  }
  
  @keyframes beam {
    0%   { left: -75%; opacity: 0; }
    50%  { left: 125%; opacity: 1; }
    100% { left: 125%; opacity: 0; }
  }
  

  /* ABOUT Section Decorations */
#about {
    position: relative;
    overflow: hidden;
  }
  
  /* Left & right decorations */
  .decor-left,
  .decor-right {
    position: absolute;
    top: 50%;
    width: 400px;       /* adjust to your PNG dimensions */
    height: 350px;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    opacity: 0.75;      /* subtle */
    pointer-events: none;
  }
  
  .decor-left {
    left: -50px;
    background-image: url('https://loco.eco/wp-content/uploads/2025/06/loco_emberialakok_animaciohoz_background_image_1.png');
  }
  
  .decor-right {
    right: -50px;
    background-image: url('https://loco.eco/wp-content/uploads/2025/06/loco_emberialakok_animaciohoz_background_image_2.png');
  }
  
  /* Hide mobile single image by default */
  .about-mobile-img {
    display: none;
  }
  
  /* Layout inner container so text/card stay above decorations */
  .about-inner {
    position: relative;
    z-index: 1;
  }
  
  /* Mobile / tablet breakpoint */
  @media (max-width: 860px) {
    /* hide the left/right PNGs */
    .decor-left,
    .decor-right {
      display: none;
    }
  
    /* show the single fallback image */
    .about-mobile-img {
      display: block;
      margin: 2rem auto 0;
      max-width: 80%;
      width: 500px;    
    }
    .hero {
        padding: 10px 0;
    }
  }
  

 /* Simplified Responsive Typography */

/* Base sizes */
html { font-size: 100%; }       /* 16px */
body  { font-size: 1rem; }      /* 16px */
h1    { font-size: 2.25rem; }   /* 36px */
h2    { font-size: 1.75rem; }   /* 28px */
h3    { font-size: 1.25rem; }   /* 20px */
p, a, .nav-list a { font-size: 0.8rem; }

/* Medium screens (tablets) */
@media (max-width: 860px) {
  html { font-size: 93.75%; }    /* 15px */
  h1   { font-size: 2rem; }      /* 30px */
  h2   { font-size: 1.5rem; }    /* 22.5px */
  h3   { font-size: 1.125rem; }  /* 18px */
  p, a, .nav-list a { font-size: 0.9375rem; } /* 15px */
}

/* Small screens (phones) */
@media (max-width: 480px) {
  html { font-size: 87.5%; }     /* 14px */
  h1   { font-size: 1.75rem; }   /* 24.5px */
  h2   { font-size: 1.25rem; }   /* 17.5px */
  h3   { font-size: 1rem; }      /* 16px */
  p, a, .nav-list a { font-size: 1rem; }  /* 14px */
}


.nav-list a {
    display: flex;
    align-items: center;
  }
  
  .nav-list a i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    color: var(--green);
    transition: color 0.3s;
  }
  
  .nav-list a:hover i {
    color: #43a047;
  }


  /* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 500;
  }
  
  .modal-overlay.show {
    opacity: 1;
    visibility: visible;
  }
  
  /* Modal Box */
  .modal {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 90%;
    width: 500px;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  
  /* Close Button */
  .modal-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark);
  }
  
  /* Form */
  #notify-form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  #nf-field-5 {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray);
    border-radius: var(--radius);
    font-size: 1rem;
  }
  
  #nf-field-6 {
    align-self: center;
  }
  
  /* Success message */
  font {
    margin-top: 1rem;
    color: var(--green);
    font-weight: 600;
  }
  
  .hidden, .nf-form-fields-required, .ninja-forms-req-symbol {
    display: none;
  }
/* === COMPANY INFO === */
.company-info h2 {
  font-size: 1.75rem;    /* matches your h2 scale */
  margin-bottom: 1rem;
  color: var(--dark);
  text-align: center;
}

.company-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.company-details .detail-block {
  flex: 1 1 250px;
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.company-details h3 {
  font-size: 1.125rem;
  margin-bottom: .5rem;
  color: var(--green);
}

.company-details address,
.company-details p {
  color: var(--gray);
  line-height: 1.4;
}

.company-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-details ul li {
  margin-bottom: .5rem;
  color: var(--gray);
}

.company-details a {
  text-decoration: none;
  font-weight: normal;
}

.company-details a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 700px) {
  .company-details {
    flex-direction: column;
    gap: 1rem;
  }
}

.company-info {
  background-color: #EEF8FF;  /* light sky-blue */
}

.company-info {
  background: linear-gradient(135deg, #EEF8FF 0%, #D1EEFC 100%);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
/* Dialog window */
.dialog {
  background: #fff;
  width: 98%;
  max-width: 1080px;
  height: 90%;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dialog-header {
  padding: 15px;
  background: #4caf50;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-header h2 {
  margin: 0;
  font-size: 1.25rem;
}
.dialog-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}
.dialog-content {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}