/*
Theme Name: RISE Wellness
Theme URI: https://risewellness.org
Author: RISE Wellness Team
Author URI: https://risewellness.org
Description: Alaska Native-focused recovery support services theme with cultural design elements
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rise-wellness
*/

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

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

:root {
    --primary-teal: #1a6b5f;
    --dark-teal: #0d4b42;
    --light-teal: #2d8a7d;
    --accent-green: #3fa896;
    --text-dark: #2c2c2c;
    --text-light: #5a5a5a;
    --text-white: #ffffff;
    --background-white: #ffffff;
    --background-light: #f5f5f5;
    --emergency-red: #d32f2f;
    --link-teal: #1a6b5f;
    --hero-teal: #063d32;
    --shadow-color: 0deg 0% 62%;
  --shadow-color: 0deg 0% 0%;
  --shadow-elevation-low:
    0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.1),
    0.4px 0.8px 1px -1.2px hsl(var(--shadow-color) / 0.1),
    1px 2px 2.5px -2.4px hsl(var(--shadow-color) / 0.11);
  --shadow-elevation-medium:
    0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.09),
    0.7px 1.3px 1.7px -0.6px hsl(var(--shadow-color) / 0.09),
    1.3px 2.6px 3.3px -1.2px hsl(var(--shadow-color) / 0.09),
    2.6px 5.2px 6.6px -1.8px hsl(var(--shadow-color) / 0.09),
    5.1px 10.1px 12.8px -2.4px hsl(var(--shadow-color) / 0.09);
  --shadow-elevation-high:
    0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.08),
    1.2px 2.5px 3.1px -0.3px hsl(var(--shadow-color) / 0.08),
    2.2px 4.4px 5.6px -0.5px hsl(var(--shadow-color) / 0.08),
    3.3px 6.7px 8.5px -0.8px hsl(var(--shadow-color) / 0.08),
    4.9px 9.7px 12.3px -1.1px hsl(var(--shadow-color) / 0.08),
    7px 13.9px 17.6px -1.4px hsl(var(--shadow-color) / 0.08),
    9.9px 19.8px 25.1px -1.6px hsl(var(--shadow-color) / 0.08),
    13.8px 27.6px 34.9px -1.9px hsl(var(--shadow-color) / 0.08),
    18.9px 37.9px 48px -2.2px hsl(var(--shadow-color) / 0.08),
    25.5px 51px 64.6px -2.4px hsl(var(--shadow-color) / 0.08);
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);

}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 300;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--link-teal);
    text-decoration: none;
    transition: all 0.1s ease;
}

a:hover {
    color: var(--accent-green);
    /*opacity: 0.8;*/
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.eyebrow{
    font-size: 0.9rem;
    color: var(--link-teal);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
      font-weight: bold; 
}
.full-width{
    width: 100% !important; 
    max-width: 100% !important; 
}
/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
   background-color: var(--primary-teal);
   background-image: url("/wp-content/themes/rise/images/45-degree-fabric-dark.png");
    padding: 1.5rem 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-top: 10px solid var(--dark-teal);
}
.site-header.scroll-down {
    transform: translateY(-100%);
    opacity: 0;
}

.site-header.scroll-up {
    transform: translateY(0);
    opacity: 1;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo {
    display: block;
}



.logo img{
    transition: all 0.3s ease;
    width: 97px; 
    position:absolute;
    top:0px;
}
.big-logo img{
    width:250px; 
    top:-30px;
}

.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation a {
    color: var(--text-white);
    font-size: 1.15rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
    text-decoration: none;
 font-family: "Kedebideri", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.main-navigation a:hover {
    opacity: 0.4;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
background-color: var(--primary-teal);
  background-image: url('/wp-content/themes/rise/images/logotransparentLarge.png');
  background-repeat: no-repeat;
     background-position: left -500px top -400px;
    background-size: 1500px auto;
}

.hero-container {
    max-width: 1400px;
    margin: 100px auto 120px;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: .7fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--text-white);
    margin-bottom: 30px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: normal;
    margin-bottom: 2rem;
    color: var(--text-white);
}

.hero-subtitle, .hero-content h1 strong{
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: "Just Me Again Down Here", cursive;
    color: var(--hero-teal);
    font-weight: bold; 
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    padding-right: 100px;
}

.hero-image {
    position: relative;
    overflow: hidden;
   
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Emergency Help Section
   ========================================================================== */

.emergency-section {
    background-color: var(--background-light);
    padding: 80px 40px 0px;
    position:relative;
}

.emergency-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white; 
    border-radius: 30px; 
    padding: 60px;
    margin-top: -170px;
    box-shadow: var(--shadow-elevation-medium);
    align-items: flex-start;
    display:flex;

}
.emergency-container > div:first-child {
  /* The first inner div (the 60% column) */
  flex-basis: 60%;
  padding-right: 100px; /* Optional: Adds space between the columns */
}

.emergency-container > div:nth-child(2) {
  /* The second inner div (the 40% column) */
  flex-basis: 40%;
}

.emergency-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    margin-top:40px;
}

.emergency-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.emergency-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.emergency-card {
    padding: 1rem;
    text-align: center;
}

.emergency-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--text-dark);
    font-family: "Roboto", sans-serif;
    }

.emergency-card .phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--emergency-red);
    margin: 0 0 1rem 0;
    display: block;
}

.emergency-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================================================
   Get Involved Section
   ========================================================================== */

.get-involved-section {
    background-color: var(--background-light);
    padding: 80px 40px;
}

.get-involved-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.get-involved-section .eyebrow{
    text-align: center; 
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.involvement-item {
    text-align: center;
    background: #fff; 
    border-radius: 30px;
    padding: 30px; 
    border: 1px solid #eceef4;
    display:flex;
    flex-direction: column;
}

.involvement-icon {
    width: 120px;
    height: 120px;
    background-color: var(--dark-teal);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.involvement-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: "Roboto", sans-serif;
    font-weight: bold;
}

.involvement-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-link {
    color: var(--link-teal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    align-self: flex-end;
    font-size:1.1rem;

}

.btn-link:hover {
    gap: 0.8rem;
}

.btn-link::after {
    content: '→';
}

/* ==========================================================================
   Programs & Services Section
   ========================================================================== */

.programs-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/themes/rise/images/programs2.jpg');
    background-size: cover;
    background-position: 50% 50%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index:1;
    min-height: 500px;
}
   .programs-section {
    padding: 0;
    background: transparent;
    position:relative; 
    
}

.programs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 0 auto;
}

.programs-image {
    position: relative;
    min-height: 600px;
}

.programs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.programs-content {
    background-color: var(--background-white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 60px 30px 150px; 
    border-radius: 30px; 
    z-index:2;
    box-shadow: var(--shadow-elevation-high)
}



.programs-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.programs-content p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Who We Are Section
   ========================================================================== */

.who-we-are-section {
    background-color: var(--background-white);
    padding: 80px 40px;
}

.who-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .8fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.who-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}



.who-content p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.statement-box {
    margin-bottom: 2.5rem;
}

.statement-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.who-images {
  display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
  gap: 20px;
  height: 100%;
  padding: 20px;
}

.who-image-placeholder {
background: #d1d5db;
  border-radius: 24px;
}
.who-images div{
        background-size: cover;
    background-position-x: center;
    transition: all 0.2s ease;
 
}
.who-images div:hover{
      transform: rotate(3deg) scale(1.05); /* Rotate 5 degrees clockwise on hover */
         box-shadow:var(--shadow-elevation-high);
         
}
.who-image-placeholder.item1 {
         grid-row: span 2 / span 2;

}
.who-image-placeholder.item2 {
         grid-row: span 4 / span 3;
    grid-column-start: 2;
    grid-row-start: 2;
}
.who-image-placeholder.item3 {
     grid-row: span 4 / span 3;
    grid-row-start: 3;
}

/* ==========================================================================
   Core Values Section
   ========================================================================== */

.core-values-section {
    background-color: var(--background-light);
    padding: 80px 0px;
    background-image: url("/wp-content/themes/rise/images/snow.png");
}

.core-values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.values-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.values-carousel {
    /* max-width: 1200px; */
    margin: 0 auto;
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.value-card {
    background: #fff; 
    border-radius: 30px;
    padding:  60px 30px; 
    border: 1px solid #dedfe4;

}
    
 

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--link-teal);
    font-family: "Roboto", sans-serif;
    text-align:left; 
    font-weight: 500;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.carousel-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #d4d4d4;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    border:3px solid var(--link-teal);
}
.controls{
    margin: 10px auto; 
    display:table;
}
.controls button{
    border: none;
    border-radius: 30px;
    background: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.controls button:hover{
    opacity: .9;
    background: #fff;
    transform: scale(.9);
}
.glide__slide{
 transition: all 0.2s ease;
 opacity:.8;
}
.glide__slide--active{
   
    transform:  scale(1.05); /* Rotate 5 degrees clockwise on hover */
         box-shadow:var(--shadow-elevation-medium);
         opacity: 1;
}
.glide__slides {
padding: 30px !important; 


}
/* ==========================================================================
   Footer CTA Section
   ========================================================================== */

.footer-cta-section {
   
    padding: 0px 40px 0;
    color: var(--text-white);
    grid-column: span 3 / span 3;
    
}

.footer-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #306a5b;
    padding:0 0 60px;
}

.footer-cta-text {
    font-size: 1.8rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0;
    padding: 0;
}

.footer-cta-button {
    background-color: transparent;
    color: var(--text-white);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border:none;
}

.footer-cta-button:hover {
    background-color: var(--text-white);
    color: var(--dark-teal);
}

.footer-cta-button::after {
    content: '→';
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--dark-teal);
    background-image: url('/wp-content/themes/rise/images/treefooter2.png');
    background-repeat: no-repeat;
    background-position: right 00px top 40px;
    background-size: 921px auto;
    color: var(--text-white);
    padding: 60px 40px 30px;
}

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

.footer-branding {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--text-white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}




.ParallaxVideo video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}



/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container,
    .programs-container,
    .who-container {
        grid-template-columns: 1fr;
    }
    
    .values-grid,
    .involvement-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-teal);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-cta-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .emergency-cards {
        grid-template-columns: 1fr;
    }
}