/*
Theme Name: Total Child Theme
Theme URI: https://your-site.com
Description: Your site description. Go to Appearance > Editor to modify this file.
Author: Your Name
Author URI: https://your-site.com
Template: Total
Version: 1.0
*/



.language-switcher {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.language-switcher .lang-item {
    display: inline-block;
    margin-right: 15px;
    color: #999;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.language-switcher .lang-item:hover {
    color: #fff;
}

.language-switcher .lang-item.active {
    color: #fff;
    font-weight: bold;
}


/* ================================
   TYPOGRAPHY
   ================================ */

/* Headings */
h1, h2, h3, h4, h5, h6 {
font-family: 'Varela Round', sans-serif;	
	color: #000000;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

/* Paragraphs */
p {
font-family: 'Poppins', sans-serif;	
	color: #000000;
    font-weight: 200;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2em;
}

/* Links */
a {
font-family: 'Poppins', sans-serif;	
	color: #ff004c !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #000099 !important;
    text-decoration: underline;
}

a:active {
    color: #0000c4 !important;
}





/* ================================
   LAYOUT
   ================================ */




html::before {
    content: "";
    position: fixed;
    top: 0;
    left: 70px;
    width: calc(100% - 70px);
    height: 100%;
    background: 
        linear-gradient(#ff004c, #ff004c) 0 0 / 100% 10px no-repeat,
        linear-gradient(#ff004c, #ff004c) 0 0 / 10px 100% no-repeat,
        linear-gradient(#ff004c, #ff004c) 0 100% / 100% 10px no-repeat,
        linear-gradient(#ff004c, #ff004c) 100% 0 / 10px 100% no-repeat,
        radial-gradient(circle at 100% 100%, transparent 25px, #ff004c 26px) 0 0 / 35px 35px no-repeat,
        radial-gradient(circle at 0 100%, transparent 25px, #ff004c 26px) 100% 0 / 35px 35px no-repeat,
        radial-gradient(circle at 100% 0, transparent 25px, #ff004c 26px) 0 100% / 35px 35px no-repeat,
        radial-gradient(circle at 0 0, transparent 25px, #ff004c 26px) 100% 100% / 35px 35px no-repeat;
    pointer-events: none;
    z-index: 99999;
}




/* Base layout */
body {
    margin: 0;
    padding: 0px;
    box-sizing: border-box;
margin-top:0px
}

.site-wrapper {
    display: flex;
    overflow-x: hidden;
}

/* ================================
   SIDEBAR
   ================================ */
.sidebar {
    width: 80px;
    background: #ff004c;
    color: #111;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 9999;
    transition: left 0.4s ease;
}



/* Logo in sidebar */
.sidebar .logo {
    margin-bottom: 20px;
    z-index: 11000;
}

.sidebar .logo img,
.sidebar .logo a {
    display: block;
    max-width: 60px;
    max-height: 200px;
    width: auto;
    height: auto;
}

/* ================================
   MENU TOGGLE (Hamburger)
   ================================ */

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 30px;
    height: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11000;
}

/* Hamburger lines */
.menu-toggle .line {
    position: absolute;
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.menu-toggle .line1 {
    top: 6px;
    left: 3px;
}

.menu-toggle .line2 {
    top: 14px;
    left: 3px;
}

.menu-toggle .line3 {
    top: 22px;
    left: 3px;
}

/* Transform to X when active */
.menu-toggle.active .line1 {
    transform: rotate(45deg);
    top: 14px;
}

.menu-toggle.active .line2 {
    opacity: 0;
}

.menu-toggle.active .line3 {
    transform: rotate(-45deg);
    top: 14px;
}

/* ================================
   FULLSCREEN MENU
   ================================ */

.menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(50px);
    background: rgba(255, 255, 255, 0.3);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9999;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.menu-panel.active {
    opacity: 1;
    visibility: visible;
}

.menu-panel-inner {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-top: 80px;
    padding-left: 250px;
    box-sizing: border-box;
}

/* ================================
   MAIN NAVIGATION
   ================================ */

.main-navigation {
    flex: 1;
}

.menu-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-panel-list li {
    margin: 1em 0;
}

/* Menu links */
.menu-panel-list a {
    position: relative;
    text-decoration: none !important;
    font-size: 1.5rem;
    color: #111 !important;
    transition: color 0.3s ease;
}

/* Animated underline */
.menu-panel-list a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff004c;
    transition: width 0.3s ease;
}

.menu-panel-list a:hover,
.menu-panel-list a:focus {
    color: #ff004c !important;
}

.menu-panel-list a:hover::after,
.menu-panel-list a:focus::after {
    width: 100%;
}

/* Remove bullets from submenus */
.main-navigation ul ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.main-navigation ul ul li {
    list-style: none !important;
}

/* ================================
   GALLERY INFO SECTION
   ================================ */

.gallery-info {
    flex: 1;
    font-size: 1rem;
    color: #111;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    line-height: 1.6;
    padding-top: 20px;
    padding-right: 200px;
    box-sizing: border-box;
    text-align: right;
}

.gallery-info .info-block {
    margin-bottom: 1.5em;
    max-width: 300px;
}

.gallery-info h3,
.gallery-info h4 {
    margin: 0 0 0.3em 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #ff004c !important;
}

.gallery-info p {
    margin: 0;
	    font-size: 0.9rem;

}

.gallery-info a {
    color: #111 !important;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.gallery-info a:hover {
    border-color: #ff004c;
    text-decoration: none !important;
}

/* ================================
   SEARCH FORM
   ================================ */

.gallery-info .search-form {
    width: 100%;
    max-width: 300px;
    margin-bottom: 4em;
    display: flex;
    gap: 0.5em;
    justify-content: flex-end;
}

.gallery-info .search-field {
    flex: 1;
    padding: 8px 12px;
    font-size: 1rem;
    border: 2px solid #ff004c;
    border-radius: 40px;
    outline: none;
    background: #fff;
    color: #111;
}

.gallery-info .search-field:focus {
    border-color: #ff004c;
}

.gallery-info .search-submit {
    padding: 8px 14px;
    font-size: 1rem;
    background-color: #ff004c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gallery-info .search-submit:hover {
    background-color: #000099;
}

/* ================================
   FIXED LOGO
   ================================ */

.fixed-logo {
    position: fixed !important;
    top: 25px !important;
    right: 25px !important;
    z-index: 9999 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}

.fixed-logo img {
    max-width: 35px !important;
    height: auto !important;
    display: block !important;
}





@media screen and (max-width: 768px) {

  body {
    margin: 0;
    padding-left: 60px; /* spazio per sidebar più stretta */
    box-sizing: border-box;
  }

  .site-wrapper {
    flex-direction: row;
  }
	
	
html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 60px;
  width: calc(100% - 60px);
  height: 100%;
  background: 
    linear-gradient(#ff004c, #ff004c) 0 0 / 100% 10px no-repeat,
    linear-gradient(#ff004c, #ff004c) 0 0 / 10px 100% no-repeat,
    linear-gradient(#ff004c, #ff004c) 0 100% / 100% 10px no-repeat,
    linear-gradient(#ff004c, #ff004c) 100% 0 / 10px 100% no-repeat,
    radial-gradient(circle at 100% 100%, transparent 10px, #ff004c 11px) 0 0 / 20px 20px no-repeat,
    radial-gradient(circle at 0 100%, transparent 10px, #ff004c 11px) 100% 0 / 20px 20px no-repeat,
    radial-gradient(circle at 100% 0, transparent 10px, #ff004c 11px) 0 100% / 20px 20px no-repeat,
    radial-gradient(circle at 0 0, transparent 10px, #ff004c 11px) 100% 100% / 20px 20px no-repeat;
  pointer-events: none;
  z-index: 99999;
}
	
	
	
	
	

  /* Sidebar verticale fissa a sinistra */
  .sidebar {
    width: 60px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background: #ff004c;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    box-sizing: border-box;
  }

  .menu-toggle {
    width: 30px;
    height: 30px;
    padding: 10px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 11000;
  }

  .menu-toggle .line {
    position: absolute;
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.4s ease;
    left: 3px;
  }

  .menu-toggle .line1 { top: 6px; }
  .menu-toggle .line2 { top: 14px; }
  .menu-toggle .line3 { top: 22px; }

  .sidebar .logo {
    margin-bottom: 20px;
    z-index: 11000;
  }

  .sidebar .logo img {
    max-width: 40px;
    max-height: 160px;
    width: auto;
    height: auto;
    display: block;
  }

  /* Menu fullscreen */
  .menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.3);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .menu-panel.active {
    opacity: 1;
    visibility: visible;
  }

  .menu-panel-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 80px; /* spazio per non sovrapporsi alla sidebar */
    padding-top: 60px;
    gap: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 100vh;
  }

  .main-navigation {
    flex: none;
    width: 100%;
    text-align: left;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .menu-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .menu-panel-list li {
    margin: 0.6em 0;
  }

  .menu-panel-list a {
    font-size: 1.1rem;
    color: #111 !important;
    position: relative;
    text-decoration: none !important;
    transition: color 0.3s ease;
  }

  .menu-panel-list a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff004c;
    transition: width 0.3s ease;
  }

  .menu-panel-list a:hover,
  .menu-panel-list a:focus {
    color: #ff004c !important;
  }

  .menu-panel-list a:hover::after,
  .menu-panel-list a:focus::after {
    width: 100%;
  }

  /* Nasconde info e ricerca */
  .gallery-info {
    display: none !important;
  }

  .fixed-logo {
   display:none!important;
  }

  .fixed-logo img {
    max-width: 24px !important;
    height: auto !important;
    display: block !important;
  }
}













