/*
Theme Name: Claudia Pinto
Theme URI: https://www.graphilandia.it/
Description: Il Tema della dott.ssa Claudia Pinto
Version: 1.0
Author: Graphilandia
Author URI: https://www.graphilandia.it/
*/

/* RESET */
/* Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Cormorant Garamond */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');

:root{
   --blue: #1F2F57;
   --btn-hover: #66778d;
   --gray: #66778C;
   --light-bg: #f9fbfd;
    
    /* height */
    --header-desk-height: 100px;
    --header-mob-height: 100px;

    /* Fonts */
    --title-font: "Cormorant Garamond", serif;
    --text-font: "Montserrat", sans-serif;
}

/* Text font family */
body, p, span, li, a, blockquote { font-family: var(--text-font); }

body.no-scroll {
    overflow: hidden;
}

/* Titles font family */
h1, h2, h3, h4, h5, h6 { font-family: var(--title-font); }

.title-font{font-family: var(--title-font);}
.text-font{font-family: var(--text-font);}

/* Icons */
[class^="dashicons-"], [class*=" dashicons-"], [class^="fa-"], [class*=" fa-"], .fas, .far, .fab, .fal, .fad, .bi, i { font-family: inherit !important; }

/* /RESET */

/* GENERAL */
.ms_page-wrapper{ margin-top: var(--header-desk-height); overflow: hidden; }

.ms_section{ padding: 50px 0; scroll-margin-top: var(--header-desk-height);}

.section-title{ font-size: 5rem; color: var(--blue); font-weight: 600; margin-bottom: 20px; }

.section-text{ font-size: 1.2rem; font-weight: 400; }

.site-row{ display: flex; gap: 20px; }
.site-col-text{ width: calc(60% - 20px); }
.site-col-img{ width: calc(40% - 20px); }

.text-blue{ color: var(--blue); }
.text-gray{ color: var(--gray); }

.text-justify{ text-align: justify; }

.ms_btn-blue{
    display: inline-block;
    text-decoration: none;
    transition: all 200ms linear;
    font-size: 1.25rem;
    font-family: var(--title-font) !important;
    color: white;
    background-color: var(--blue);
    padding: 13px 15px;
    border-radius: 30px;
    font-weight: 400;
    transition: all 200ms linear;
}

.ms_btn-blue:hover{
    background-color: var(--btn-hover);
}

@media screen and (max-width: 1280px) {
    .section-title{font-size: 4rem; line-height: 1em; }
}

@media screen and (max-width: 1024px) {
    .section-text{ font-size: 1rem; }
}

@media screen and (max-width: 769px) {
    .ms_section{ padding: 50px 0 25px 0; scroll-margin-top: var(--header-mob-height) }
    .mob-reversed{ flex-direction: column-reverse }
    .container{ padding: 0 30px !important; }
    .section-text{ font-size: 1.1rem; }
    .section-title{ font-size: 3rem; line-height: 1em; }
    .site-row{ flex-direction: column; }
    .site-col-text, .site-col-img{ width: 100% }
    .mob-center{ display: block; width: fit-content; margin: 0 auto; }
}

/* /GENERAL */

/* HEADER */
.main-header{
    width: 100%;
    height: var(--header-desk-height);
    background-color: white;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--gray);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 990;
}

.header-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img{ display: block; width: 230px; }

.header-navbar{
    ul{
        padding: 0;
        margin: 0;
        list-style-type: none;
        display: flex;
        justify-content: flex-end;
        gap: 35px;

        .header-link{
            color: inherit;
            text-decoration: none;
            transition: all 200ms linear;
            font-size: 1.25rem;
            font-family: var(--title-font) !important;
            font-weight: 400;

            &:hover{
                color: var(--blue);
            }
        }

        .header-link-btn{
            text-decoration: none;
            transition: all 200ms linear;
            font-size: 1.25rem;
            font-family: var(--title-font) !important;
            color: white;
            background-color: var(--blue);
            padding: 13px 15px;
            border-radius: 30px;
            font-weight: 400;
            transition: all 200ms linear;

            &:hover{
                background-color: var(--btn-hover);
            }
        }
    }
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--blue);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 769px) {
    
    .burger-menu {
        display: flex;
    }

    .header-navbar {
        position: fixed;
        top: var(--header-desk-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-desk-height));
        background-color: white;
        padding: 40px 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        border-top: 1px solid var(--gray);
    }

    .header-navbar.active {
        transform: translateX(0);
    }

    .header-navbar ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .header-navbar ul .header-link {
        font-size: 1.5rem;
    }
    
    .burger-menu.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu.open span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}
/* /HEADER */

/* HOME */

/* First section */
#first-section, #first-section-mob{ width: 100%; padding: 100px 0; }

.col-img{
    display: block;
    width: 100%;
    border-radius: 50px;
}

.img-first{ max-width: 100%; margin: 0 auto; }

@media screen and (max-width: 769px) {
    #first-section-mob{ padding: 50px 0 25px 0; }
}
/* /First section */

/* Cards */
.cp-card{ 
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    height: 400px;
    border-radius: 30px;
    box-shadow: 0 3px 9px 0 #00000070;
    position: relative;
    overflow: hidden;

    .cp-card-icon{ display: block; margin-bottom: 1rem; transition: all 400ms linear; }

    .cp-card-inner{
        display: flex;
        flex-direction: column; 
        align-items: center;
        justify-content: flex-start;
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        padding: 2rem; 
        border-radius: 30px;
        position: relative;
    }

    &::before{
        content: '';
        display: block;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background-color: #f8f8f8;
        position: absolute;
        top: 50%;
        left: 50%;
        transition: all 300ms linear;
        z-index: 1;
        transform: translate(-50%, -50%);
        filter: blur(13px);
        opacity: 0;
    }

    &:hover::before{
        opacity: 1;
        width: 100%;
        height: 100%;
        border-radius: 30px;
        bottom: 0;
        right: 0;
    }

    &:hover .cp-card-icon{
        transform: scale(1.05) rotate(5deg);
    }
}

.cp-card-title{ color: var(--blue); font-size: 1.4rem; font-weight: 600; }

.cp-card-text{ font-size: 1.1rem; }

@media screen and (max-width: 1280px) {
    .cp-card{height: 450px;}
}

@media screen and (max-width: 1024px) {
    .cp-card{ height: 500px; }
    .cp-card-inner{ padding: 1rem; }
}

@media screen and (max-width: 769px) {
    .cp-card{ height: fit-content; }
    .cp-card-inner{ padding: 2rem; }
}

/* /Cards */

/* Services */
#servizi{background-size: cover; background-position: center; background-attachment: fixed;}
.services-overlay{ width: 100%; height: 100%; background-color: #142740a3; }

.services{ padding: 30px; background-color: white; }
.services:first-of-type{ border-top-left-radius: 30px; border-top-right-radius: 30px; }
.services:last-of-type{ border-bottom-left-radius: 30px; border-bottom-right-radius: 30px; }
.services:not(:last-of-type){ border-bottom: 1px solid #66778C;}

.services-container{ border-radius: 30px; width: 60%; margin: 20px auto; }

.services-title-wrapper{ display: flex; justify-content: space-between; align-items: center; cursor: pointer; }

.chevron-icon{ width: 1.3rem; transition: all 200ms linear; }
.chevron-icon.opened{ transform: rotate(180deg); }
.services-title{ font-size: 1.3rem; margin: 0 !important }

.services-text{ height: 0; overflow: hidden; /*opacity: 0;*/ }

@media screen and (max-width: 769px) {
    .services-container{ border-radius: 30px; width: 100%; margin: 20px auto; }
}
/* /Services */

/* Contacts */
.psych-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 10px;
  background-color: #ffffff;
}

.psych-form-wrapper .form-group {
  margin-bottom: 35px;
}

.psych-form-wrapper label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--blue);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.psych-form-wrapper input[type="text"],
.psych-form-wrapper input[type="email"],
.psych-form-wrapper textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  background-color: #fff;
  color: var(--blue);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin-top: 10px;
}

.psych-form-wrapper input[type="text"]:focus,
.psych-form-wrapper input[type="email"]:focus,
.psych-form-wrapper textarea:focus {
  outline: none;
  border-color: var(--gray);
  background-color: var(--light-bg);
  box-shadow: 0 4px 12px rgba(31, 47, 87, 0.08);
}

.psych-form-wrapper .checkbox-group {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 10px;
}

.psych-form-wrapper .wpcf7-list-item {
  margin: 0;
}

.psych-form-wrapper input[type="checkbox"] {
  accent-color: var(--blue);
  margin-right: 8px;
  cursor: pointer;
}

.psych-form-wrapper input[type="submit"] {
  background-color: var(--blue);
  color: #ffffff;
  border: none;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
  box-shadow: 0 4px 6px rgba(31, 47, 87, 0.2);
}

.psych-form-wrapper input[type="submit"]:hover {
  background-color: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(102, 119, 140, 0.3);
}

.wpcf7-not-valid-tip {
  color: #d9534f;
  font-size: 0.8rem;
  margin-top: 5px;
}

.wpcf7-response-output {
  border-radius: 8px;
  border: none !important;
  background-color: #f0f4f8;
  color: var(--blue);
  padding: 15px !important;
  margin-top: 20px !important;
  text-align: center;
}

input::placeholder, textarea::placeholder{
    opacity: 0.5;
}

@media (min-width: 768px) {
  .psych-form-wrapper input[type="submit"] {
    width: auto;
    padding: 15px 60px;
  }
}
/* /Contacts */

/* /HOME */

/* FOOTER */
.main-footer{ background-color: var(--blue); padding: 50px 0; }

.footer-logo{ display: block; width: 100px; }

.footer-title{ font-size: 1.3rem; }

.footer-list{ padding: 0; margin: 0; list-style-type: none; }

.footer-icon{ width: 35px; fill: white; vertical-align: middle; margin-right: 10px;}

.footer-link{ transition: all 200ms linear; color: white; }
.no-decor{ text-decoration: none; }
.footer-link:hover{ color: rgb(224, 221, 221); }

.footer-separator{ width: 100%; height: 1px; background-color: white; margin: 10px 0;}

@media screen and (max-width: 769px) {
    .footer-icon{ width: 30px; margin-right: 5px; }
    .footer-logo{ margin: 20px auto; }
    .footer-title{ text-align: center; margin-bottom: 20px; }
    footer .section-text, footer span{ text-align: center; }
}

/* /FOOTER */