/*
 Theme Name: Psychology Therapist Child
 Template: psychology-therapist
*/
@import url("../psychology-therapist/style.css");

:root {
    /* Peach Theme */
    --primary-bg-color: #FFF8F0;
    --accent-color: #FFDAB9;
    --secondary-accent-color: #6B705C;
    --text-color: #333333;
    --heading-color: #222222;
    --link-color: #FFDAB9;
    --link-hover-color: #E0B080;
}

body.graphite-theme {
    /* Graphite Theme */
    --primary-bg-color: #2C2C2C;
    --accent-color: #4A4A4A;
    --secondary-accent-color: #888888;
    --text-color: #E0E0E0;
    --heading-color: #F0F0F0;
    --link-color: #A0A0A0;
    --link-hover-color: #C0C0C0;
}

/* Apply variables to common elements */
body {
    background-color: var(--primary-bg-color);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
}

a {
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover-color);
}

/* Example of applying to specific elements from parent theme */
/* You may need to add more specific overrides based on your theme's structure */
.main-navigation a {
    color: var(--heading-color); /* Adjust menu link color */
}

.main-navigation ul ul a {
    color: var(--text-color); /* Submenu link color */
}

.main-navigation ul li.current_page_item a, .main-navigation li a:hover {
    color: var(--link-hover-color); /* Active/hover menu item */
}

.header_btn a {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.header_btn a:hover {
    background-color: var(--link-hover-color);
}

#topbar .email-box i, #topbar .call-box i, #topbar .location i {
    color: var(--accent-color);
}

#topbar .topbar_btn a {
    background-color: var(--accent-color);
    color: var(--text-color);
}

#topbar .topbar_btn a:hover {
    background-color: var(--link-hover-color);
}

#footer {
    background: var(--secondary-accent-color); /* Example for footer background */
    color: var(--text-color);
}

#footer h3, #footer p, #footer li a {
    color: var(--heading-color);
}

/* Video Background Styles */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Ensure it's behind content */
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Cover the entire area */
}

/* Ensure content is visible over video */
#maincontent {
    position: relative;
    z-index: 1;
    background-color: rgba(var(--primary-bg-color-rgb, 255, 248, 240), 0.8); /* Semi-transparent background for content */
    padding: 3em 0; /* Adjust as needed */
}

/* For the graphite theme, adjust the overlay */
body.graphite-theme #maincontent {
    background-color: rgba(var(--primary-bg-color-rgb, 44, 44, 44), 0.8);
}

/* Define RGB values for transparency */
:root {
    --primary-bg-color-rgb: 255, 248, 240; /* Peach RGB */
}

body.graphite-theme {
    --primary-bg-color-rgb: 44, 44, 44; /* Graphite RGB */
}

