/*
Theme Name: Gherute
Theme URI: https://gherute.ro
Author: Alexandru Negoita
Author URI: https://superwpheroes.io
Description: Custom WooCommerce theme built with Bootstrap 5
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gherute
Tags: woocommerce, bootstrap, custom
*/

:root {
  --color-primary: #00c7b4;
  --color-secondary: #2f2f2f;
  --color-success: #8bc100;
  --color-info: #1cd1ff;
  --color-warning: #f7ff1c;
  --color-danger: #fb5350;
  --color-light: #e4eeda;
  --color-dark: #2f2f2f;
  
  --font-headings: 'Chilanka', 'Patrick Hand', cursive;
  --font-body: 'Open Sans', sans-serif;
}

body {
  overflow-x: hidden;
}

/* Typography */
body {
  font-family: var(--font-body);
  color: var(--color-dark);
  line-height: 1.6;
  font-size: 15px;
}

h1, h2 {
  /*font-family: var(--font-headings);*/
  font-family: var(--font-body);
  color: var(--color-dark);
  font-weight: 800;
}

h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-secondary);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1rem;
}

h5. h6 {
  font-size: 0.7rem;
}

.entry-content p {
  margin-bottom: 30px;
}


.freaky-big {
  font-size: 50px;
}

.freaky-huge {
  font-size: 100px;
}

blockquote {
  position: relative;
  font-style: italic;
}

blockquote:before  {
    font-size: 100px;
    contenr: '"vvvvv';
    color: var(--color-success) !important;
    font-family: var(--font-headings);
    position: absolute;
    top: -20px;
    left: -20px;
    display: block;
}

blockquote span.quotes  {
    font-size: 100px;
    color: var(--color-success) !important;
    font-family: var(--font-headings);
    position: absolute;
    top: -65px;
    left: -15px;
    display: block;
}

iframe {
  border: 10px solid #00000038;
  border-radius: 5px;
}

table {
  margin-bottom: 3rem !important;
}

/* forms */
/* Pill-style inputs and selects */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
textarea,
select {
    border-radius: 50px !important;
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #ddd;
}

textarea {
  min-height: 150px;
  border-radius: 15px !important;
}

/* For Select2 dropdowns (if you use WooCommerce) */

.select2-dropdown {
  margin-top: 10px;
  border-radius: 20px 20px 5px 5px !important;
  border: 1px solid #aaa !important;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-radius: 50px !important;
    height: 47px;
    padding: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 11px;
    right: 8px;
}

/* Utility Classes */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-success { color: var(--color-success) !important; }
.text-info { color: var(--color-info) !important; }
.text-warning { color: var(--color-warning) !important; }
.text-danger { color: var(--color-danger) !important; }
.text-light { color: var(--color-light) !important; }
.text-dark { color: var(--color-dark) !important; }

.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-success { background-color: var(--color-success) !important; }
.bg-info { background-color: var(--color-info) !important; }
.bg-warning { background-color: var(--color-warning) !important; }
.bg-danger { background-color: var(--color-danger) !important; }
.bg-light { background-color: var(--color-light) !important; }
.bg-dark { background-color: var(--color-dark) !important; }

#lazy-cat {
  position: relative;
}
#lazy-cat:after {
  background-image: url(assets/images/somnul-pisicii.png) ;
  display: block;
  width: 995px;
  height: 537px;
  content: "";
  position: absolute;
  background-size: 995px 537px;
  background-repeat: no-repeat;
  background-position: right bottom;
  right: 0;
  bottom: -104px;
  z-index: 0;
}

.wavy-green {
  background-color: var(--color-success) !important;
  margin-top: 200px;
  margin-bottom: 200px;
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
}
  .wavy-green:before, .wavy-green:after {
    display: block;
    width: 100%;
    height: 190px;
    content: "";
    position: absolute;
    background-size: 100% 190px;
    background-repeat: no-repeat;
    left: 0;
    z-index: 0;
  }


    .wavy-green:before {
      background-image: url(assets/images/green-section-before.png);
      top: -190px;
    }
    .wavy-green:after {
      background-image: url(assets/images/green-section-after.png);
      bottom: -190px;
    }

/* Buttons */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: #174a93;
  border-color: #174a93;
}

.btn-secondary {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

.btn-success {
  background-color: var(--color-success);
  border-color: var(--color-success);
  color: #fff;
}

.btn-danger {
  background-color: var(--color-danger);
  border-color: var(--color-danger);
  color: #fff;
}

/* Forms */
.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(30, 98, 191, 0.25);
}

.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(30, 98, 191, 0.25);
}

/* Header */
.site-header {
  /*background: #fff;*/
}

  /*.home .site-header:before {
    display: block;
    width: 932px;
    height: 524px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    content: "";
    background: url(assets/images/pisica-zgarie-canapeaua.png) center center no-repeat;
  }*/

  .home  {
    background: url(assets/images/pisica-zgarie-canapeaua.png) right top no-repeat;
  }

.logo-row {
  padding: 20px 0;
}

.custom-logo {
    max-width: 100%;
    height: auto;
}

.menu-row {
  /*background: var(--color-light);*/
  padding: 0;
}

.main-navigation {
  background: #fff;
    padding: 5px;
    border-radius: 30px;
    display: inline-block;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-navigation li {
  margin: 0;
  position: relative;
}


.main-navigation a {
    display: block;
    padding: 3px 20px;
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 50px;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 800;
}

.main-navigation a:hover {
  background: var(--color-success);
  color: #fff;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 35px;
  cursor: pointer;
  color: var(--color-success);
  padding: 10px;
  margin-left: auto;
  font-weight: 800;
}

/* Mobile Navigation - Hidden by default on ALL screens */
.mobile-navigation {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
}

.mobile-navigation.active {
  display: block;
  right: 0;
}

.mobile-menu-close {
  text-align: right;
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.mobile-menu-close button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-dark);
}

.mobile-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-navigation a {
  display: block;
  padding: 15px 20px;
  color: var(--color-dark);
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-navigation a:hover {
  background: var(--color-light);
}

/* Mobile Overlay - Hidden by default on ALL screens */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

.mobile-overlay.active {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--color-success);
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
  position: relative;
}

.site-footer a {
  color: var(--color-light);
}

.site-footer ul{
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
}


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

/* Content */
.site-content {
  padding: 40px 0;
  min-height: 400px;
}

/* BLOG */
.card-img-top-wrapper {
    overflow: hidden;
    display: block;
}

.card-img-top-wrapper img {
    transition: transform 0.3s ease;
    height: auto;
}

.card-img-top-wrapper:hover img {
    transform: scale(1.05);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
}

.card-title {
  font-weight: 900;
  font-family: var(--font-body);
}

.card-title a:hover {
    color: var(--color-primary) !important;
}

.site-content figure {
  max-width: 100% !important;
  position: relative;
}

.site-content figure img {
  width: 100%;
  height: auto;
}

.site-content figure figcaption {
    position: absolute;
    bottom: 0;
    background: white;
    padding: 5px;
    border-radius: 0 10px 0 0;
    left: 0;
}

.sidebar img {
  width: 100%;
  height: auto;
}

/* same CSS for woocommerce pagination too */

.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.woocommerce-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
}

.woocommerce-pagination ul li {
    margin: 0;
    border: 1px solid var(--color-light);
    overflow: hidden;
}

.woocommerce-pagination ul li:first-child {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.woocommerce-pagination ul li:last-child {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.woocommerce-pagination ul li a, .woocommerce-pagination ul li span {
    display: block;
    padding: 10px 15px;
    border-right: 1px solid var(--color-light);
    color: var(--color-dark);
    text-decoration: none;
}

.woocommerce-pagination ul li a:hover, .woocommerce-pagination ul li span.current {
    background-color: var(--color-light);
    color: var(--color-dark);
}



@media (max-width: 991px) {

  .home  {
    background:none;
  }
  .desktop-menu {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-navigation {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 9999;
    overflow-y: auto;
  }
  
  .mobile-navigation.active {
    display: block;
  }
  
  .mobile-menu-close {
    text-align: right;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .mobile-menu-close button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  .mobile-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .mobile-navigation a {
    display: block;
    padding: 15px 20px;
    color: var(--color-dark);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .mobile-navigation a:hover {
    background: var(--color-light);
  }
  
  .mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
  }
  
  .mobile-overlay.active {
    display: block;
  }

  .wavy-green:before, .wavy-green:after {
    width: 100%;
    background-size: cover;
  }

  #lazy-cat:after {
    display: none;
  }

}

