/* ============================================
   OGG Website - Main Styles
   Design Style: Garden Harmony (Elegant Botanical)
   ============================================ */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Color Palette - Garden Harmony */
    --color-purple-primary: #6B4E8C;
    --color-purple-light: #8B6BB0;
    --color-purple-dark: #4A3461;
    --color-olive-primary: #7C8B5E;
    --color-olive-light: #9CAA7F;
    --color-olive-dark: #5C6B3E;
    --color-gold-accent: #D4AF37;
    --color-gold-light: #E5C968;

    /* Neutrals */
    --color-cream: #FAF9F6;
    --color-white: #FFFFFF;
    --color-gray-light: #F0EFE9;
    --color-gray-medium: #D4D2C8;
    --color-gray-dark: #6C6B66;
    --color-text-primary: #2C2B27;
    --color-text-secondary: #5C5B56;

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-botanical: 'Cormorant Garamond', serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */

    /* Spacing */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 0.75rem;
    /* 12px */
    --space-md: 1rem;
    /* 16px */
    --space-lg: 1.5rem;
    /* 24px */
    --space-xl: 2rem;
    /* 32px */
    --space-2xl: 3rem;
    /* 48px */
    --space-3xl: 4rem;
    /* 64px */
    --space-4xl: 6rem;
    /* 96px */

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-purple: 0 10px 30px rgba(107, 78, 140, 0.15);
    --shadow-olive: 0 10px 30px rgba(124, 139, 94, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 400ms ease-in-out;

    /* Container */
    --container-max: 1200px;
    --container-padding: var(--space-xl);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.3;
    font-weight: 700;
    color: var(--color-text-primary);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

em,
i {
    font-family: var(--font-botanical);
    font-style: italic;
}

a {
    color: var(--color-purple-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-purple-light);
}

/* ============================================
   Layout Containers
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-4xl) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-2xl) 0;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-purple-primary), var(--color-purple-light));
    color: var(--color-white);
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(107, 78, 140, 0.25);
    color: var(--color-white);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-purple-primary);
    border-color: var(--color-purple-primary);
}

.btn-secondary:hover {
    background: var(--color-purple-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-primary.large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-lg);
}

/* ============================================
   Cards & Glassmorphism
   ============================================ */
.card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradient Borders */
.gradient-border-purple {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-xl);
}

.gradient-border-purple::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-purple-primary), var(--color-olive-primary));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes petalFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(5deg);
    }

    75% {
        transform: translateY(-5px) rotate(-3deg);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.fade-up {
    animation: fadeUp 0.6s ease-out;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.text-purple {
    color: var(--color-purple-primary);
}

.text-olive {
    color: var(--color-olive-primary);
}

.text-gold {
    color: var(--color-gold-accent);
}

.bg-cream {
    background-color: var(--color-cream);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-purple-light {
    background-color: rgba(107, 78, 140, 0.05);
}

.bg-olive-light {
    background-color: rgba(124, 139, 94, 0.05);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --container-padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    :root {
        --text-5xl: 1.75rem;
        --text-4xl: 1.5rem;
        --text-3xl: 1.25rem;
    }
}

/* Updated Nav Logo Styling */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-logo img {
    height: 48px;
    width: auto;
}

/* ============================================
   Imported from components.css
   ============================================ */
/* ============================================
   Navigation
   ============================================ */
.nav-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.nav-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-md) var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.nav-logo {
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-purple-primary), var(--color-olive-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-purple-primary), var(--color-olive-primary));
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-purple-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-auth {
    flex-shrink: 0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: var(--space-sm);
        padding-top: var(--space-md);
        border-top: 1px solid var(--color-gray-light);
    }

    .nav-link {
        padding: var(--space-sm);
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-cream) 0%, rgba(250, 249, 246, 0.5) 100%);
    overflow: hidden;
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeUp 0.8s ease-out;
}

.hero-title {
    margin-bottom: var(--space-xl);
}

.hero-main {
    display: block;
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-purple-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-botanical);
    font-size: var(--text-xl);
    font-weight: 400;
    font-style: italic;
    color: var(--color-olive-primary);
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 1s ease-out 0.2s both;
}

.featured-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-purple);
    position: relative;
    border: 2px solid transparent;
    background-image:
        linear-gradient(white, white),
        linear-gradient(135deg, var(--color-purple-primary), var(--color-olive-primary));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.botanical-illustration {
    margin-bottom: var(--space-md);
}

.plant-icon {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 4px 8px rgba(107, 78, 140, 0.2));
}

.lavender-flowers {
    animation: petalFloat 3s ease-in-out infinite;
}

.featured-label {
    text-align: center;
    font-family: var(--font-botanical);
    font-style: italic;
    color: var(--color-text-secondary);
    font-size: var(--text-lg);
}

.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    opacity: 0.6;
}

.watercolor-accent {
    width: 100%;
    height: auto;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-visual {
        order: -1;
    }

    .featured-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ============================================
   Quick Links / Feature Cards
   ============================================ */
.quick-links {
    background: var(--color-white);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--color-gray-light);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-purple {
    border-color: var(--color-purple-primary);
}

.card-purple:hover {
    box-shadow: var(--shadow-purple);
    background: linear-gradient(135deg, rgba(107, 78, 140, 0.03), rgba(107, 78, 140, 0.01));
}

.card-olive {
    border-color: var(--color-olive-primary);
}

.card-olive:hover {
    box-shadow: var(--shadow-olive);
    background: linear-gradient(135deg, rgba(124, 139, 94, 0.03), rgba(124, 139, 94, 0.01));
}

.card-gold {
    border-color: var(--color-gold-accent);
}

.card-gold:hover {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03), rgba(212, 175, 55, 0.01));
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.card-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.card-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.card-link {
    color: var(--color-purple-primary);
    font-weight: 600;
    transition: all var(--transition-base);
}

.feature-card:hover .card-link {
    transform: translateX(4px);
    display: inline-block;
}

/* ============================================
   Split Layout Sections
   ============================================ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse>* {
    direction: ltr;
}

.split-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.section-title {
    font-size: var(--text-4xl);
    color: var(--color-purple-primary);
    margin-bottom: var(--space-lg);
}

.section-title.centered {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.split-image {
    display: flex;
    justify-content: center;
}

.image-card {
    width: 100%;
    max-width: 500px;
}

.placeholder-image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--color-purple-primary) 0%, var(--color-olive-primary) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--text-2xl);
    box-shadow: var(--shadow-lg);
}

.placeholder-image.guild-diagram {
    aspect-ratio: 4 / 3;
    background: var(--color-white);
    border: 2px solid var(--color-gray-medium);
}

.placeholder-text {
    color: var(--color-gray-dark);
    font-family: var(--font-body);
}

@media (max-width: 968px) {

    .split-layout,
    .split-layout.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

/* ============================================
   Activity Grid
   ============================================ */
.recent-activity {
    background: var(--color-cream);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.activity-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.activity-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.activity-image .placeholder-image {
    width: 100%;
    height: 100%;
    border-radius: 0;
    font-size: var(--text-4xl);
}

.activity-content {
    padding: var(--space-xl);
}

.activity-title {
    font-size: var(--text-xl);
    color: var(--color-purple-primary);
    margin-bottom: var(--space-xs);
}

.activity-date {
    font-size: var(--text-sm);
    color: var(--color-olive-primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.activity-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   Call to Action Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-purple-primary), var(--color-purple-light));
    color: var(--color-white);
}

.cta-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--text-4xl);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.cta-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-text-primary);
    color: var(--color-cream);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-title {
    font-size: var(--text-2xl);
    color: var(--color-gold-accent);
    margin-bottom: var(--space-md);
}

.footer-heading {
    font-size: var(--text-lg);
    color: var(--color-cream);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.footer-text {
    color: var(--color-gray-medium);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--color-gray-medium);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-gold-accent);
}

.footer-email {
    color: var(--color-gold-accent);
    font-weight: 600;
}

.footer-email:hover {
    color: var(--color-gold-light);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-lg) var(--container-padding) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--color-gray-medium);
}

/* ============================================
   Mobile Hamburger Navigation
   ============================================ */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--color-purple-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: block;
        order: 2;
    }

    .nav-content {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: var(--space-sm);
        padding: var(--space-md) 0;
        border-top: 1px solid var(--color-gray-light);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .nav-link {
        padding: var(--space-sm) var(--space-md);
    }

    .nav-auth {
        order: 1;
        margin-left: auto;
        margin-right: var(--space-sm);
    }
}
