/* ========================================
   Reiki by Katie — Custom Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* ========================================
   Geometric Background Shapes
   ======================================== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(209, 74, 49, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -150px;
    border-radius: 50%;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(224, 173, 68, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    border-radius: 50%;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(209, 74, 49, 0.1);
    top: 30%;
    left: 5%;
    border-radius: 50%;
}

.geo-arc-1 {
    width: 300px;
    height: 300px;
    border: 3px solid rgba(224, 173, 68, 0.12);
    border-radius: 50%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    top: 20%;
    right: 10%;
    transform: rotate(-45deg);
}

.geo-arc-2 {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(209, 74, 49, 0.15);
    border-radius: 50%;
    border-right-color: transparent;
    border-top-color: transparent;
    bottom: 25%;
    right: 25%;
    transform: rotate(30deg);
}

.geo-dots {
    width: 120px;
    height: 120px;
    top: 40%;
    left: 8%;
    background-image: radial-gradient(circle, rgba(209, 74, 49, 0.2) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.6;
}

.geo-square-1 {
    width: 60px;
    height: 60px;
    background: rgba(224, 173, 68, 0.1);
    top: 25%;
    right: 30%;
    border-radius: 12px;
    transform: rotate(45deg);
}

.geo-square-2 {
    width: 40px;
    height: 40px;
    background: rgba(209, 74, 49, 0.08);
    bottom: 30%;
    left: 15%;
    border-radius: 8px;
    transform: rotate(20deg);
}

/* ========================================
   Hero Animations
   ======================================== */
.hero-badge {
    opacity: 0;
    animation: fadeDown 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-headline {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.4s;
}

.hero-sub {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.8s;
}

.hero-trust {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 1s;
}

.hero-scroll {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1.4s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   Scroll Reveal (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
    .scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
    .scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ========================================
   Navbar
   ======================================== */
.nav {
    background: rgba(254, 252, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(209, 74, 49, 0.08);
}

.nav.scrolled {
    box-shadow: 0 4px 30px rgba(209, 74, 49, 0.08);
}

.nav.scrolled .nav-logo-text {
    color: #9a3024;
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Benefit Cards
   ======================================== */
.benefit-card {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.benefit-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FAQ
   ======================================== */
.faq-toggle {
    cursor: pointer;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-toggle[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-content.open {
    max-height: 300px;
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-menu {
    max-height: 0;
    transition: max-height 0.4s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-nav-link {
    display: block;
}

/* ========================================
   Floating Card Animation
   ======================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-arc-1 {
        width: 150px;
        height: 150px;
    }
    
    .geo-dots {
        width: 60px;
        height: 60px;
    }
}
