/*
Theme Name: tormararte theme
Text Domain: tormararte.it
Version: 1.0
Requires at least: 6.8
Requires PHP: 8.0.0
Description:  tormararte - Wordpress Custom Theme
Author: Jacopo Zangrilli
Author URI: http://visualjack.it/
Theme URI: https://tormararte.it/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

*/

@import url("https://use.typekit.net/urr2qba.css");

/*
Redonda Light
font-family: "redonda", sans-serif;
font-weight: 300;
font-style: normal;

Redonda Light Italic
font-family: "redonda", sans-serif;
font-weight: 300;
font-style: italic;

Redonda Regular
font-family: "redonda", sans-serif;
font-weight: 400;
font-style: normal;

Redonda Italic
font-family: "redonda", sans-serif;
font-weight: 400;
font-style: italic;

Redonda Medium
font-family: "redonda", sans-serif;
font-weight: 500;
font-style: normal;

Redonda Medium Italic
font-family: "redonda", sans-serif;
font-weight: 500;
font-style: italic;

Redonda Bold
font-family: "redonda", sans-serif;
font-weight: 700;
font-style: normal;

Redonda Bold Italic
font-family: "redonda", sans-serif;
font-weight: 700;
font-style: italic;

Redonda ExtraBold
font-family: "redonda", sans-serif;
font-weight: 800;
font-style: normal;

Redonda ExtraBold Italic
font-family: "redonda", sans-serif;
font-weight: 800;
font-style: italic;

Redonda Black
font-family: "redonda", sans-serif;
font-weight: 900;
font-style: normal;

Redonda Black Italic
font-family: "redonda", sans-serif;
font-weight: 900;
font-style: italic;
*/



:root {
    --custom-green: #abc41a;
    --custom-blue: #4b7abe;
    --custom-orange: #ff644a;
    --custom-yellow: #ffd54a;
    --custom-cyan: #1baac1;
    --custom-white: #ffffff;
    --custom-black: #000000;
    --custom-gray: #bfbfbf;
    --custom-font: 'redonda', sans-serif;

}

body {
    font-family: var(--custom-font);
    font-style: normal;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.2;
    color: var(--custom-black);
    background-color: var(--custom-white);
}

a {
    color: inherit;
    text-decoration: none;
}

/* TITLE */
.title-txt {
    max-width: 100%;
    width: 470px;
}

/* BUTTONS */
.hero-buttons a {
  display: inline-block;
  background: var(--custom-white);
  color: var(--custom-green);
  border: 2px solid var(--custom-white);
  padding: 0.5rem 1rem;
  font-size: .8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.8rem;
  font-weight: normal;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.6s ease;
}

.hero-buttons a:hover {
  background: var(--custom-green);
  color: var(--custom-white);
}


.button-1 {
  display: inline-block;
  color: var(--custom-white);
  border: 2px solid var(--custom-white);
  padding: 0.5rem 1rem;
  font-size: .8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.8rem;
  font-weight: normal;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.6s ease;
}

.button-1:hover {
  background: var(--custom-white);
  color: var(--custom-blue);
}

.button-2 {
  display: inline-block;
  color: var(--custom-black);
  border: 2px solid var(--custom-black);
  background: transparent;
  padding: 0.5rem 1rem;
  font-size: .8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.8rem;
  font-weight: normal;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.6s ease;
}

.button-2:hover {
  background: var(--custom-black);
  color: var(--custom-white);
}


.button-3 {
  display: inline-block;
  color: var(--custom-green);
  border: 2px solid var(--custom-green);
  background: transparent;
  padding: 0.5rem 1rem;
  font-size: .8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.8rem;
  font-weight: normal;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.6s ease;
}

.button-3:hover {
  background: var(--custom-green);
  color: var(--custom-white);
}




/* HERO */

.hero-section {
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  flex-wrap: wrap;
  background-color: var(--custom-green);
}

.hero-left,
.hero-right {
  flex: 1;
  min-width: 50%;
}

.hero-left {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--custom-white);
  padding: 5%;
}

.hero-right {
  background-image: url('https://tormararte.it/wp-content/uploads/2025/08/IMG_4329-scaled.jpg');
  background-size: cover;
  background-position: center;
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content p {
  margin: 2rem 0;
  color: var(--custom-white);
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column-reverse;
    min-height: 100vh;
  }
  
  .hero-right {
    clip-path: polygon(100% 73%, 100% 0, 0 0, 0 85%);
  }
}


/* NEWS */
.news-carousel {
    background-color: var(--custom-blue);
    color: var(--custom-white);
    padding: 50px 5%;
}

.news-carousel .swiper {
    padding: 40px;
}

.news-carousel .swiper-button-next, 
.news-carousel .swiper-button-prev {
    color: var(--custom-blue);
    background: var(--custom-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.news-carousel .swiper-button-next:after, 
.news-carousel .swiper-button-prev:after {
    font-size: 1.4rem;
}

.news-carousel svg.swiper-navigation-icon {
    width: 13px;
    height: auto;
}

.news-category, .news-date {
    font-size: .9rem;
    text-transform: uppercase;
    line-height: 1;
    font-weight: 100;
}

.news-date {
    margin-bottom: 10px;
}

.news-title {
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.news-text {
    font-size: 1rem;
    font-weight: 100;
    margin-bottom: 10px;
}

.news-tags {
    margin-bottom: 30px;
}

.news-tags span {
    display: inline-block;
    font-size: .8rem;
    background: var(--custom-white);
    color: var(--custom-blue);
    padding: 3px 7px;
    margin: 3px 1px;
}

/* TXT */

.txt-section {
    background-color: var(--custom-orange);
    color: var(--custom-white);
    padding: 50px 0;
}

.txt-section-alt {
    background-color: #df9e14;
    color: var(--custom-white);
    padding: 50px 0;
}

.txt-section-white {
    background-color: var(--custom-white);
    color: var(--custom-black);
    padding: 50px 0;
}


/* GALLERY */
.gallery-section {
    padding: 50px 0;
}


/* CONTATTI */

.contatti-section {
  display: flex;
  height: 100vh;
  overflow: hidden;
  flex-wrap: wrap;
  background-color: var(--custom-cyan);
}

.contatti-left,
.contatti-right {
  flex: 1;
  min-width: 50%;
}

.contatti-right {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--custom-white);
  padding: 5%;
}

.contatti-left {
  background-image: url('https://tormararte.it/wp-content/uploads/2025/08/IMG_4669-scaled.jpg');
  background-size: cover;
  background-position: center;
  clip-path: polygon(0% 0%, 75% 0%, 100% 100%, 0% 100%);
}

.contatti-content p {
  margin: 2rem 0;
  color: var(--custom-white);
}

.icon-social {
    max-width: 50px;
    margin-left: 5px;
}

@media (max-width: 768px) {
  .contatti-section {
    flex-direction: column-reverse;
    min-height: 100vh;
  }
  
  .contatti-left {
    clip-path: polygon(100% 100%, 100% 15%, 0 27%, 0 100%);
  }
}