/*
Theme Name: Exotic Hair Doctor Block Theme
Theme URI: https://exotichairdoctor.com
Author: Exotic Hair Doctor of Palm Beach
Author URI: https://exotichairdoctor.com
Description: A custom WordPress block theme for Exotic Hair Doctor of Palm Beach. Features a Caribbean-inspired design system with Playfair Display and Inter typography, custom color palette, and full site editing support.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: exotic-hair-doctor
Tags: block-theme, full-site-editing, custom-menu, e-commerce
*/

/* ================================================
   EXOTIC HAIR DOCTOR — Custom Block Theme Styles
   Caribbean & Tiffany Blue Palette
   ================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties (mirroring theme.json) --- */
:root {
    --caribbean: #00A8C6;
    --caribbean-dark: #0088A3;
    --tiffany: #0ABAB5;
    --tiffany-light: #7FDBDA;
    --tiffany-pale: #E8F8F8;
    --ocean: #0077A8;
    --sand: #F7FBFB;
    --warm-white: #FFFFFF;
    --charcoal: #1A2B2E;
    --soft-gray: #5A6B6E;
    --light-gray: #D4E8E8;
    --deep-teal: #0D4F5B;
    --accent: #00A8C6;
    --gold: #0ABAB5;
    --gold-dark: #008B8B;
    --cream: #E8F8F8;
    --deep-brown: #0D4F5B;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow: 0 4px 20px rgba(0, 119, 168, 0.1);
    --radius: 12px;
}

/* --- Base Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--warm-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

ul, ol {
    list-style: none;
}

/* ================================================
   HEADER / NAVIGATION
   ================================================ */

.header-inner,
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--light-gray);
}

.site-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

/* Navigation link styling */
.wp-block-navigation .wp-block-navigation-item__content {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--soft-gray);
    transition: color 0.2s ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content.current-menu-item {
    color: var(--charcoal);
}

/* ================================================
   BUTTONS
   ================================================ */

.btn-primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-block-button__link {
    background: var(--tiffany) !important;
    color: #fff !important;
    border: 2px solid var(--tiffany) !important;
    border-radius: 50px !important;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    padding: 0.85rem 1.6rem !important;
    font-size: 0.9rem !important;
}

.btn-primary .wp-block-button__link:hover,
.wp-block-button.btn-primary .wp-block-button__link:hover {
    background: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
}

.btn-secondary .wp-block-button__link,
.wp-block-button.btn-secondary .wp-block-button__link {
    background: var(--deep-brown) !important;
    color: #fff !important;
    border: 2px solid var(--deep-brown) !important;
    border-radius: 50px !important;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.25s ease;
    padding: 0.85rem 1.6rem !important;
    font-size: 0.9rem !important;
}

.btn-secondary .wp-block-button__link:hover,
.wp-block-button.btn-secondary .wp-block-button__link:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
}

.btn-sm .wp-block-button__link,
.wp-block-button.btn-sm .wp-block-button__link {
    padding: 0.55rem 1.15rem !important;
    font-size: 0.82rem !important;
}

.btn-outline-light .wp-block-button__link,
.wp-block-button.btn-outline-light .wp-block-button__link {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 50px !important;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.25s ease;
    padding: 0.85rem 1.6rem !important;
    font-size: 0.9rem !important;
}

.btn-outline-light .wp-block-button__link:hover,
.wp-block-button.btn-outline-light .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* ================================================
   HERO SECTIONS
   ================================================ */

.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0D4F5B 0%, #0077A8 45%, #00A8C6 100%);
    color: #fff;
    overflow: hidden;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

/* ================================================
   PAGE HERO (Inner Pages)
   ================================================ */

.page-hero {
    background: linear-gradient(135deg, #0D4F5B, #0077A8);
    color: #fff;
    padding: 3.5rem 0 2.5rem;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    margin-bottom: 0.5rem;
}

.page-hero p {
    opacity: 0.85;
}

/* ================================================
   WELCOME CTA SECTION
   ================================================ */

.welcome-cta {
    background: linear-gradient(135deg, #0D4F5B 0%, #0077A8 50%, #00A8C6 100%);
    color: #fff;
    text-align: center;
}

.welcome-title {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.welcome-sub {
    font-size: 1.05rem;
    opacity: 0.92;
    margin-bottom: 1.75rem;
    line-height: 1.65;
}

/* ================================================
   IMAGES
   ================================================ */

.evelyn-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: top center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.about-photo-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.about-photo-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================================
   FOOTER
   ================================================ */

.footer-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
    background: #fff;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
}

.wp-block-columns .wp-block-column a:hover {
    color: var(--gold) !important;
}

/* ================================================
   HOURS LIST
   ================================================ */

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.hours-list li:last-child {
    border-bottom: none;
}

/* ================================================
   CONTENT AREA
   ================================================ */

.wp-block-post-content p {
    color: var(--soft-gray);
    margin-bottom: 1.15rem;
    font-size: 1rem;
    line-height: 1.7;
}

.wp-block-post-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--charcoal);
}

.wp-block-post-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

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

@media (max-width: 900px) {
    .hero {
        min-height: 70vh;
    }

    .site-logo img {
        height: 42px;
    }

    .footer-logo img {
        height: 46px;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 65vh;
    }

    .page-hero {
        padding: 2.5rem 0 2rem;
    }

    .welcome-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
    }

    .wp-block-columns {
        flex-direction: column;
    }
}

/* ================================================
   SIGNATURE STYLE
   ================================================ */

.signature {
    font-family: var(--font-display) !important;
    font-size: 1.25rem !important;
    color: var(--charcoal) !important;
    margin-top: 1.5rem !important;
}
