/*
Theme Name: Grace Christian Dating
Theme URI: https://www.grace.com
Author: Grace
Author URI: https://www.grace.com
Description: A refined Christian dating experience created for meaningful, faith-centered relationships and intentional connection. Bilingual support for English and French.
Version: 1.0.0
License: GPL v2 or later
Text Domain: grace
*/

/* Reset & Base Styles */



* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.center-wrapper { max-width: 1280px; margin: 0 auto; padding: 1rem; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.btn { cursor: pointer; transition: 0.2s; }
.lang-toggle { cursor: pointer; display: flex; align-items: center; gap: 6px; background: #ffffffcc; padding: 6px 12px; border-radius: 60px; backdrop-filter: blur(4px); }


/* CSS Custom Properties for light/dark theme (browser-aware) */
    :root {
--bg-body: #FFFFFF;
--text-primary: #0A0A0F;
--text-secondary: #5A5A68;
--text-tertiary: #8E8E9E;
--border-subtle: #E5E5EC;
--btn-dark-bg: #0A0A0F;
--btn-dark-text: white;
--btn-light-border: #0A0A0F;
--btn-light-text: #0A0A0F;
--btn-light-hover-bg: #0A0A0F;
--btn-light-hover-text: white;
--step-bg: #0A0A0F;
--step-text: white;
--footer-line: #0A0A0F;
--gradient-start: #0A0A0F;
--gradient-end: #2C2C38;
--hover-transform: translateY(-3px);
--nav-bg: rgba(255, 255, 255, 0.72);
--nav-shadow: 0 12px 28px -8px rgba(0,0,0,0.05);
}

/* Dark mode preference (system-level immersive) */
@media (prefers-color-scheme: dark) {
    :root {
--bg-body: #0A0A0F;
--text-primary: #F0F0F4;
--text-secondary: #A1A1B0;
--text-tertiary: #6E6E80;
--border-subtle: #2A2A34;
--btn-dark-bg: #F0F0F4;
--btn-dark-text: #0A0A0F;
--btn-light-border: #E0E0E8;
--btn-light-text: #E0E0E8;
--btn-light-hover-bg: #E0E0E8;
--btn-light-hover-text: #0A0A0F;
--step-bg: #E0E0E8;
--step-text: #0A0A0F;
--footer-line: #E0E0E8;
--gradient-start: #F0F0F4;
--gradient-end: #C0C0D0;
--nav-bg: rgba(10, 10, 15, 0.82);
--nav-shadow: 0 12px 28px -8px rgba(0,0,0,0.35);
}
}

body {
background: var(--bg-body);
color: var(--text-primary);
font-family: 'Outfit', sans-serif;
font-weight: 500;
line-height: 1.4;
-webkit-font-smoothing: antialiased;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.2s ease, color 0.2s ease;
}

    .center-wrapper {
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 0;
background: transparent;
}

/* --- STICKY IOS GLASS NAVIGATION BAR (radius + glass effect) --- */
    .nav-bar {
position: sticky;
top: 20px;
width: 100%;
display: flex;
justify-content: center;
margin-bottom: 16px;
z-index: 200;
padding: 0 16px;
pointer-events: none;
}

    .nav-container {
background: var(--nav-bg);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border-radius: 60px;
padding: 8px 20px;
display: inline-flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
justify-content: center;
border: 1px solid rgba(255, 255, 255, 0.3);
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: var(--nav-shadow), 0 4px 12px rgba(0, 0, 0, 0.02);
transition: all 0.3s ease;
pointer-events: auto;
}

/* Enhance glass effect in dark mode */
@media (prefers-color-scheme: dark) {
    .nav-container {
border: 1px solid rgba(255, 255, 255, 0.08);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
}

    .nav-link {
font-family: 'Outfit', sans-serif;
font-weight: 600;
font-size: 1em;
padding: 8px 18px;
border-radius: 60px;
background: transparent;
color: var(--text-secondary);
text-decoration: none;
transition: all 0.2s ease;
letter-spacing: -0.01em;
cursor: pointer;
display: inline-block;
border: none;
}

    .nav-link:hover {
background: var(--border-subtle);
color: var(--text-primary);
transform: translateY(-2px);
}

/* special active/home style */
    .nav-link.active-page {
background: var(--step-bg);
color: var(--step-text);
}

/* Divider dot */
    .nav-divider {
width: 4px;
height: 4px;
background: var(--text-tertiary);
border-radius: 50%;
opacity: 0.5;
}

/* --- SINGLE TOGGLE BUTTON with FLAGS (EN/FR combined) --- */
    .lang-toggle {
border-radius: 44px;
padding: 5px 8px 5px 12px;
display: inline-flex;
align-items: center;
gap: 8px;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
margin-left: 6px;
}

    .lang-toggle:hover {
background: var(--border-subtle);
transform: scale(0.97);
}

    .flag-icon {
width: 24px;
height: 18px;
border-radius: 4px;
object-fit: cover;
display: block;
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

    .lang-label {
font-family: 'Outfit', sans-serif;
font-weight: 700;
font-size: 13px;
letter-spacing: -0.2px;
color: var(--text-primary);
background: transparent;
padding: 0 4px;
}

    .toggle-arrow {
font-size: 12px;
transition: transform 0.2s;
color: var(--text-tertiary);
}

    .lang-toggle:hover .toggle-arrow {
transform: translateX(2px);
}

/* Responsive adjustments — mobile design unchanged (only desktop bubble scaling later) */
@media (max-width: 680px) {
    .nav-container {
padding: 6px 14px;
gap: 6px;
}
    .nav-link {
padding: 5px 12px;
font-size: .8em;
}
    .lang-toggle {
padding: 4px 6px 4px 10px;
gap: 5px;
}
    .flag-icon {
width: 20px;
height: 15px;
}
    .lang-label {
font-size: .8em;
}
    .nav-divider {
display: none;
}
}

@media (max-width: 550px) {
    .nav-container {
border-radius: 36px;
padding: 6px 12px;
gap: 4px;
}
    .nav-link {
padding: 5px 10px;
font-size: .8em;
}
}

    .container {
max-width: 1280px;
margin: 0 auto;
padding: 24px 32px 80px;
}

    .hero {
padding: 60px 24px 64px;
text-align: center;
margin-bottom: 32px;
}

    .eyebrow {
font-size: 13px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-tertiary);
display: inline-block;
margin-bottom: 28px;
}

    .logo-wrapper {
text-align: center;
margin-bottom: 32px;
}

    .grace-logo {
width: clamp(80px, 15vw, 160px);
height: clamp(80px, 15vw, 160px);
border-radius: 50%;
object-fit: cover;
display: inline-block;
transition: transform 0.2s ease;
}

    .grace-logo:hover {
transform: scale(1.02);
}

    .hero h1 {
font-size: clamp(56px, 13vw, 148px);
font-weight: 900;
line-height: 0.92;
letter-spacing: -0.03em;
margin: 0 0 24px 0;
background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

    .hero-subtitle {
font-size: 18px;
font-weight: 500;
line-height: 1.45;
color: var(--text-secondary);
max-width: 680px;
margin: 0 auto;
}

    .hero-subtitle strong {
font-weight: 800;
color: var(--text-primary);
}

    .hero-buttons {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
margin-top: 48px;
}

    .btn {
font-family: 'Outfit', sans-serif;
font-weight: 700;
font-size: 15px;
padding: 16px 36px;
border-radius: 60px;
border: none;
cursor: pointer;
transition: all 0.25s ease;
letter-spacing: 0.01em;
display: inline-block;
text-decoration: none;
background: transparent;
}

    .btn-dark {
background: var(--btn-dark-bg);
color: var(--btn-dark-text);
box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

    .btn-dark:hover {
background: color-mix(in srgb, var(--btn-dark-bg) 70%, white);
transform: var(--hover-transform);
box-shadow: 0 18px 28px -10px rgba(0,0,0,0.12);
}

    .btn-light {
background: transparent;
color: var(--btn-light-text);
border: 2px solid var(--btn-light-border);
}

    .btn-light:hover {
background: var(--btn-light-hover-bg);
color: var(--btn-light-hover-text);
transform: var(--hover-transform);
}

    .section {
padding: 56px 24px 56px 24px;
text-align: center;
}

    .section-number {
font-size: 14px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-tertiary);
display: inline-block;
margin-bottom: 24px;
}

    .title {
font-size: clamp(34px, 6vw, 58px);
font-weight: 800;
line-height: 1.2;
letter-spacing: -0.02em;
margin-bottom: 24px;
color: var(--text-primary);
max-width: 800px;
margin-left: auto;
margin-right: auto;
}

    .text {
font-size: 17px;
font-weight: 500;
line-height: 1.6;
color: var(--text-secondary);
max-width: 680px;
margin: 0 auto 24px auto;
}

    .steps {
display: flex;
flex-direction: column;
align-items: center;
gap: 18px;
margin-top: 32px;
max-width: 540px;
margin-left: auto;
margin-right: auto;
width: 100%;
}

    .step {
display: flex;
align-items: center;
gap: 20px;
background: transparent;
padding: 12px 20px;
border-bottom: 1px dashed var(--border-subtle);
transition: all 0.2s;
width: 100%;
text-align: left;
}

    .step:hover {
transform: translateX(6px);
border-bottom-color: var(--text-tertiary);
}

    .step-number {
width: 44px;
height: 44px;
background: var(--step-bg);
color: var(--step-text);
border-radius: 60px;
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
font-weight: 800;
flex-shrink: 0;
}

    .step-text {
font-size: 17px;
font-weight: 600;
color: var(--text-primary);
}

    .support-actions {
display: flex;
justify-content: center;
gap: 18px;
flex-wrap: wrap;
margin-top: 32px;
}

/* Photo stack — DEFAULT (mobile-first, same as original) */
    .bubbles-stack {
display: flex;
flex-direction: row-reverse;
justify-content: center;
margin-bottom: 32px;
margin-top: 16px;
}

    .bubble {
width: 56px;
height: 56px;
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--bg-body);
box-shadow: 0 12px 22px -10px rgba(0,0,0,0.15);
transition: transform 0.2s ease;
}

    .bubble:not(:first-child) {
margin-right: -14px;
}

    .bubble:hover {
transform: translateY(-6px) scale(1.02);
}

/* DESKTOP ONLY: make the stacked images larger — THE ONLY CHANGE FOR LARGE SCREENS */
@media (min-width: 1024px) {
    .bubble {
width: 92px;
height: 92px;
border-width: 4px;
}
    .bubble:not(:first-child) {
margin-right: -24px;
}
}

/* For extra large screens, slightly more breathing but still respects design */
@media (min-width: 1440px) {
    .bubble {
width: 110px;
height: 110px;
}
    .bubble:not(:first-child) {
margin-right: -28px;
}
}

    .footer {
text-align: center;
margin-top: 48px;
padding: 40px 24px 24px;
}

    .footer-line {
width: 60px;
height: 3px;
background: var(--footer-line);
border-radius: 10px;
margin: 0 auto 24px;
opacity: 0.3;
}

    .footer-text {
font-size: 13px;
font-weight: 600;
letter-spacing: 0.03em;
text-transform: uppercase;
color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .container { padding: 16px 16px 48px; }
    .hero { padding: 40px 16px 40px; }
    .hero h1 { font-size: 52px; }
    .hero-subtitle { font-size: 15px; }
    .btn { padding: 12px 28px; font-size: 14px; }
    .section { padding: 40px 16px; }
    .title { font-size: 32px; }
    .text { font-size: 15px; }
    .step { gap: 14px; padding: 10px 12px; }
    .step-number { width: 36px; height: 36px; font-size: 18px; }
    .step-text { font-size: 14px; }
    .bubble { width: 54px; height: 54px; }
    .nav-bar { top: 12px; }
}

@media (max-width: 580px) {
    .nav-container { flex-wrap: wrap; border-radius: 40px; padding: 8px 16px; gap: 8px; }
    .lang-toggle { margin-left: 0; }
}

@media (max-width: 480px) {
    .container { padding: 16px 12px 32px; }
    .hero { padding: 32px 12px 32px; }
    .grace-logo { width: 70px; height: 70px; }
    .hero h1 { font-size: 42px; }
    .btn { padding: 10px 22px; font-size: 13px; }
    .title { font-size: 28px; }
    .step { flex-direction: row; gap: 12px; }
    .step-number { width: 32px; height: 32px; font-size: 16px; }
    .support-actions { flex-direction: column; align-items: center; }
    .support-actions .btn { width: auto; min-width: 180px; }
    .bubble { width: 54px; height: 54px; }
    .bubble:not(:first-child) { margin-right: -8px; }
}

/* On desktop (1024+), no changes besides image sizes; all other layout identical */
@media (min-width: 1400px) {
    .grace-logo { width: 150px; height: 150px; }
}

    .reveal {
opacity: 0;
transform: translateY(28px);
transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.7s ease;
}

    .reveal.in {
opacity: 1;
transform: translateY(0);
}

/* Smooth anchor scroll offset */
html {
scroll-behavior: smooth;
scroll-padding-top: 90px;
}

        
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto; /* Allow vertical scrolling */
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Prevent large elements from causing overflow */
img, video, iframe, table {
    max-width: 100%;
    height: auto;
}

/* For code blocks or preformatted text */
pre, code {
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
}
