:root {
    --primary-color: #6a1b9a;
    /* Amethyst Purple */
    --primary-light: #9c4dcc;
    --primary-dark: #38006b;
    --accent-color: #ffd700;
    /* Gold */
    --secondary-color: #f8b7cd;
    /* Rose Quartz Pink */
    --bg-dark: #0f0c29;
    /* Deep Midnight */
    --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --text-light: #f5f5f5;
    --text-muted: #b0bec5;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url('geode-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 12, 41, 0.7);
    /* Dark overlay for text readability */
    z-index: -1;
}

/* Floating Background Crystals */
.floating-crystals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    /* Between backgrounds and content */
    overflow: hidden;
    opacity: 1;
    /* Full opacity for the container */
}

.bg-crystal {
    position: absolute;
    background-size: cover;
    background-position: center;
    filter: drop-shadow(0 0 10px rgba(156, 77, 204, 0.4));
    opacity: 0.7;
}

@keyframes floating-bg {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg) scale(1.1);
    }

    66% {
        transform: translate(-20px, 40px) rotate(-5deg) scale(0.9);
    }
}

h1,
h2,
h3,
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.crystal-loader {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    transform: rotate(45deg);
    animation: crystal-pulse 1.5s infinite ease-in-out;
    box-shadow: 0 0 30px var(--primary-color);
}

@keyframes crystal-pulse {
    0% {
        transform: rotate(45deg) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: rotate(45deg) scale(1.2);
        opacity: 1;
        box-shadow: 0 0 50px var(--primary-light);
    }

    100% {
        transform: rotate(45deg) scale(0.8);
        opacity: 0.5;
    }
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

#main-nav.scrolled {
    background: rgba(15, 12, 41, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

#main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: var(--text-light);
}

.logo .by-sarah {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-style: italic;
    display: block;
    line-height: 0.5;
    margin-left: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1515405299443-f7169a8d2673?auto=format&fit=crop&q=80&w=2000');
    /* High quality gemstone background from Unsplash */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 12, 41, 0.8), rgba(15, 12, 41, 0.4), rgba(15, 12, 41, 0.9));
}

.hero-content {
    position: relative;
    z-index: 10;
    /* Increased to stay above crystals */
    text-align: center;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero .accent {
    color: var(--accent-color);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 1.1s;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(106, 27, 154, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(106, 27, 154, 0.5);
}

.btn-outline {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.btn-text {
    padding: 0;
    border: none;
    color: var(--accent-color);
    text-transform: none;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
}

.btn-text:hover {
    letter-spacing: 1px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    margin: 10px auto 0;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 6px;
    background: var(--accent-color);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Sections */
section {
    padding: 10rem 0;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.title-divider {
    width: 60px;
    height: 2px;
    background: var(--accent-color);
    margin: 0 auto 2rem;
}

.lead {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 2rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-light);
    z-index: 1;
}

.about-image {
    position: relative;
    z-index: 2;
    height: 500px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sarah-img-placeholder {
    font-size: 10rem;
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.05);
}

.about-text-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Services Section */
.services-section {
    background: rgba(15, 12, 41, 0.5);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    text-align: center;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-light);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: rgba(106, 27, 154, 0.1);
}

.card-icon.amethyst {
    color: #9b59b6;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.2);
}

.card-icon.gold {
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.card-icon.silver {
    color: #bdc3c7;
    box-shadow: 0 0 20px rgba(189, 195, 199, 0.2);
}

.card-icon.purple {
    color: #a78bfa;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.2);
}

.card-icon.moonlight {
    color: #e0e7ff;
    box-shadow: 0 0 20px rgba(224, 231, 255, 0.3);
}

/* Visual Break Sections */
.visual-break {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.visual-break::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 12, 41, 0.7), rgba(15, 12, 41, 0.7));
}

.break-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.break-content h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.break-content p {
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--accent-color);
}

.crystal-bg {
    background-image: url('https://images.unsplash.com/photo-1567103473247-68c4139217b1?auto=format&fit=crop&q=80&w=2000');
}

.bowls-bg {
    background-image: url('https://images.unsplash.com/photo-1593542223011-09477e6005ca?auto=format&fit=crop&q=80&w=2000');
}

.tuning-bg {
    background-image: url('https://images.unsplash.com/photo-1514489025000-0e19f96ffeb2?auto=format&fit=crop&q=80&w=2000');
}

/* Contact Section */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.contact-info {
    padding: 5rem;
    background: linear-gradient(to right bottom, var(--primary-dark), #0f0c29);
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.detail-item a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

.contact-section,
.about-section,
.services-section,
.visual-break {
    position: relative;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 10;
}

.contact-form-wrapper {
    padding: 5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.08);
}

.btn-block {
    width: 100%;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {

    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 3rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .break-content h2 {
        font-size: 2.5rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    section {
        padding: 6rem 0;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .visual-break {
        height: 40vh;
    }
}