/*
 Theme Name: Fiorlevante Theme
 Theme URI: https://example.com/fiorlevante-theme/
 Description: My custom WordPress theme built from scratch.
 Author: Your Name
 Author URI: https://example.com
 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: fiorlevante-theme
 Tags: custom-theme, blank
*/

:root {
    --c-gold: #eabe7c;
    --c-lilac: #cd96cc;
    --c-green: #11691d;
    --c-blue: #3e70e6;
    --c-light: #f8f5f1;
    --c-dark: #2c2c2c;
}

body {
    font-family: "Comfortaa", sans-serif;
    font-weight: 300;
    color: var(--c-dark);
    background-color: var(--c-light);
    transition: background-color 0.5s ease;
}

/* :: Base Styles :: */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    color: var(--c-green);
}

.section {
    padding: 120px 0;
    overflow: hidden;
}

.lead {
    font-weight: 300;
    font-size: 1.25rem;
}

/* :: Navigation & Menu :: */
.navbar {
    padding: 1.5rem 2rem;
}

.menu-toggle {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 1051;
    transition: all 0.4s ease-in-out;
    color: var(--c-green);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.menu-toggle:hover{
    transform: scale(1.1);
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, var(--c-gold), var(--c-lilac), var(--c-blue));
    background-size: 400% 400%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1050;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.fullscreen-menu .nav-link {
    color: white;
    font-size: clamp(1.8rem, 5vw, 3rem); /* Responsive font size */
    margin: 0.5rem 0;
    font-weight: 200;
    transition: color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.fullscreen-menu .nav-link:hover {
    color: var(--c-dark);
    transform: translateX(10px);
}

/* :: Top Section (Hero) :: */
.top-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
}
.top-left-panel {
    flex-basis: 55%;
    /* background-color: var(--c-light); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
}
.top-right-panel {
    flex-basis: 45%;
    background-image: url('./assets/img/logo.png');
    background-size: auto 65%;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
}
.top-left-panel h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--c-dark);
    line-height: 1.1;
}
.top-left-panel .brand-color {
    color: var(--c-lilac);
}
.top-left-panel .tagline {
    font-size: 1.5rem;
    color: var(--c-green);
    font-weight: 300;
    margin-top: 1rem;
    border-left: 3px solid var(--c-gold);
    padding-left: 1.5rem;
}

/* :: About Section :: */
#about {
    background-color: var(--c-gold);
    color: white;
}
#about h2 {
    color: white;
    font-weight: 700;
}
.about-wrapper {
    position: relative;
}
.about-text {
    background-color: var(--c-gold);
    padding: 3rem;
    position: relative;
    z-index: 2;
}
.about-image {
    width: 80%;
    border: 15px solid var(--c-light);
    box-shadow: -20px -20px 0px 0px var(--c-lilac);
}

/* :: What We Do Section :: */
#what-we-do {
    background-color: var(--c-light);
}
.service-card {
    background-color: #ffffff;
    border: 1px solid #eee;
    padding: 2.5rem;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.service-card i {
    font-size: 3rem;
    color: var(--c-blue);
}
.service-card h3 {
    color: var(--c-blue);
    margin-top: 1.5rem;
}
.specialty-section {
    background: linear-gradient(to right, var(--c-green), #1a8a2a);
    color: white;
    padding: 5rem 2rem;
    border-radius: 15px;
    margin-top: 100px;
}
.specialty-section h2, .specialty-section h3, .specialty-section h4 {
    color: white;
}

/* :: Contact Section :: */
#contact {
    background-color: var(--c-lilac);
}
#contact h2, #contact .lead {
    color: white;
}
.form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.form-label {
    font-weight: 400;
    color: var(--c-green);
}
.form-control, .form-select {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--c-blue);
    box-shadow: 0 0 0 0.2rem rgba(62, 112, 230, 0.25);
}
.form-check-input {
    border-color: var(--c-gold);
}
.form-check-input:checked {
    background-color: var(--c-gold);
    border-color: var(--c-gold);
}
.btn-submit {
    background-color: var(--c-green);
    color: white;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--c-green);
}
.btn-submit:hover {
    background-color: white;
    color: var(--c-green);
}

/* :: Footer :: */
footer {
    background-color: var(--c-dark);
    color: #ccc;
    padding: 3rem 0;
    text-align: center;
}

/* :: Responsive Adjustments :: */
@media (max-width: 992px) {
    .top-section { flex-direction: column; }
    .top-left-panel { flex-basis: auto; min-height: 50vh; text-align: center;}
    .top-right-panel { flex-basis: auto; min-height: 50vh; }
    .top-left-panel .tagline { margin-right: auto; margin-left: auto; border: none; border-top: 3px solid var(--c-gold); padding: 1rem 0 0 0;}
    .about-image { display: none; } /* Hide complex image layout on medium screens and below for simplicity */
    .about-text { padding: 2rem; }



    .fullscreen-menu .nav-link {
        font-size: clamp(1.3rem, 5vw, 3rem); /* Responsive font size */
        margin: 1.5rem 0;
        font-weight: 200;        
    }
}


.wpcf7-list-item {
    display: inline;
    margin: 10px;
}

.wpcf7-list-item-label {
    padding-left: 5px!important;
}

.wpcf7 textarea.textarea-fullwidth {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  display: block;
  resize: vertical; /* optional */
}

