/*
Theme Name: Hedomi
Theme URI: https://hedomi.com
Author: Hedomi
Author URI: https://hedomi.com
Description: Custom WordPress theme for Hedomi — professional digital tools for numerologists, astrologers, tarot readers and spiritual businesses.
Version: 1.0.0
Text Domain: hedomi
*/

/* =========================================================
   HEDOMI — GLOBAL VARIABLES
========================================================= */

:root {

    /* Brand */
    --color-purple-dark: #35034A;
    --color-purple: #512163;
    --color-purple-light: #755386;

    --color-gold: #E1B47B;
    --color-gold-light: #EBC68C;

    --color-coral: #FA5B28;

    /* Backgrounds */
    --color-bg: #FCFAFC;
    --color-bg-soft: #F7F2F8;
    --color-white: #FFFFFF;

    /* Text */
    --color-text: #291A2F;
    --color-text-soft: #756A79;
    --color-heading: #35034A;

    /* Borders */
    --color-border: #E8DFEB;

    /* Fonts */
    --font-body: "DM Sans", Arial, sans-serif;
    --font-heading: "Cormorant Garamond", Georgia, serif;

    /* Layout */
    --container: 1240px;
    --container-wide: 1440px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    /* Shadows */
    --shadow-sm:
        0 5px 20px rgba(53, 3, 74, 0.06);

    --shadow-md:
        0 15px 45px rgba(53, 3, 74, 0.10);

    --shadow-lg:
        0 25px 80px rgba(53, 3, 74, 0.14);

    /* Transitions */
    --transition:
        all 0.3s ease;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;

    color: var(--color-text);
    background: var(--color-bg);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font-body);
}

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

svg {
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin-top: 0;
}

figure {
    margin: 0;
}


/* =========================================================
   LINKS
========================================================= */

a {
    color: var(--color-purple);
    text-decoration: none;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

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


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 20px;

    color: var(--color-heading);

    font-family: var(--font-heading);
    font-weight: 600;

    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
}

h2 {
    font-size: clamp(2.5rem, 4vw, 4.2rem);
}

h3 {
    font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 20px;
}

strong {
    font-weight: 700;
}

small {
    font-size: 0.875rem;
}


/* =========================================================
   CONTAINERS
========================================================= */

.container {
    width: calc(100% - 48px);
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

.container-wide {
    width: calc(100% - 48px);
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
}


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

.section {
    position: relative;
    padding: 110px 0;
}

.section-sm {
    padding: 70px 0;
}

.section-lg {
    padding: 150px 0;
}

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

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

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

.section-purple {
    color: var(--color-white);
    background: var(--color-purple-dark);
}

.section-purple h1,
.section-purple h2,
.section-purple h3,
.section-purple h4,
.section-purple h5,
.section-purple h6 {
    color: var(--color-white);
}


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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;

    padding: 14px 28px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}


/* Primary */

.btn-primary {
    color: var(--color-white);
    background: var(--color-purple);
}

.btn-primary:hover {
    color: var(--color-white);
    background: var(--color-purple-dark);

    box-shadow:
        0 12px 30px rgba(53, 3, 74, 0.20);
}


/* Coral */

.btn-coral {
    color: var(--color-white);
    background: var(--color-coral);
}

.btn-coral:hover {
    color: var(--color-white);
    background: #E94B1C;

    box-shadow:
        0 12px 30px rgba(250, 91, 40, 0.20);
}


/* Outline */

.btn-outline {
    color: var(--color-purple);
    background: transparent;

    border-color: rgba(81, 33, 99, 0.25);
}

.btn-outline:hover {
    color: var(--color-white);
    background: var(--color-purple);

    border-color: var(--color-purple);
}


/* Light */

.btn-light {
    color: var(--color-purple-dark);
    background: var(--color-white);
}

.btn-light:hover {
    color: var(--color-purple-dark);
    background: var(--color-gold-light);
}


/* =========================================================
   EYEBROW / SMALL TITLES
========================================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    color: var(--color-purple);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    background: var(--color-gold);
}


/* =========================================================
   TEXT HELPERS
========================================================= */

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

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

.text-purple-dark {
    color: var(--color-purple-dark);
}

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

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

.text-muted {
    color: var(--color-text-soft);
}


/* =========================================================
   CARDS
========================================================= */

.card {
    position: relative;

    padding: 32px;

    background: var(--color-white);

    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

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

    border-color: rgba(81, 33, 99, 0.18);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   DECORATIVE ELEMENTS
========================================================= */

.gold-line {
    width: 60px;
    height: 2px;

    background: var(--color-gold);
}

.decorative-circle {
    border: 1px solid rgba(225, 180, 123, 0.6);
    border-radius: 50%;
}


/* =========================================================
   FORMS
========================================================= */

input:not([type="radio"]):not([type="checkbox"]),
textarea,
select {
    width: 100%;

    padding: 14px 18px;

    color: var(--color-text);
    background: var(--color-white);

    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);

    outline: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-purple);

    box-shadow:
        0 0 0 4px rgba(81, 33, 99, 0.08);
}

textarea {
    min-height: 140px;
    resize: vertical;
}


/* =========================================================
   WORDPRESS
========================================================= */

.alignleft {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    margin-top: 8px;

    color: var(--color-text-soft);

    font-size: 14px;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.screen-reader-text {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}

.screen-reader-text:focus {
    z-index: 999999;

    top: 10px;
    left: 10px;

    width: auto;
    height: auto;

    padding: 15px 20px;

    clip: auto;

    color: var(--color-white);
    background: var(--color-purple-dark);
}


/* =========================================================
   SELECTION
========================================================= */

::selection {
    color: var(--color-white);
    background: var(--color-purple);
}


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

@media (max-width: 1024px) {

    .section {
        padding: 90px 0;
    }

    .section-lg {
        padding: 120px 0;
    }

}


@media (max-width: 767px) {

    .container,
    .container-wide {
        width: calc(100% - 32px);
    }

    .section {
        padding: 70px 0;
    }

    .section-sm {
        padding: 50px 0;
    }

    .section-lg {
        padding: 90px 0;
    }

    .card {
        padding: 24px;
    }

    .btn {
        min-height: 50px;
        padding: 13px 24px;
    }

}