/*========================================================

CHANGED

TERMS OF USE STYLESHEET

Author: Bradley Hobbs
Version: 1.0

PART 1

========================================================*/


/*========================================================
ROOT VARIABLES
========================================================*/

:root{

--navy:#1d2947;
--navy-light:#30406b;

--purple:#65459d;
--purple-light:#8366ba;

--teal:#2c9eb8;
--teal-light:#76d2df;

--gold:#c8a45d;
--gold-light:#e5cb91;

--cream:#f8f3ea;
--ivory:#fffdf9;

--charcoal:#303030;
--gray:#666666;

--white:#ffffff;

--border:#ece6db;

--shadow:0 20px 50px rgba(0,0,0,.10);
--shadow-large:0 32px 80px rgba(0,0,0,.16);

--radius:18px;

--transition:.35s ease;

--width:1200px;
--narrow:860px;

}


/*========================================================
RESET
========================================================*/

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:"Inter",sans-serif;

font-size:18px;

line-height:1.9;

background:var(--cream);

color:var(--charcoal);

overflow-x:hidden;

-webkit-font-smoothing:antialiased;

text-rendering:optimizeLegibility;

}


/*========================================================
BACKGROUND
========================================================*/

body::before{

content:"";

position:fixed;

inset:0;

background-image:

radial-gradient(

rgba(200,164,93,.05) 1px,

transparent 1px

);

background-size:42px 42px;

pointer-events:none;

z-index:-1;

}


/*========================================================
TYPOGRAPHY
========================================================*/

h1,
h2,
h3,
h4,
h5,
h6{

font-family:"Cinzel",serif;

font-weight:600;

line-height:1.2;

color:var(--navy);

margin-bottom:28px;

}

h1{

font-size:clamp(2.8rem,5vw,4.5rem);

}

h2{

font-size:clamp(2rem,4vw,2.8rem);

}

h3{

font-size:1.6rem;

}

p{

margin-bottom:28px;

}

strong{

font-weight:700;

}

em{

font-family:"Cormorant Garamond",serif;

font-style:italic;

}

blockquote{

font-family:"Cormorant Garamond",serif;

font-size:2rem;

font-style:italic;

line-height:1.7;

color:var(--purple);

text-align:center;

margin:60px auto;

max-width:760px;

}


/*========================================================
LINKS
========================================================*/

a{

text-decoration:none;

color:inherit;

transition:var(--transition);

}

a:hover{

color:var(--purple);

}


/*========================================================
IMAGES
========================================================*/

img{

display:block;

max-width:100%;

height:auto;

}


/*========================================================
LAYOUT
========================================================*/

.container{

width:min(92%,var(--width));

margin:auto;

}

.narrow{

max-width:var(--narrow);

margin:auto;

}

section:not(.hero){

padding:110px 0;

position:relative;

}


/*========================================================
PROGRESS BAR
========================================================*/

#progress-bar{

position:fixed;

top:0;
left:0;

width:0;
height:4px;

background:

linear-gradient(

90deg,

var(--purple),

var(--teal)

);

z-index:3000;

}


/*========================================================
NAVIGATION
========================================================*/

.navbar{

position:sticky;

top:0;

background:rgba(248,243,234,.97);

backdrop-filter:blur(18px);

-webkit-backdrop-filter:blur(18px);

box-shadow:0 8px 30px rgba(0,0,0,.08);

z-index:2000;

}

.navbar .container{

display:flex;

justify-content:space-between;

align-items:center;

padding:20px 0;

}


/*========================================================
LOGO
========================================================*/

.logo{

font-family:"Cinzel",serif;

font-size:2rem;

font-weight:700;

letter-spacing:2px;

color:var(--navy);

}

.logo:hover{

color:var(--gold);

}


/*========================================================
NAVIGATION MENU
========================================================*/

.navigation{

display:flex;

align-items:center;

justify-content:flex-end;

gap:38px;

margin:0;

padding:0;

list-style:none;

}

.navigation a{

display:inline-block;

position:relative;

font-family:"Inter",sans-serif;

font-size:1rem;

font-weight:600;

line-height:1.4;

color:var(--navy);

padding:6px 0;

white-space:nowrap;

}

.navigation a::after{

content:"";

position:absolute;

left:0;

bottom:0;

width:0;

height:2px;

background:var(--gold);

transition:var(--transition);

}

.navigation a:hover::after,
.navigation a.active::after{

width:100%;

}

.navigation a.active{

color:var(--purple);

}


/*========================================================
MOBILE NAVIGATION
========================================================*/

.nav-toggle{

display:none;

background:none;

border:none;

cursor:pointer;

}

.nav-toggle span{

display:block;

width:30px;

height:3px;

margin:6px 0;

background:var(--navy);

border-radius:999px;

transition:var(--transition);

}


/*========================================================
HERO
========================================================*/

.hero{

margin:0;

padding:30px 0 50px;

line-height:0;

background:var(--ivory);

}

.hero-banner{

display:block;

width:min(90%,1100px);

max-width:1100px;

height:auto;

margin:0 auto;

border-radius:var(--radius);

box-shadow:0 20px 60px rgba(0,0,0,.12);

}


/*========================================================
CHAPTER HEADER
========================================================*/

.chapter-header{

background:

linear-gradient(

180deg,

var(--ivory),

var(--cream)

);

text-align:center;

}

.chapter-label{

display:inline-block;

margin-bottom:20px;

font-size:.9rem;

font-weight:700;

letter-spacing:5px;

text-transform:uppercase;

color:var(--gold);

}

.chapter-header h1{

max-width:820px;

margin-inline:auto;

margin-bottom:30px;

}

.chapter-subtitle{

max-width:720px;

margin-inline:auto;

font-size:1.15rem;

line-height:2;

color:var(--gray);

}

.chapter-divider{

width:180px;

height:2px;

margin:50px auto 0;

background:

linear-gradient(

90deg,

transparent,

var(--gold),

transparent

);

}


/*========================================================
END OF PART 1
========================================================*/

/*========================================================
CHAPTER CONTENT
========================================================*/

.chapter-content{

background:var(--white);

}

.chapter-content .container{

max-width:800px;

}

.chapter-content p{

font-size:1.08rem;

line-height:2;

color:var(--charcoal);

}

.chapter-content p:last-child{

margin-bottom:0;

}


/*========================================================
REFLECTION HEADINGS
========================================================*/

.reflection-heading{

text-align:center;

margin:70px auto 35px;

color:var(--navy);

position:relative;

}

.reflection-heading::after{

content:"";

display:block;

width:80px;

height:2px;

margin:18px auto 0;

background:var(--gold);

}


/*========================================================
TEXT EMPHASIS
========================================================*/

.chapter-content strong{

color:var(--navy);

}

.chapter-content em{

color:var(--purple);

}


/*========================================================
CHAPTER CALLOUT
========================================================*/

.chapter-callout{

margin:90px auto;

padding:65px;

border-radius:var(--radius);

background:

linear-gradient(

135deg,

var(--purple),

var(--teal)

);

color:var(--white);

text-align:center;

box-shadow:var(--shadow-large);

position:relative;

overflow:hidden;

}

.chapter-callout::before{

content:"";

position:absolute;

top:-70px;

right:-70px;

width:190px;

height:190px;

border-radius:50%;

background:rgba(255,255,255,.08);

}

.callout-label{

display:inline-block;

margin-bottom:18px;

font-size:.85rem;

font-weight:700;

letter-spacing:4px;

text-transform:uppercase;

color:rgba(255,255,255,.85);

position:relative;

z-index:2;

}

.chapter-callout h2{

color:var(--white);

margin-bottom:25px;

position:relative;

z-index:2;

}

.chapter-callout p{

max-width:700px;

margin:0 auto 20px;

color:rgba(255,255,255,.95);

position:relative;

z-index:2;

}

.chapter-callout p:last-child{

margin-bottom:0;

}


/*========================================================
CHAPTER NAVIGATION
========================================================*/

.chapter-navigation{

background:

linear-gradient(

180deg,

var(--ivory),

var(--cream)

);

border-top:1px solid var(--border);

}

.chapter-navigation .container{

width:min(92%,1200px);

margin:0 auto;

display:grid;

grid-template-columns:minmax(0,1fr) 255px minmax(0,1fr);

gap:35px;

align-items:center;

}

.chapter-link{

display:flex;

flex-direction:column;

justify-content:center;

min-height:130px;

padding:28px 34px;

background:var(--white);

border-radius:var(--radius);

box-shadow:var(--shadow);

transition:var(--transition);

border:1px solid transparent;

}

.chapter-link:hover{

transform:translateY(-8px);

box-shadow:var(--shadow-large);

}

.chapter-link span{

font-size:.85rem;

font-weight:700;

letter-spacing:2px;

text-transform:uppercase;

color:var(--gold);

margin-bottom:10px;

}

.chapter-link strong{

font-family:"Cinzel",serif;

font-size:1.15rem;

color:var(--navy);

}

.previous{

text-align:left;

}

.center-link{

text-align:center;

align-items:center;

}

.next{

text-align:right;

align-items:flex-end;

}


/*========================================================
END OF PART 2
========================================================*/

/*========================================================
FOOTER
========================================================*/

footer{

background:var(--navy);

padding:100px 0 60px;

color:var(--white);

text-align:center;

}

.footer-brand h2{

color:var(--white);

margin-bottom:15px;

}

.footer-brand p{

margin-bottom:45px;

color:rgba(255,255,255,.75);

}

.footer-navigation{

display:flex;

justify-content:center;

align-items:center;

flex-wrap:wrap;

gap:35px;

margin-bottom:50px;

}

.footer-navigation a{

font-weight:600;

color:rgba(255,255,255,.92);

transition:var(--transition);

}

.footer-navigation a:hover{

color:var(--gold-light);

}

.footer-scripture{

max-width:760px;

margin:0 auto 45px;

}

.footer-scripture p{

font-family:"Cormorant Garamond",serif;

font-size:1.45rem;

font-style:italic;

line-height:1.8;

margin-bottom:15px;

}

.footer-scripture span{

display:block;

font-weight:700;

letter-spacing:2px;

text-transform:uppercase;

color:var(--gold-light);

}

.copyright{

margin-top:40px;

font-size:.95rem;

opacity:.75;

}


/*========================================================
SCROLL TO TOP
========================================================*/

#scrollTop{

position:fixed;

right:30px;

bottom:30px;

width:58px;

height:58px;

border:none;

border-radius:50%;

background:

linear-gradient(

135deg,

var(--purple),

var(--teal)

);

color:var(--white);

font-size:1.3rem;

cursor:pointer;

box-shadow:var(--shadow);

opacity:0;

visibility:hidden;

transition:var(--transition);

z-index:1000;

}

#scrollTop.show{

opacity:1;

visibility:visible;

}

#scrollTop:hover{

transform:translateY(-6px);

box-shadow:var(--shadow-large);

}


/*========================================================
TABLET
========================================================*/

@media (max-width:900px){

.navigation{

position:fixed;

top:82px;

right:-100%;

width:320px;

height:calc(100vh - 82px);

background:var(--ivory);

display:flex;

flex-direction:column;

align-items:flex-start;

padding:45px;

gap:25px;

box-shadow:-12px 0 40px rgba(0,0,0,.12);

transition:var(--transition);

}

.navigation.active{

right:0;

}

.navigation a{

color:var(--navy)!important;

}

.nav-toggle{

display:block;

}

.chapter-content{

padding:90px 0;

}

.chapter-callout{

padding:50px 35px;

}

.chapter-navigation .container{

grid-template-columns:1fr;

gap:25px;

}

.previous,
.center-link,
.next{

text-align:center;

align-items:center;

}

.footer-navigation{

gap:20px;

}

}


/*========================================================
MOBILE
========================================================*/

@media (max-width:640px){

.hero{

padding:20px 0 35px;

}

.hero-banner{

width:94%;

border-radius:12px;

}

body{

font-size:17px;

line-height:1.8;

}

.container{

width:92%;

}

section:not(.hero){

padding:80px 0;

}

.logo{

font-size:1.6rem;

}

h1{

font-size:2.4rem;

}

h2{

font-size:1.9rem;

}

.chapter-subtitle{

font-size:1.05rem;

}

.chapter-content p{

font-size:1rem;

}

.chapter-callout{

padding:40px 25px;

}

.chapter-link{

padding:24px;

text-align:center;

align-items:center;

}

.footer-navigation{

flex-direction:column;

gap:18px;

}

.footer-scripture p{

font-size:1.2rem;

}

}


/*========================================================
ACCESSIBILITY
========================================================*/

a:focus,
button:focus{

outline:3px solid var(--gold);

outline-offset:4px;

}

button{

font-family:inherit;

}

img{

max-width:100%;

height:auto;

}


/*========================================================
REDUCED MOTION
========================================================*/

@media (prefers-reduced-motion:reduce){

*{

animation:none!important;

transition:none!important;

scroll-behavior:auto!important;

}

}


/*========================================================
PRINT
========================================================*/

@media print{

.navbar,
#progress-bar,
#scrollTop,
.chapter-navigation,
footer{

display:none;

}

body{

background:#ffffff;

color:#000000;

}

section{

padding:30px 0;

}

}


/*========================================================
END OF FILE

CHANGED

TERMS OF USE STYLESHEET

Author:
Bradley Hobbs

Version:
1.0

========================================================*/
