/*
Theme Name: Moon & Honey Hijama
Theme URI: https://moonandhoney.ca
Author: Moon & Honey
Author URI: https://moonandhoney.ca
Description: A modern, elegant WordPress theme for Moon & Honey Hijama Clinic in Scarborough, Toronto. Features traditional healing aesthetics with premium design.
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: moonandhoney
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/

@font-face {
    font-family: 'Contralto Big';
    src: url('fonts/Contralto-Big-DemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Moon & Honey - Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --soft-cream: #FFF8F2;
    --ivory-cream: #FEE6D8;
    --warm-beige: #EDD7C8;
    --light-taupe: #D4D3C7;
    --warm-taupe: #BFA89C;
    --brand-sage: #ABAC9C;
    --brand-tan: #D3B097;
    --charcoal: #2C2C2C;
    --warm-gray: #6B6B6B;
    --moon-white: #FFFFFF;
    --font-heading: 'Contralto Big', 'Lora', serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.3;
}

h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    margin-bottom: 16px;
}

h3 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 500;
    color: var(--warm-gray);
}

p {
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--warm-taupe);
    color: var(--moon-white);
}

.btn-primary:hover {
    background: #C4A896;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--warm-taupe);
    border: 2px solid var(--warm-taupe);
}

.btn-secondary:hover {
    background: var(--warm-taupe);
    color: var(--moon-white);
}

.navbar {
    position: sticky;
    top: 0;
    background: var(--moon-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 16px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--charcoal);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--warm-taupe);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--charcoal);
    margin: 5px 0;
    transition: 0.3s;
}

.hero {
    background: linear-gradient(135deg, var(--light-taupe) 0%, var(--warm-beige) 100%);
    padding: 96px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero h1 {
    color: var(--charcoal);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.image-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.light h2,
.section-header.light h3 {
    color: var(--ivory-cream);
}

.about {
    background: var(--light-taupe);
    padding: 96px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
}

.about h2 {
    color: var(--charcoal);
}

.services {
    padding: 96px 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.service-card {
    background: var(--ivory-cream);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.service-card h3 {
    color: var(--charcoal);
}

.service-card ul {
    list-style: none;
    margin: 16px 0;
}

.service-card ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--warm-taupe);
    font-weight: bold;
}

.disclaimer-text {
    font-size: 14px;
    color: var(--warm-gray);
    font-style: italic;
    margin-top: 16px;
}

.pricing-section {
    background: var(--light-taupe);
    padding: 64px;
    border-radius: 12px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--moon-white);
    margin-bottom: 16px;
}

.pricing-table th {
    background: var(--warm-taupe);
    color: var(--ivory-cream);
    padding: 16px;
    text-align: left;
}

.pricing-table td {
    padding: 16px;
    border-bottom: 1px solid var(--light-taupe);
}

.pricing-table tbody tr:nth-child(even) {
    background: var(--light-taupe);
}

.pricing-table tbody tr:hover {
    background: var(--warm-beige);
}

.location {
    padding: 96px 0;
    background: var(--ivory-cream);
}

.location-details {
    background: var(--light-taupe);
    padding: 24px;
    border-radius: 8px;
    margin-top: 16px;
}

.hadith-section {
    background: var(--warm-taupe);
    padding: 96px 0;
    color: var(--charcoal);
}

.hadith-rotator {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 16px;
}

.hadith-container {
    position: relative;
    min-height: 200px;
    flex: 1;
}

.hadith-quote {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s;
    text-align: center;
    padding: 24px;
}

.hadith-quote.active {
    opacity: 1;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-style: italic;
    line-height: 1.6;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.quote-source {
    font-size: 16px;
    color: var(--charcoal);
}

.hadith-nav {
    background: transparent;
    border: 2px solid var(--charcoal);
    color: var(--charcoal);
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.hadith-nav:hover {
    background: var(--warm-beige);
    color: var(--warm-taupe);
}

.hadith-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hadith-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--charcoal);
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s;
}

.hadith-dot.active {
    opacity: 1;
}

.blog-teaser {
    padding: 96px 0;
    background: var(--light-taupe);
}

.blog-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
    font-size: 18px;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.blog-card {
    background: var(--ivory-cream);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.blog-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.blog-card h4 {
    padding: 24px 24px 8px;
    font-size: 18px;
}

.read-more {
    display: block;
    padding: 0 24px 24px;
    color: var(--charcoal);
    font-weight: 600;
}

.blog-cta {
    text-align: center;
}

.contact {
    padding: 96px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--light-taupe);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--warm-taupe);
}

.info-card {
    background: var(--light-taupe);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.info-card h4 {
    color: var(--charcoal);
}

.disclaimer {
    background: var(--ivory-cream);
    padding: 24px;
    border-radius: 8px;
    margin-top: 64px;
    border-left: 4px solid var(--warm-taupe);
}

.disclaimer p {
    font-size: 14px;
    color: var(--warm-gray);
    margin: 0;
}

.footer {
    background: var(--charcoal);
    color: var(--moon-white);
    padding: 64px 0 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    margin-bottom: 32px;
}

.footer-brand h3 {
    color: var(--warm-taupe);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--moon-white);
    text-decoration: underline;
}

.footer-links a:hover {
    color: var(--warm-beige);
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--warm-gray);
}

/* Blog Page Styles */
.blog-header {
    background: linear-gradient(135deg, var(--light-taupe) 0%, var(--warm-beige) 100%);
    padding: 64px 0;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 64px 0;
}

/* Single Post Styles */
.post-header {
    background: linear-gradient(135deg, var(--light-taupe) 0%, var(--warm-beige) 100%);
    padding: 64px 0;
}

.post-meta {
    font-size: 14px;
    color: var(--warm-gray);
    margin-bottom: 16px;
}

.post-content {
    padding: 64px 0;
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 32px;
}

/* WordPress Specific */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 24px;
}

.alignright {
    float: right;
    margin-left: 24px;
}

/* Responsive Design */
@media (max-width: 968px) {

    .hero-content,
    .about-content,
    .contact-content,
    .service-cards,
    .blog-posts,
    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--moon-white);
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hadith-rotator {
        flex-direction: column;
    }

    .hadith-nav {
        display: none;
    }
}