/*
 Theme Name:   ascf
 Theme URI:    https://allstarchildren.org
 Description:  All Star Children's Foundation Theme
 Author:       Jay Ow
 Author URI:   https://webemissary.com
 Template:     generatepress
 Version:      0.1
*/

body {font-family: "omnes-pro", sans-serif; font-size: 20px;}

h1, h2 {color: var(--contrast)}


/* CSS Media Query Framework
 * Mobile First Approach
 * 
 * Breakpoints:
 * - Small phones: 0-375px
 * - Phones: 376px-767px
 * - Tablets: 768px-1023px
 * - Small laptops/desktops: 1024px-1279px
 * - Large desktops: 1280px+
 */

/* Base styles (mobile first) */
:root {
  --container-padding: 1rem;
}

/* Default styles for smallest screens */
.page-default-content {
  padding: var(--container-padding);
  width: 100%;
  margin: 0 auto;
}

/* Small Phones (0-375px) */

#generate-slideout-menu { width: 85%}
.main-navigation .main-nav ul li a {font-size: 1.25rem}
.main-navigation .main-nav ul ul li a {padding: 13px 0 13px 10%; font-size: 1rem;}
.gp-icon.icon-menu-bars, .gp-icon.icon-search {font-size: 25px;}


/* Phones (376px+) */
@media screen and (min-width: 376px) {
  :root {
    --container-padding: 1.5rem;
  }
  
  /* Phone-specific styles */
}

/* Tablets (768px+) */
@media screen and (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }
	
  .main-navigation .menu-bar-items {display: none;}
  
  /* Tablet-specific styles */
}

/* Small Laptops/Desktops (1024px+) */
@media screen and (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
  .main-navigation .main-nav ul li a {font-size: 1rem}

  
  /* Small desktop-specific styles */
}

/* Large Desktops (1280px+) */
@media screen and (min-width: 1280px) {
  .container {
    max-width: 1200px;
  }
  
  /* Large desktop-specific styles */
}

/* Device Orientation */
/* Portrait */
@media screen and (orientation: portrait) {
  /* Portrait-specific styles */
}

/* Landscape */
@media screen and (orientation: landscape) {
  /* Landscape-specific styles */
}

/* Combined queries for specific cases */
/* Tablets in landscape */
@media screen 
  and (min-width: 768px) 
  and (max-width: 1023px) 
  and (orientation: landscape) {
  /* Tablet landscape specific styles */
}

/* High-DPI Screens (Retina) */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
  /* High-DPI specific styles */
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    /* Dark mode variables */
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  /* Reduced motion styles */
}

/* Print Styles */
@media print {
  /* Print-specific styles */
}

/* Usage Example */
.responsive-element {
  /* Base mobile styles */
  font-size: 16px;
  padding: 1rem;
}

@media screen and (min-width: 768px) {
  .responsive-element {
    /* Tablet styles */
    font-size: 18px;
    padding: 1.5rem;
  }
}

@media screen and (min-width: 1024px) {
  .responsive-element {
    /* Desktop styles */
    font-size: 20px;
    padding: 2rem;
  }
}


.foster-parent-form label {font-weight: normal !important; font-size: .75em !important;}
.foster-parent-form input {border-color: #268ebf !important;}
.foster-parent-form .btn.btn-default {background-color: #268ebf !important;}
/* Off Canvas Overlay */ .offcanvas-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 9998; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .offcanvas-overlay.show { opacity: 1; visibility: visible; } /* Off Canvas Panel */ .offcanvas-panel { position: fixed !important; top: 80px !important; right: -400px !important; width: 400px !important; max-width: 90vw !important; height: 100vh !important; background: white !important; z-index: 9999 !important; transition: right 0.3s ease !important; box-shadow: -5px 0 20px rgba(0,0,0,0.1) !important; overflow-y: auto !important; padding: 20px !important; box-sizing: border-box !important; } .offcanvas-panel.show { right: 0 !important; } /* Close Button */ .offcanvas-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; cursor: pointer; color: #666; padding: 5px; border-radius: 4px; z-index: 10000; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; } .offcanvas-close:hover { background: #f0f0f0; } /* Prevent body scroll when open */ body.no-scroll { overflow: hidden; } /* Mobile responsive */ @media (max-width: 768px) { .offcanvas-panel { width: 90vw !important; top: 100px !important;} }


/* Homepage Video Hero CSS*/
.video-hero {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio container */
    overflow: hidden;
    background-color: #000;
}

#player {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%; /* Enlarged to ensure coverage */
    height: 150%; /* Enlarged to ensure coverage */
    transform: translate(-50%, -50%); /* Center the player */
    pointer-events: none; /* Prevents clicking on YouTube controls */
}

#player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover ensures no black bars */
}

/* Video text overlay styles */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    padding: 2rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
}

.overlay-title {
    color: var(--contrast-2);
    font-size: 5.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
     font-style: italic;
}

.subtitle {
    display: block;
color: #fff;
    font-size: 2.5rem;
    font-weight: 400;
    margin-top: 0.5rem;
    opacity: 0.9;
    font-style:italic;
    text-transform: uppercase; 
     letter-spacing: 5px; 

}

/* Responsive text sizing */
@media (max-width: 768px) {
    .overlay-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
	
	
	.top-bar-donate-btn {	position: relative; top: 0px;}

	.top-banner-links .top-bar-donate-btn button {width: 200px !important; 
	color: #ffffff ;
		font-weight: bold;
		display: block;
		margin-left: 1em !important ;
		background-color: var(--accent) !important;
		font-style: none;
		text-decoration: none;
		border-radius: 10px !important;
		padding: 10px 20px !important;
		font-size: 20px !important;
		font-weight: bold !important;
		font-family: 'omnes-pro' !important;

	}
	
	
}

@media (max-width: 480px) {
    .overlay-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}

.custom-pause-button {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    z-index: 10;
}

.custom-pause-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.custom-pause-button svg {
    width: 24px;
    height: 24px;
    color: white;
}

.hidden {
    display: none;
}


#rd-modal-container .rd-w-full {min-width: 200px !important}

#raise-donors .rd-w-full {min-width: 0 !important;}
.rd-button button, #raise-donors button.btn-lg { }

#raise-donors button.btn-lg {    width: 70%;}

@media (min-width: 768px) {

.top-bar-donate-btn {	position: relative; top: 0px;}

.top-banner-links .top-bar-donate-btn button, .inside-navigation #raise-donors button {width: 200px !important; 
color: #ffffff ;
    font-weight: bold;
    display: block;
    margin-left: 1em !important ;
    background-color: var(--accent) !important;
    font-style: none;
    text-decoration: none;
    border-radius: 10px !important;
    padding: 10px 20px !important;
	font-size: 20px !important;
    font-weight: bold !important;
    font-family: 'omnes-pro' !important;

}
}

