/*
Theme Name: Lucia Human Design
Theme URI: https://lucia.alnona.com
Author: Renaud
Author URI: https://lucia.alnona.com
Description: A simple, elegant WordPress theme for Human Design coaching. Multi-language ready with Polylang support.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lucia-theme
*/

/* ============================================
   IMPORT GOOGLE FONTS - EARTH ALCHEMY REFINED
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Lora:wght@400;500;600;700&family=Caveat:wght@400;500;600;700&display=swap');

/* ============================================
   COLOR VARIABLES - NATURAL EARTH TONES
   ============================================ */
:root {
    --primary-color: #8b7355;        /* Warm brown/tan earth tone */
    --secondary-color: #c8956d;      /* Terra cotta/warm beige */
    --accent-color: #7a8450;         /* Sage green earth tone */
    --text-dark: #3d3026;            /* Deep brown text */
    --text-light: #6b5d52;           /* Muted brown text */
    --background-light: #f7f4f0;     /* Warm off-white */
    --white: #FFFFFF;
    --gray-light: #ebe6e0;           /* Warm gray */
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--background-light);
}

/* Homepage: Apply consistent container margins to all sections except the first (hero) */
/* Ensure all homepage sections have the same max-width and margins as other pages (900px like page.php) */
.home .services-phi > *,
.home .featured-phi > *,
.home .podcast-phi > *,
.home .testimonials-phi > *,
.home .entry-content > *:not(:first-child) > *,
.home .entry-content > section:not(:first-child) > *,
.home .entry-content > div:not(:first-child) > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Also apply container constraints to blog-grid and headings */
.home .blog-grid,
.home .entry-content .blog-grid,
.home .entry-content h2,
.home .entry-content h3 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Apply container to any wrapper sections on homepage (except hero) */
.home .entry-content > section:not(:first-child),
.home .entry-content > div:not(:first-child):not(.hero-cover) {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Force all content elements on homepage (except hero) to be contained within 900px */
.home .entry-content > *:not(:first-child) {
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Mulish', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 10px;
}

.language-switcher a {
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 14px;
}

.language-switcher a.current-lang {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-color);
    cursor: pointer;
}

/* ============================================
   HERO SECTION - EARTH ALCHEMY REFINED
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--background-light) 0%, #fdfcfa 50%, var(--white) 100%);
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 149, 109, 0.1) 0%, transparent 70%);
    border-radius: 50% 40% 60% 50%;
    animation: organic-float 15s ease-in-out infinite;
    pointer-events: none;
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================
   BUTTONS - ORGANIC EARTH ALCHEMY
   ============================================ */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 60px;
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9a7f61 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(139, 115, 85, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 rgba(139, 115, 85, 0);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 115, 85, 0.2);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--background-light) 100%);
    padding: 45px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(61, 48, 38, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 115, 85, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(200, 149, 109, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(61, 48, 38, 0.15);
    border-color: rgba(139, 115, 85, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
    margin: 20px 0;
}

.about-text li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.about-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================================
   TESTIMONIALS SECTION - EARTH ALCHEMY REFINED
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
    padding: 45px 40px;
    border-radius: 25px;
    box-shadow: 0 10px 35px rgba(61, 48, 38, 0.08);
    position: relative;
    border: 1px solid rgba(200, 149, 109, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover::after {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(61, 48, 38, 0.14);
    border-color: rgba(200, 149, 109, 0.3);
}

.testimonial-card:before {
    content: "\201C";
    font-size: 6rem;
    color: var(--secondary-color);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: 'Cormorant Garamond', serif;
    opacity: 0.15;
    line-height: 1;
}

.testimonial-text {
    font-family: 'Lora', serif;
    font-style: normal;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-size: 17px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.testimonial-author::before {
    content: '— ';
    color: var(--accent-color);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    margin-top: 40px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h2,
.footer-section h3,
.footer-section h4,
.footer-section h5,
.footer-section h6 {
    color: var(--white);
    margin-bottom: 20px;
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ============================================
   ORGANIC SECTION DIVIDERS - EARTH ALCHEMY
   ============================================ */
.section-divider {
    width: 100%;
    height: 80px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-divider::after {
    content: '\2022';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-color);
    font-size: 24px;
}

/* Organic blob background accents */
.organic-bg {
    position: relative;
    overflow: hidden;
}

.organic-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 149, 109, 0.08) 0%, transparent 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: organic-float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.organic-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(122, 132, 80, 0.06) 0%, transparent 70%);
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    animation: organic-float-reverse 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes organic-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes organic-float-reverse {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-30px, 30px) rotate(-120deg);
    }
    66% {
        transform: translate(20px, -20px) rotate(-240deg);
    }
}

/* Ensure content is above organic backgrounds */
.organic-bg > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .menu-toggle {
        display: block;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.bg-light {
    background-color: var(--background-light);
}

.mt-4 { margin-top: 40px; }
.mb-4 { margin-bottom: 40px; }
.py-5 { padding-top: 50px; padding-bottom: 50px; }
/* ============================================
   PHI DANG STYLE HOMEPAGE - ADDITIONAL STYLES
   ============================================ */

/* Add this to your style.css after the existing styles */

/* HERO SECTION - Phi Style */
.hero-phi {
    padding: 100px 0;
}

.hero-grid-phi {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 80px;
    align-items: center;
}

.hero-image-phi img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.hero-text-phi h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-description-phi {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0;
}

/* SERVICES SECTION - Three Cards */
.services-phi {
    padding: 80px 0;
}

.services-grid-phi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card-phi {
    position: relative;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-card-phi:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card-phi img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.service-card-phi h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 40px 30px 30px;
    margin: 0;
    font-size: 1.8rem;
}

/* FEATURED CONTENT SECTION - Book/Program */
.featured-phi {
    padding: 100px 0;
    background-color: var(--background-light);
}

.featured-grid-phi {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 80px;
    align-items: center;
}

.featured-image-phi img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.featured-text-phi h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.featured-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* PODCAST/BLOG SECTION */
.podcast-phi {
    padding: 100px 0;
}

.podcast-grid-phi {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 80px;
    align-items: center;
}

.podcast-text-phi h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.podcast-description {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 600;
    margin-bottom: 20px;
}

.podcast-text-phi p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.podcast-image-phi img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* TESTIMONIALS SECTION - Image Cards */
.testimonials-phi {
    padding: 100px 0;
}

.testimonials-phi h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.testimonials-grid-phi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.testimonial-card-phi {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.testimonial-card-phi:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.testimonial-card-phi img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-grid-phi,
    .featured-grid-phi {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .podcast-grid-phi {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid-phi {
        grid-template-columns: 1fr;
    }
    
    .service-card-phi img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-phi {
        padding: 60px 0;
    }
    
    .hero-text-phi h1 {
        font-size: 2rem;
    }
    
    .hero-description-phi {
        font-size: 1.1rem;
    }
    
    .featured-phi,
    .podcast-phi,
    .testimonials-phi {
        padding: 60px 0;
    }
    
    .featured-text-phi h2,
    .podcast-text-phi h2,
    .testimonials-phi h2 {
        font-size: 2rem;
    }
    
    .featured-image-phi img {
        max-width: 100%;
    }
    
    .testimonials-grid-phi {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card-phi img {
        height: 400px;
    }
}

/* UTILITY CLASSES FOR PHI STYLE */
.section-light {
    background-color: var(--background-light);
}

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

/* ENHANCED BUTTON STYLES FOR CLEAN LOOK */
.btn {
    font-size: 15px;
    padding: 14px 32px;
    letter-spacing: 0.5px;
}

/* CLEAN SPACING */
section {
    position: relative;
}

.container {
    max-width: 1200px;
}

/* SUBTLE ANIMATIONS */
.hero-image-phi img,
.featured-image-phi img,
.podcast-image-phi img {
    transition: transform 0.3s ease;
}

.hero-image-phi:hover img,
.featured-image-phi:hover img,
.podcast-image-phi:hover img {
    transform: scale(1.02);
}

/* ========================================
   FIX HEADER & LANGUAGE SWITCHER
   ======================================== */

/* Header layout - everything in one line */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Navigation with language switcher on the right */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: flex-end;
}

/* Menu items */
.main-navigation ul {
    display: flex !important;
    list-style: none !important;
    gap: 30px;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
}

.main-navigation li {
    display: inline-block !important;
    list-style: none !important;
}

/* Language switcher on the right */
.language-switcher {
    display: flex !important;
    gap: 10px;
    align-items: center;
    margin-left: 30px;
    list-style: none !important;
}

.language-switcher ul {
    display: flex !important;
    gap: 10px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.language-switcher li {
    display: inline-block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.language-switcher a {
    display: block;
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
}

.language-switcher a.current-lang,
.language-switcher .current-lang a {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ========================================
   REMOVE UNWANTED LIST BULLETS
   ======================================== */

/* Remove bullets from all content lists by default */
.page-content ul:not(.styled-list),
.entry-content ul:not(.styled-list),
.post-content ul:not(.styled-list) {
    list-style: none;
    padding-left: 0;
}

/* Remove bullets from navigation */
nav ul,
nav li,
.menu ul,
.menu li,
header ul,
header li {
    list-style: none !important;
    padding: 0 !important;
}

/* Add this class to lists where you WANT bullets */
.styled-list {
    list-style: disc !important;
    padding-left: 30px !important;
}

.styled-list li {
    list-style: disc !important;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    /* Hide desktop navigation on mobile */
    .main-navigation {
        display: none !important;
    }

    /* Show mobile navigation when active */
    .main-navigation.active {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 999;
    }

    .main-navigation.active ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 15px;
    }
}

/* ============================================
   HERO COVER SECTION - FULL WIDTH BANNER
   Inspired by phidang.com
   ============================================ */

.hero-cover {
    position: relative;
    min-height: 940px;
    background: linear-gradient(135deg, var(--background-light) 0%, #FAF9F7 50%, var(--white) 100%);
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
}

/* Optional background image overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    opacity: 0.05;
    z-index: 0;
}

.hero-cover .container {
    position: relative;
    z-index: 1;
}

/* Two-column grid layout (56% / 44% split like phidang.com) */
.hero-cover-grid {
    display: grid;
    grid-template-columns: 56% 44%;
    gap: 80px;
    align-items: center;
}

/* Hero Content (Left Side) */
.hero-cover-content {
    padding-right: 40px;
}

.hero-cover-title {
    font-family: 'Mulish', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark); /* Natural earth tone */
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hero-cover-subtitle {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--primary-color); /* Warm brown earth tone */
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cover-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero Image (Right Side) */
.hero-cover-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cover-image img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-cover-image img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.hero-placeholder {
    width: 100%;
    min-height: 500px;
    background: var(--gray-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-color);
}

.hero-placeholder p {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 100px 0;
    text-align: center;
}

.contact-cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-cta-section .hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Section Description */
.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ============================================
   RESPONSIVE DESIGN FOR HERO COVER
   ============================================ */

@media (max-width: 1200px) {
    .hero-cover-title {
        font-size: 3.5rem;
    }

    .hero-cover-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .hero-cover {
        min-height: 800px;
        padding: 80px 0;
    }

    .hero-cover-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-cover-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-cover-title {
        font-size: 3rem;
    }

    .hero-cover-subtitle {
        font-size: 1.3rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cover-cta {
        justify-content: center;
    }

    .hero-cover-image {
        min-height: 400px;
        order: -1; /* Move image above text on mobile */
    }
}

@media (max-width: 768px) {
    .hero-cover {
        min-height: 700px;
        padding: 60px 0;
    }

    .hero-cover-title {
        font-size: 2.5rem;
    }

    .hero-cover-subtitle {
        font-size: 1.2rem;
    }

    .hero-cover-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cover-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-cover-image {
        min-height: 350px;
    }

    .hero-cover-image img {
        max-height: 500px;
    }

    .contact-cta-section h2 {
        font-size: 2.2rem;
    }

    .services-phi,
    .featured-phi,
    .testimonials-phi,
    .contact-cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-cover-title {
        font-size: 2rem;
    }

    .hero-cover-subtitle {
        font-size: 1.1rem;
    }

    .hero-cover {
        min-height: auto;
    }
}

/* ============================================
   BEAUTIFUL QUOTE STYLING - HANDWRITTEN
   ============================================ */

/* WordPress Gutenberg quote blocks */
.wp-block-quote,
blockquote {
    position: relative;
    margin: 60px auto;
    padding: 40px 20px;
    max-width: 900px;
    background: none;
    border: none;
    text-align: center;
}

/* Remove default background if user added one */
.wp-block-quote p.has-background {
    background-color: transparent !important;
    background: transparent !important;
}

/* Quote icon before - decorative quotation marks */
.wp-block-quote:before,
blockquote:before {
    content: "\201C";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 100px;
    line-height: 1;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

/* Quote text - handwriting font */
.wp-block-quote p,
blockquote p {
    font-family: 'Caveat', cursive !important;
    font-size: 2rem !important;
    line-height: 1.6 !important;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    font-style: normal !important;
    margin: 0 !important;
    position: relative;
    z-index: 1;
}

/* Quote citation/author */
.wp-block-quote cite,
blockquote cite {
    display: block;
    margin-top: 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    font-style: normal;
    color: var(--primary-color);
    text-align: center;
}

.wp-block-quote cite:before,
blockquote cite:before {
    content: "— ";
}

/* Alternative large quote style */
.wp-block-quote.is-style-large,
.wp-block-quote.is-large {
    text-align: center;
    padding: 60px 40px;
}

.wp-block-quote.is-style-large:before,
.wp-block-quote.is-large:before {
    font-size: 120px;
    top: -30px;
}

.wp-block-quote.is-style-large p,
.wp-block-quote.is-large p {
    font-size: 2.5rem !important;
}

.wp-block-quote.is-style-large cite,
.wp-block-quote.is-large cite {
    text-align: center;
    font-size: 1.1rem;
}

/* Responsive quote styling */
@media (max-width: 768px) {
    .wp-block-quote,
    blockquote {
        padding: 30px 15px;
        margin: 40px 20px;
    }

    .wp-block-quote:before,
    blockquote:before {
        font-size: 70px;
        top: -15px;
    }

    .wp-block-quote p,
    blockquote p {
        font-size: 1.6rem !important;
    }

    .wp-block-quote cite,
    blockquote cite {
        font-size: 0.95rem;
        margin-top: 20px;
    }

    .wp-block-quote.is-style-large,
    .wp-block-quote.is-large {
        padding: 40px 20px;
    }

    .wp-block-quote.is-style-large:before,
    .wp-block-quote.is-large:before {
        font-size: 80px;
    }

    .wp-block-quote.is-style-large p,
    .wp-block-quote.is-large p {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 480px) {
    .wp-block-quote,
    blockquote {
        padding: 25px 10px;
        margin: 30px 10px;
    }

    .wp-block-quote:before,
    blockquote:before {
        font-size: 60px;
        top: -12px;
    }

    .wp-block-quote p,
    blockquote p {
        font-size: 1.4rem !important;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

.breadcrumbs span {
    margin: 0 8px;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 13px;
        padding: 10px 0;
    }
}

/* ============================================
   FOOTER MENU
   ============================================ */
.footer-menu {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .footer-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ============================================
   ENHANCED MOBILE TAP TARGETS
   ============================================ */
@media (max-width: 768px) {
    /* Larger tap targets for mobile */
    .btn {
        min-height: 48px;
        padding: 15px 30px;
        font-size: 16px;
    }

    /* Mobile menu improvements */
    .main-navigation.active a {
        display: block;
        padding: 15px 20px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    /* Language switcher on mobile */
    .language-switcher a {
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Form inputs */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents iOS zoom */
        min-height: 48px;
        padding: 12px 15px;
    }

    /* Blog cards */
    .blog-card,
    .service-card,
    .testimonial-card {
        margin-bottom: 20px;
    }

    /* Improve touch scrolling */
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent text size adjustment */
    html {
        -webkit-text-size-adjust: 100%;
    }
}

/* ============================================
   RECENT BLOG POSTS - 3 COLUMN GRID LAYOUT
   Inspired by phidang.com blog section
   ============================================ */

/* Blog Posts Grid Container */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

/* Individual Blog Post Card */
.blog-post-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
}

/* Blog Post Thumbnail */
.blog-post-thumbnail-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.blog-post-thumbnail {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.blog-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-thumbnail img {
    transform: scale(1.05);
}

/* Blog Post Text Content */
.blog-post-text {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-post-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 15px 0;
    padding: 0;
    color: var(--text-dark);
}

/* Override homepage container padding for blog post titles */
.home .entry-content .blog-post-title,
.home .blog-posts-grid .blog-post-title {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.blog-post-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: var(--primary-color);
}

/* Read More Link */
.blog-post-read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: auto;
    display: inline-block;
    transition: color 0.3s ease;
}

.blog-post-read-more:hover {
    color: var(--accent-color);
}

/* Responsive Design for Blog Grid */

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-post-thumbnail {
        height: 250px;
    }
}