/*
Theme Name: Psychologist Site
Author: Tabirca Carmen-Liliana
Description: Modernized styles inspired by Tabirca Carmen-Liliana
Template: twentytwentyfive
Version: 1.0
*/


/* ----------- IMPORTS ----------- */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&family=Lora:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Roboto:wght@300;400&display=swap');

/* ----------- VARIABLES ----------- */
:root {
    --color-text: #000000;
    --color-bg-cream: #F5F5F0;
    --color-bg-light: #FFFDF8;
    --color-accent-beige: #D4B996;
    --color-accent-gold: #E6C68A;
    --color-brown-gray: #4A4033;
    --color-accent-blue: #A3BFFA;
}

@media screen {
        html {
            margin-top: 0px !important;
        }
    }
/* ----------- RESET ----------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ----------- BASE STYLES ----------- */
body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background-color: var(--color-bg-cream);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
}

/* ----------- TYPOGRAPHY ----------- */
h1, h2, h3 {
    font-family: 'Lora', serif;
    color: var(--color-brown-gray);
    font-weight: 700;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 0.8em;
}

h2 {
    font-size: 2em;
    margin-bottom: 1em;
}

p {
    font-size: 1.1em;
}

a {
    color: var(--color-accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #8AA7E0;
}

/* ----------- CONTAINER ----------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2em;
    width: 100%;
}

/* ----------- HEADER ----------- */
.site-header {
    background-color: var(--color-bg-light);
    padding: 2em 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
}

.site-logo .logo-image {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo .logo-image:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
}
.nav-menu li {
    margin-bottom: 2em; /* adjust the value for more/less space */
}

.nav-menu li:last-child {
    margin-bottom: 0; /* remove extra space after last item */
}

.nav-menu li a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.1em;
    color: var(--color-brown-gray);
    padding: 0.5em 1em;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu li a:hover {
    background-color: var(--color-accent-beige);
    color: var(--color-bg-light);
}

.menu-toggle {
    display: none;
    font-size: 1.8em;
    background: none;
    border: none;
    color: var(--color-brown-gray);
    cursor: pointer;
    padding: 0.5em;
}

/* ----------- BANNER SECTION ----------- */
.banner-section {
    background: linear-gradient(#d4b996, #8c7e64);
    padding: 4em 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.banner-logo {
    position: relative;
    z-index: 2;
    max-height: 350px;
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: zoomInOut 1s ease-out forwards;
}

.banner-logo:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

/* ----------- SECTIONS ----------- */
section {
    padding: 4em 0;
    margin-bottom: 2em;
    border-radius: 12px;
}

.welcome-section {
    background-color: var(--color-bg-light);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.welcome-section h1 {
    font-size: 3em;
    letter-spacing: -0.02em;
}

.welcome-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    color: var(--color-text);
}

.welcome-section strong {
    color: var(--color-accent-beige);
}

.services-section {
    background-color: var(--color-bg-cream);
    border: 2px solid var(--color-accent-gold);
    text-align: center;
}

.services-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
    padding: 1em;
}

.services-section li {
    background-color: var(--color-bg-light);
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-section li:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-section {
    background-color: var(--color-accent-gold);
    text-align: center;
    padding: 3em 1em;
}

.contact-section p {
    font-size: 1.2em;
    margin: 0.5em 0;
}

.contact-section a {
    font-weight: 500;
    padding: 0.5em 1em;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.contact-section a:hover {
    background-color: var(--color-accent-beige);
    color: var(--color-bg-light);
}

/* ----------- FOOTER ----------- */
.site-footer {
    background-color: #4A4033;
    color: #EDEDED;
    padding: 2em 0;
    border-top: 2px solid var(--color-accent-gold);
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 2em;
    margin-bottom: 1em;
}

.footer-legacy,
.footer-contact {
    flex: 1;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1em;
}

.footer-contact h3 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

.footer-contact p {
    font-size: 1em;
    margin: 0.25em 0;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.footer-contact a {
    color: #EDEDED;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-accent-gold);
}

.contact-icon {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 0.9em;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    color: #EDEDED;
}

.footer-copyright {
    font-size: 0.9em;
    text-align: center;
    margin: 0;
    padding-top: 1em;
    border-top: 1px solid #EDEDED;
}

/* ----------- HOME PAGE - SERVICE SECTION ----------- */
.services-section ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
    padding: 1em;
}

.services-section li {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.service-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay {
    position: relative;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 1em;
    transition: background 0.3s ease;
}

.overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.services-section h3 {
    color: #fff;
}

/* ----------- HOME PAGE - CONTACT ----------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-text {
    font-family: 'Lora', serif;
    font-size: 1.2em;
    color: var(--color-brown-gray);
    line-height: 1.8;
    padding: 1.5em;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    border-left: 4px solid var(--color-accent-beige);
    position: relative;
    overflow: hidden;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-text {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.contact-text p {
    margin: 0;
}

.contact-text.visible {
    opacity: 1;
}

.contact-form {
    max-width: 600px;
    padding: 2em;
    background-color: #4A4033;
    color: #EDEDED;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.wpforms-field {
    margin-bottom: 1.5em;
}

.wpforms-field-label {
    font-size: 0.9em;
    color: #cfcfcf;
    margin-bottom: 0.25em;
    display: none;
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field textarea {
    width: 100%;
    background-color: #3B3329;
    border: 1px solid #5c5043;
    border-radius: 4px;
    padding: 0.75em 1em;
    color: #EDEDED;
    font-size: 1em;
    transition: border-color 0.3s, background-color 0.3s;
}

.wpforms-field input[type="text"]:focus,
.wpforms-field input[type="email"]:focus,
.wpforms-field textarea:focus {
    border-color: var(--color-accent-gold);
    outline: none;
    background-color: #4A4033;
}

.wpforms-field input::placeholder,
.wpforms-field textarea::placeholder {
    color: #aaa;
    font-style: italic;
}

.wpforms-field textarea {
    min-height: 120px;
    resize: vertical;
}

.wpforms-submit {
    background-color: var(--color-accent-gold);
    color: #4A4033;
    border: none;
    padding: 0.75em 2em;
    font-size: 1em;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpforms-submit:hover {
    background-color: #d4b254;
}

.wpforms-submit-container {
    display: flex;
    align-items: center;
    gap: 1em;
}

.wpforms-submit-spinner {
    width: 24px;
    height: 24px;
}

.wpforms-error-noscript,
#wpforms-error-noscript {
    background: none;
    color: var(--color-accent-gold);
    font-size: 0.9em;
    text-align: center;
    padding: 0.5em 0;
}

.wpforms-label-hide {
    display: none;
}

.wpforms-required-label {
    color: var(--color-accent-gold);
    font-weight: bold;
}

.wpforms-container {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

/* ----------- ABOUT PAGE STYLES ----------- */
.about-page {
    background-color: var(--color-bg-cream);
}

.about-hero {
    background: linear-gradient(to bottom, var(--color-accent-beige), var(--color-bg-cream));
    padding: 5em 0 3em;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background-color: var(--color-accent-gold);
    color: var(--color-brown-gray);
    font-size: 0.9em;
    font-weight: 500;
    padding: 0.5em 1.5em;
    border-radius: 20px;
    margin-bottom: 1em;
}

.about-title {
    font-size: 3.5em;
    margin-bottom: 0.5em;
}

.about-subtitle {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto 1.5em;
    color: var(--color-text);
}

.btn-cta {
    display: inline-block;
    background-color: var(--color-accent-gold);
    color: #4A4033;
    font-weight: 600;
    padding: 0.75em 2em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background-color: #d4b254;
    color: #4A4033;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 60" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 60V0C360 45 720 45 1080 30C1260 22.5 1440 45 1440 60H0Z" fill="%23FFFDF8"/></svg>') no-repeat bottom;
    background-size: cover;
}

.about-intro {
    background-color: var(--color-bg-light);
    text-align: center;
}

.lead {
    max-width: 800px;
    margin: 0 auto;
}

.lead p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.pull-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.5em;
    color: var(--color-accent-beige);
    max-width: 600px;
    margin: 2em auto;
    padding: 1em;
    border-left: 4px solid var(--color-accent-gold);
}

.about-bio {
    background-color: var(--color-bg-cream);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    align-items: center;
}

.bio-text {
    padding: 2em;
}

.eyebrow {
    font-size: 1em;
    color: var(--color-accent-beige);
    font-weight: 500;
    margin-bottom: 1em;
}

.highlight {
    background-color: var(--color-bg-light);
    padding: 1.5em;
    border-radius: 8px;
    margin: 1.5em 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bio-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-method {
    background-color: var(--color-bg-light);
    text-align: center;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    margin: 1.5em 0;
}

.chip {
    background-color: var(--color-accent-beige);
    color: var(--color-brown-gray);
    padding: 0.5em 1.2em;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
    margin-top: 2em;
}

.card {
    background-color: var(--color-bg-cream);
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-cta {
    background: linear-gradient(to bottom, var(--color-bg-light), var(--color-accent-gold));
    text-align: center;
    padding: 3em 0;
}

.about-cta p {
    max-width: 700px;
    margin: 0 auto 1.5em;
    font-size: 1.2em;
}

/* ----------- REVEAL ANIMATIONS ----------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="100"] {
    transition-delay: 0.1s;
}

[data-reveal-delay="120"] {
    transition-delay: 0.12s;
}

[data-reveal-delay="140"] {
    transition-delay: 0.14s;
}

[data-reveal-delay="160"] {
    transition-delay: 0.16s;
}

[data-reveal-delay="180"] {
    transition-delay: 0.18s;
}

[data-reveal-delay="200"] {
    transition-delay: 0.2s;
}

[data-reveal-delay="220"] {
    transition-delay: 0.22s;
}

[data-reveal-delay="240"] {
    transition-delay: 0.24s;
}

[data-reveal-delay="260"] {
    transition-delay: 0.26s;
}

[data-reveal-delay="280"] {
    transition-delay: 0.28s;
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background-color: var(--color-bg-light);
        position: absolute;
        right: 0;
        top: 100%;
        width: 100%;
        max-width: 300px;
        padding: 1.5em;
        border: 2px solid var(--color-accent-gold);
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active .nav-menu {
        display: flex;
    }

    .nav-menu li a {
        font-size: 1.2em;
        padding: 0.8em;
    }

    .banner-logo {
        max-height: 250px;
    }

    .banner-section {
        padding: 2em 0;
    }

    .welcome-section h1 {
        font-size: 2em;
    }

    .welcome-section p {
        font-size: 1em;
    }

    .services-section ul {
        grid-template-columns: 1fr;
    }

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 1em;
    }

    .footer-contact p {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1em;
    }

    .contact-text {
        font-size: 1em;
        padding: 1em;
    }

    .about-hero {
        padding: 3em 0 2em;
    }

    .about-title {
        font-size: 2.5em;
    }

    .about-subtitle {
        font-size: 1.1em;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .bio-text {
        padding: 1em;
    }

    .card-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-logo .logo-image {
        height: 48px;
    }

    .banner-logo {
        max-height: 120px;
    }

    .welcome-section {
        padding: 2em 0;
    }

    .services-section li {
        padding: 1em;
    }

    .contact-section {
        padding: 2em 0.5em;
    }

    .about-title {
        font-size: 2em;
    }

    .about-subtitle {
        font-size: 1em;
    }
}
