/*
Theme Name: kalej
Theme URI: kalej.it
Author: Mutart
Author URI: https://wordpress.org/
Description: A Custom WordPress theme for Grande Napoli
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.1.0
Requires at least: 5.0
Tested up to: 6.8.2
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grandena
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

This file is a custom stylesheet for the Napoli Pride theme. */

@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/* ========================
   VARIABLES
======================== */
:root {
  --primary: #d90046;
  --secondary: #089596;
  --hover: #000;
  --text-color: #111;
  --bg-color: #fff0f8;
  --soft-black: #111;
  --border_radius: 4px;
  --font-heading: "Open Sans", sans-serif;
  --font-body: "Figtree", sans-serif;
}

/* ========================
   RESET & BASE STYLES
======================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img,
video {
  margin-bottom: 20px;
  border-radius: var(--border_radius);
  max-width: 100%;
  width: 100%;
  height: auto;
}

body {
  font-family: var(--font-body);
  color: var(--soft-black);
  background: white;
  line-height: 1.6;
  background-position: top center;
  background-size: auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.menu-open {
  position: fixed;
  width: 100%;
}

@media (max-width: 768px) {
  body {
    font-family: var(--font-body);
    color: var(--soft-black);
    background: white;
    line-height: 1.6;
    background-position: center 40px;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
}

html {
  scroll-behavior: smooth;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--hover); /* Considera una variante se necessario */
}



/* ========================
   TYPOGRAPHY
======================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  /* color: var(--primary); */
  line-height: 1.1;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(28px, 5vw, 36px);
}

h6 {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 10px;
}

p,
li {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.25;
}

header li,
.sidebar li,
.top-bar li,
footer li {
  margin-bottom: 0;
}

/* ========================
   LAYOUT CONTAINERS
======================== */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.container-sm {
  width: 100%;
  max-width: 880px !important;
  margin: 0 auto;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.row-reverse {
  flex-direction: row-reverse;
}

.items-center {
  justify-content: center;
  align-items: center;
}

.align-center {
  align-items: center;
}

.space-between {
  justify-content: space-between;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gap-5 {
  gap: 5px;
}

.gap-50 {
  gap: clamp(15px, 5vw, 50px);
}

.gap-20 {
  gap: 20px;
}

.gap-10 {
  gap: 10px;
}

.gap-100 {
  gap: (50px, 5vw, 100px);
}

.max-w-sm {
  max-width: 700px !important;
  margin: 0 auto 20px auto;
  text-align: center;
}

.btn.btn-secondary:hover,
.btn.btn-primary:hover,
.btn__border:hover {
  color: white !important;
  scale: 1.05;
}


.btn__border {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent !important;
}

.overlay_btn_wrapper {
  position: fixed;
  bottom: 0;
  left: initial;
  /* transform: translatex(-50%); */
  background: var(--secondary);
  width: fit-content;
  z-index: 90;
  box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  /* border-radius: 6px; */

  width: 100%;
  box-shadow: 0 -10px 10px #00000013;
}

.overlay_btn_wrapper p,
.overlay_btn_wrapper h4 {
  margin: 0;
  color: white;
  font-size: 22px;
}

@media (max-width: 768px) {
  .overlay_btn_wrapper .btn__border.btn {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease, color 0.3s ease;
    min-width: 110px;
    text-align: center;
    font-size: 15px;
  }

  .overlay_btn_wrapper h4 {
    margin: 0;
    color: white;
    font-size: 18px;
  }

  .overlay_btn_wrapper .flex {
    flex-direction: row !important;
    justify-content: space-around;
  }
}

/* ========================
   WIDTH UTILITIES
======================== */
[class*="w-"] {
  max-width: 100%;
}

.w-5 {
  width: 5%;
}
.w-10 {
  width: 10%;
}
.w-15 {
  width: 15%;
}
.w-20 {
  width: 20%;
}
.w-25 {
  width: 25%;
}
.w-30 {
  width: 30%;
}
.w-33 {
  width: 33.3333%;
}
.w-35 {
  width: 35%;
}
.w-40 {
  width: 40%;
}
.w-45 {
  width: 45%;
}
.w-50 {
  width: 50%;
}
.w-55 {
  width: 55%;
}
.w-60 {
  width: 60%;
}
.w-65 {
  width: 65%;
}
.w-66 {
  width: 66.6667%;
}
.w-70 {
  width: 70%;
}
.w-75 {
  width: 75%;
}
.w-80 {
  width: 80%;
}
.w-85 {
  width: 85%;
}
.w-90 {
  width: 90%;
}
.w-95 {
  width: 95%;
}
.w-100 {
  width: 100%;
}

/* ========================
   RESPONSIVE WIDTHS
======================== */
@media (max-width: 768px) {
  .w-5,
  .w-10,
  .w-15,
  .w-20,
  .w-25,
  .w-30,
  .w-33,
  .w-35,
  .w-40,
  .w-45,
  .w-50,
  .w-60,
  .w-70,
  .w-75,
  .w-80,
  .w-85,
  .w-90,
  .w-95,
  .w-100 {
    width: 100% !important;
  }

  [class*="w-"]:not([class*="w-"] [class*="w-"]) {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .grid-latest-events {
    grid-template-columns: 1fr !important;
  }

  .flex {
    flex-direction: column !important;
  }
}

@media (max-width: 768px) {
  .w-sm-100 {
    width: 100% !important;
  }
}
