/*
Theme Name: Kozmik Dönüşüm
Theme URI: https://kozmikdonusum.com/
Author: Melike İpek Yardımcı
Author URI: https://kozmikdonusum.com/
Description: Kozmik Dönüşüm - İçsel dönüşüm ve farkındalık yolculuğunda profesyonel rehberlik teması.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kozmikdonusum
Tags: one-page, dark, custom-colors, wellness, coaching
*/

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    --bg-deep: #050a14;
    --bg-mid: #0a1628;
    --space-blue: #1a3a5c;
    --cosmic-blue: #2d5a87;
    --gold-primary: #d4a853;
    --gold-light: #f0d48a;
    --text-primary: #e8e4dc;
    --text-muted: #8a9ab0;
}

/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-display {
    font-family: 'Cormorant Garamond', serif;
}

a {
    color: inherit;
}

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

/* ==========================================
   SKIP LINK
   ========================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold-primary);
    color: var(--bg-deep);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 500;
    border-radius: 0 0 4px 0;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--gold-light);
    outline-offset: 2px;
}

/* ==========================================
   COSMIC BACKGROUND
   ========================================== */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(26, 58, 92, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(45, 90, 135, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(212, 168, 83, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
    pointer-events: none;
}

/* ==========================================
   STARS
   ========================================== */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold-light);
    border-radius: 50%;
    opacity: 0;
    animation: starTwinkle var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
    will-change: opacity, transform;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ==========================================
   GOLDEN ORBS
   ========================================== */
.golden-orb {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, rgba(212, 168, 83, 0.05) 40%, transparent 70%);
    filter: blur(40px);
    animation: orbFloat 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

.golden-orb:nth-of-type(1) { top: 20%; left: 10%; }
.golden-orb:nth-of-type(2) { bottom: 10%; right: 5%; animation-delay: -10s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ==========================================
   CONTENT WRAPPER
   ========================================== */
.content-wrapper {
    position: relative;
    z-index: 10;
}

/* ==========================================
   OFFLINE INDICATOR
   ========================================== */
.offline-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #dc2626;
    color: white;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10001;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.offline-indicator.visible {
    transform: translateY(0);
}

/* ==========================================
   UPDATE BANNER
   ========================================== */
.update-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gold-primary);
    color: var(--bg-deep);
    text-align: center;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.update-banner.visible {
    transform: translateY(0);
}

.update-banner button {
    background: var(--bg-deep);
    color: var(--gold-primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.update-banner button:hover {
    background: var(--space-blue);
    color: var(--gold-light);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 1.5rem;
    background: linear-gradient(to bottom, var(--bg-deep), transparent);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gold-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--gold-primary);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-links a:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 2px solid transparent;
    color: var(--gold-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(212, 168, 83, 0.1);
}

.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

.mobile-menu-btn[aria-expanded="true"] {
    background: rgba(212, 168, 83, 0.2);
    border-color: var(--gold-primary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(5, 10, 20, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(212, 168, 83, 0.1);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem;
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    color: var(--gold-primary);
    background: rgba(212, 168, 83, 0.05);
    padding-left: 1.5rem;
}

.mobile-nav a:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: -2px;
}

@media (max-width: 767px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .mobile-nav { display: block; }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 2rem;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease-out forwards;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.8s ease-out 0.2s forwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--gold-primary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s ease-in-out infinite;
}

@keyframes goldShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.8s ease-out 0.4s forwards;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.8s ease-out 0.6s forwards;
}

@keyframes fadeSlideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
    position: relative;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #c49a45 100%);
    color: var(--bg-deep);
    font-weight: 500;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 168, 83, 0.3);
    color: var(--bg-deep);
}

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

.btn-primary:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 2px;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--gold-primary);
    font-weight: 400;
    letter-spacing: 0.05em;
    border: 1px solid rgba(212, 168, 83, 0.4);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.btn-secondary:hover {
    background: rgba(212, 168, 83, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    color: var(--gold-primary);
}

.btn-secondary:focus-visible {
    outline: 3px solid var(--gold-primary);
    outline-offset: 2px;
}

/* ==========================================
   SCROLL INDICATOR
   ========================================== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease-out 1s forwards;
    cursor: pointer;
    background: none;
    border: 2px solid transparent;
    font-family: inherit;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--gold-primary);
    border-color: rgba(212, 168, 83, 0.3);
    border-radius: 8px;
}

.scroll-indicator:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
    border-radius: 8px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 1; height: 50px; }
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 300;
    line-height: 1.3;
}

/* ==========================================
   ABOUT CARD
   ========================================== */
.about-card {
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.2) 0%, rgba(10, 22, 40, 0.4) 100%);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: auto 1fr;
    }
}

/* ==========================================
   PROFILE VISUAL
   ========================================== */
.profile-visual {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.profile-ring {
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.profile-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-video-container {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #8E7342 !important;
    background: #0B192E !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 25px rgba(142, 115, 66, 0.4);
}

.profile-video-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    pointer-events: none;
}

.profile-inner {
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--space-blue) 0%, var(--bg-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-initials {
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold-primary);
    opacity: 0.8;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.about-content .role {
    color: var(--gold-primary);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ==========================================
   FEATURES GRID
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: rgba(26, 58, 92, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.1);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    background: rgba(26, 58, 92, 0.25);
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-4px);
}

.feature-card:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 168, 83, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--gold-primary);
}

.feature-card h4 {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==========================================
   PROCESS TIMELINE
   ========================================== */
.process-timeline {
    position: relative;
    padding-left: 2rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold-primary), var(--space-blue), var(--gold-primary));
}

.process-item {
    position: relative;
    padding-bottom: 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.process-item:last-child {
    padding-bottom: 0;
}

.process-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.process-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--bg-deep);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.process-item:hover::before {
    background: var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.5);
}

.process-item h4 {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--gold-light);
}

.process-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--gold-primary);
}

.faq-question:focus {
    outline: none;
}

.faq-question:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    text-align: center;
    padding: 6rem 1.5rem;
    position: relative;
}

.cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-quote {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta-quote::before {
    content: '"';
    display: block;
    font-size: 4rem;
    color: var(--gold-primary);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: -1rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    border-top: 1px solid rgba(212, 168, 83, 0.1);
    padding: 3rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand h4 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-links h5 {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-links a:focus-visible {
    outline: 1px solid var(--gold-primary);
    outline-offset: 2px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.contact-item:hover {
    color: var(--gold-primary);
}

.contact-item:focus-visible {
    outline: 1px solid var(--gold-primary);
    outline-offset: 2px;
}

.contact-item svg {
    color: var(--gold-primary);
    flex-shrink: 0;
}

/* ==========================================
   LEGAL NOTE
   ========================================== */
.legal-note {
    background: rgba(26, 58, 92, 0.2);
    border: 1px solid rgba(212, 168, 83, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   INSTALL PWA BUTTON
   ========================================== */
.install-pwa-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gold-primary);
    color: var(--bg-deep);
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.4);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.install-pwa-btn.visible {
    transform: translateY(0);
    opacity: 1;
}

.install-pwa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 168, 83, 0.5);
}

.install-pwa-btn:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 2px;
}

/* ==========================================
   FOOTER BOTTOM
   ========================================== */
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 168, 83, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ==========================================
   ACCESSIBILITY & PREFERENCES
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .star, .golden-orb, .profile-ring, .scroll-line {
        animation: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}

@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-muted: #cccccc;
        --gold-primary: #ffd700;
    }
}

@media print {
    .cosmic-bg, .stars-container, .golden-orb, .nav, .scroll-indicator,
    .install-pwa-btn, .offline-indicator, .update-banner {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    .section {
        padding: 2rem 1rem;
        page-break-inside: avoid;
    }
}

/* ==========================================
   WORDPRESS SPECIFIC
   ========================================== */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}
