/*
Theme Name: Hello Commerce Child
Theme URI: https://limestudio.online/
Description: Child theme for Hello Commerce
Author: lime:studio
Author URI: https://limestudio.online/
Template: hello-commerce
Version: 1.0.0
Text Domain: hello-commerce-child
*/

/* Custom styles below */
/* Variables */
:root {
    /* Colors - Warm Beige Brown */
    --bg: #f8f5f1;
    --bg-dark: #ebe5dc;
    --bg-darker: #d9d0c3;
    --text: #1a1612;
    --text-light: #6b5d4d;
    --accent: #c4a77d;
    --accent-dark: #a08060;
    --accent-light: #d4c4a8;
    --cream: #fffcf7;
    --espresso: #2c241c;
    --terracotta: #c9876d;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    /* Spacing */
    --space-xs: clamp(0.75rem, 1.5vw, 1rem);
    --space-sm: clamp(1.5rem, 3vw, 2rem);
    --space-md: clamp(3rem, 6vw, 5rem);
    --space-lg: clamp(5rem, 10vw, 8rem);
    --space-xl: clamp(8rem, 15vw, 12rem);
    
    /* Transitions */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --duration: 0.8s;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    /*overflow-x: hidden;*/
    /*cursor: none;*/
}
@media (max-width: 768px) {
    body { cursor: auto; }
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }
/* Animations */
.reveal {
    opacity: 0.2;
    transform: translateY(40px);
    transition: all 1s var(--ease);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text .line span {
    transform: translateY(100%);
    transition: transform 1s var(--ease);
}

.reveal-text.active .line span {
    transform: translateY(0);
}

.reveal-text.active .line:nth-child(2) span { transition-delay: 0.1s; }

/* Selection */
::selection {
    background: var(--accent);
    color: var(--espresso);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}


@keyframes slideUp {
    to { transform: translateY(0); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes heroZoom {
    to { transform: scale(1); }
}
@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}
@keyframes marquee {
    to { transform: translateX(-50%); }
}
.section {
    padding: var(--space-md) 0;
}
/* Labels */
.label span{
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: var(--space-xs);
}
.hero__title span.line {
    display: block;
    /*overflow: hidden;*/
}

.hero__title span.line {
    display: block;
    transform: translateY(100%);
    animation: slideUp 1s var(--ease) forwards;
}
.hero__title span.italic {
    font-style: italic;
    color: var(--accent-dark);
}
.hero__cta a{
    transition: all 0.5s var(--ease);
    opacity: 0;
    animation: fadeIn 1s var(--ease) 0.7s forwards;
}

.hero__cta a:hover {
    transform: scale(1.02);
}

.hero__cta a svg {
    transition: transform 0.4s var(--ease);
    width:24px;
    height:24px;
}

.hero__cta a:hover svg {
    transform: translate(4px, -4px);
}

/* Marquee */
.marquee {
    padding: var(--space-sm) 0;
    background: var(--espresso);
    overflow: hidden;
}

.marquee__inner {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee__inner span {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 400;
    color: var(--cream);
    letter-spacing: 0.05em;
}

.marquee__dot {
    color: var(--accent);
    font-size: 0.5rem;
}
/* Who */


.who__list ul{
    display: grid;
    gap: 0;
}

.who__list li.elementor-icon-list-item {
    display: grid !important;
    grid-template-columns: 80px 1fr;
    align-items: center;
    padding: var(--space-sm) 0;
    transition: all 0.4s var(--ease);
}
/*.who__list  .elementor-icon-list-text{*/
/*    width:100%;*/
/*}*/
.who__list li:hover {
    padding-left: 1rem;
    background: var(--cream);
}

.who__list em {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--accent);
}
.who__list .elementor-icon-list-items {
	counter-reset: step;
}

.who__list .elementor-icon-list-item {
	counter-increment: step;
	position: relative;
}

.who__list .elementor-icon-list-item::before {
	content: counter(step, decimal);
	margin-right: 12px;
	font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--accent);
}

/* Quote */
.quote__text .elementor-blockquote__content em {
    color: var(--accent);
}
/* How */


/* Formats */
.section--formats .elementor-price-table__header{
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--bg-darker);
}
.section--formats .elementor-price-table svg.e-font-icon-svg{
    width: 6px !important;
    height: 6px !important;
}

/* CTA */
.cta__title .line {
    display: block;
}

.cta__button a{
    transition: all 0.5s var(--ease);
}

.cta__button svg{
    display: flex;
    transition: transform 0.4s var(--ease);
}

.cta__button a:hover svg{
    transform: translate(4px, -4px);
}
