/* === Reset and General Styles === */
/*
Theme Name: Custom8
Theme URI: https://www.custom8pro.com
Author: Custom8
Description: Custom theme for Tricircula band
Version: 1.0
*/

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Dynamic background */
    font-family: var(--global-font-family, Arial, sans-serif); /* Dynamic font */
    font-size: var(--global-font-size, 16px); /* Base font size */
    line-height: 1.6; /* Consistent line spacing */
    color: var(--global-text-color, #333) !important; /* Base text color */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    box-sizing: border-box; /* Include padding and border in width/height */
}

/* Root Variables */
:root {
    --global-bg-color: transparent; /* Or set your preferred background color */
}

/* === Reset for Specific Containers === */
.menu-container {
    background-color: transparent; /* Removes white background */
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font-family, Arial, sans-serif);
    font-weight: var(--heading-font-weight, bold);
    color: var(--heading-text-color, #ffffff);
    margin: 0 0 10px;
}

p {
    margin: 0 0 10px;
    color: var(--global-text-color, var(--paragraph-text-color, #ffffff)); /* Prioritizes global font color */
}

/* === Navigation Styles === */

nav {
    width: 100%;
    background-color: transparent; /* Transparent navigation bar */
    padding: 10px 0;
}

nav .menu-items {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    gap: var(--menu-gap, 15px); /* Dynamic spacing */
    margin: 0;
    padding: 0;
    transition: all 0.3s ease; /* Smooth transition for toggling */
}

nav .menu-items a {
    text-decoration: none;
    color: var(--menu-text-color, #333); /* Dynamic text color */
    background-color: transparent;
    font-size: var(--menu-font-size, 16px);
    padding: 5px 10px;
    border-radius: 4px; /* Optional: Rounded links */
    transition: color 0.3s ease, background-color 0.3s ease; /* Smooth hover */
}

nav .menu-items a:hover {
    color: var(--menu-hover-color, #007bff); /* Hover text color */
    background-color: var(--menu-hover-bg-color, rgba(0, 123, 255, 0.1)); /* Optional: Hover background */
}

/* Default Hamburger Menu Styling */
.hamburger-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9999;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--menu-text-color, #ffb400); /* Match link color */
    margin: 5px 0;
}

/* Mobile Portrait Styles */
@media (max-width: 768px) {
    nav .menu-items {
        display: none !important; /* Hide menu by default on smaller screens */
    }

    nav .menu-items.menu-active {
        display: flex !important; /* Show menu when toggled */
        flex-direction: column;
        align-items: center;
        gap: 10px;
        position: absolute;
        top: 10px; /* Adjust position below the hamburger button */
        right: 0;
        background-color: none; /* Add background for clarity */
        padding: 10px;
        z-index: 999; /* Ensure it stays above other elements */
    }

    .hamburger-menu {
        display: block; /* Show hamburger menu button */
    }
}

ul li {
    background-color: inherit; /* Inherit parent background */
}

.menu-container {
    max-width: 100vw; /* Prevents menu from going past the screen */
    overflow: hidden; /* Hides extra content that spills over */
}

/* === Footer Styles === */
footer {
    width: 100%;
    position: relative;
    text-align: center;
    margin-top: auto;
    padding: 20px 0;
    background-color: var(--footer-bg-color, #f8f9fa); /* Dynamic background */
    color: var(--footer-text-color, #666); /* Dynamic text color */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover */
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--footer-background-image);
    z-index: -1; /* Push the image to the back */
}

footer:hover {
    background-color: var(--footer-hover-bg-color, #e2e6ea);
    color: var(--footer-hover-text-color, #333);
}

.footer-container {
    width: 100%;
    max-width: var(--footer-max-width, 1200px); /* Constrain content */
    margin: 0 auto;
    padding: 0;
}

/* Social Media Icons */
.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-social-icons a {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-social-icons a:hover {
    transform: scale(1.1); /* Slight zoom */
}

.footer-social-icons img {
    width: var(--social-icon-size, 32px);
    height: var(--social-icon-size, 32px);
    border-radius: 50%; /* Rounded icons */
}

/* === Wrapper for Layout === */
.wrapper {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    min-height: 100vh;
}

/* Content Area (Main content of the page) */
.content {
    flex: 1; /* Push the footer down if content is shorter than the viewport */
}

/* === Responsive Containers === */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-full {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* === Video Background === */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Send to back */
    background: var(--video-bg-fallback-color, #000) center/cover no-repeat; /* Fallback color */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill space */
    object-position: center;
}

/* === General Responsive Styles === */
@media (max-width: 768px) {
    .container-narrow, .container-wide {
        max-width: 100%;
        padding: 0 10px;
    }
    footer {
        width: 100%;
        max-width: none;
        margin-top: auto;
    }
}

/* === Slider === */
.slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease; /* Smooth sliding effect */
}

.slider-item {
    flex: 0 0 100%; /* Each slide takes up full width */
}

/* === Main Content Styles === */
.site-main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.post-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.page-header {
    padding-top: 80px;
}

.post-content {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #666;
}

.post-meta {
    font-size: 0.9rem;
    color: #999;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* === Pagination === */
.pagination {
    text-align: center;
    margin-top: 20px;
}

.no-posts {
    text-align: center;
    color: #777;
    font-size: 1.2rem;
    margin: 50px 0;
}

/* Push the footer to the bottom */
.site-content {
    flex: 1; /* Makes the content area expand and fill available space */
}

/* === Form Container Styling === */
/* Base Styling for Form Container */
#form-container {
    width: var(--contact-form-width, 300px);           /* Dynamic width with fallback */
    height: var(--contact-form-height, auto);           /* Dynamic height */
    padding: var(--contact-form-padding, 20px);         /* Dynamic padding */
    margin: var(--contact-form-margin, 0 auto);          /* Dynamic margin */
    border-radius: var(--contact-form-corner-radius, 8px); /*Dynamic corner radius */
    background: var(--contact-form-background, none); /* Default background fallback */
    opacity: var(--contact-form-opacity, 1);            /* Dynamic opacity */
    box-shadow: var(--contact-form-drop-shadow, none);   /* Base drop shadow */
    position: relative;                                 /* Ensures pseudo-elements are positioned correctly */
    overflow: hidden;                                   /* Clips pseudo-elements to rounded corners */
}


/* Background Variants via Pseudo-Elements */
#form-container.solid::before,
#form-container.gradient::before,
#form-container.transparent::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
}


/* Solid Background */
#form-container.solid::before {
    background-color: var(--contact-form-solid-color, #ffffff);
}

/* Gradient Background */
#form-container.gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--contact-form-gradient-angle, 90deg), var(--contact-form-gradient-start, #0073aa), var(--contact-form-gradient-end, #005177));
    z-index: -1;
}

/* Transparent Background */
#form-container.transparent::before {
    background-color: transparent;
}

/* Background Image Override (if provided) */
#form-container.has-bg-image::before {
    background: url(var(--contact-form-bg-image)) no-repeat center/cover;
}

#form-container.drop-shadow::before,
#form-container.glow-effect::before {
    content: ""; /* Ensures pseudo-element actually renders */
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* Pushes effect behind form */
}



/* Responsive Container Width for Mobile Devices */
@media (max-width: 768px) {
    #form-container {
        width: 100%;
        padding: 15px;
    }
}

/* === Individual Form Fields === */
/* Form Field Container */
#form-container .form-field {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

/* Form Field Label */
#form-container .form-field label {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--form-label-text-color, inherit);
}

/* Input and Textarea Fields */
#form-container .form-field input,
#form-container .form-field textarea {
   /* width: var(--field-width, 100%);
    height: var(--field-height, auto);*/
    background-color: var(--form-field-bg-color, #ffffff);
    color: var(--form-input-text-color, #000000);
    border: 1px solid #ccc;
    border-radius: var(--field-corner-radius, 4px);
    box-shadow: var(--field-drop-shadow, none);
    padding: 10px;
    font-size: 16px;
}

/* === Button Styling === */
#custom-contact-form button {
    width: var(--button-width, auto); /* Dynamic width */
    height: var(--button-height, auto); /* Dynamic height */
    color: var(--button-text-color, #ffffff); /* Dynamic text color */
    box-shadow: var(--button-drop-shadow, none); /* Dynamic shadow */
    border-radius: var(--button-corner-radius, 4px); /* Dynamic corner radius */
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 12px;
    border: none;
}

/* Solid Button Styling */
#custom-contact-form.button-solid button {
    background-color: var(--button-solid-color, #0073aa);
    color: var(--button-text-color, #ffffff);
}

/* Gradient Button Styling */
#custom-contact-form.button-gradient button {
    background: linear-gradient(90deg, var(--button-gradient-start, #0073aa), var(--button-gradient-end, #005177));
    color: var(--button-text-color, #ffffff);
}

.contact-form-button {
    position: relative;
    overflow: hidden;
}



/* === Hover Effects === */

/* Fix: Ensure solid buttons keep a solid hover color */
#custom-contact-form.button-solid button:hover {
    background-color: var(--button-hover-solid-color, #005177) !important;
}

/* Fix: Restrict gradient hover styling only to gradient buttons */
#custom-contact-form.button-gradient button:hover {
    background: linear-gradient(90deg, var(--button-hover-gradient-start, #005177), var(--button-hover-gradient-end, #0073aa)) !important;
}

/* === Mobile Responsiveness === */
@media (max-width: 768px) {
    #custom-contact-form .form-field input,
    #custom-contact-form .form-field textarea {
        font-size: 14px;
        padding: 8px;
    }
    
    #custom-contact-form button {
        font-size: 14px;
        padding: 10px 15px;
    }
}

.g-recaptcha {
    margin-bottom: 20px; /* Space between reCAPTCHA and Submit button */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}    


/* Set a fixed width for the audio player */
audio {
    width: 70%; /* Adjust as needed (e.g., 50%, 400px, etc.) */
    max-width: 500px; /* Ensure it doesn’t get too large */
    display: block;
    margin: 0 auto; /* Centers the player */
}

/* Customize the audio player background */
audio {
    background-color: none !important; /* Dark gray */
    border-radius: 8px; /* Round edges */
}

/* Style the audio controls */
audio::-webkit-media-controls-panel {
    background-color: #000000 !important; /* Change player controls color Black Circle */
}

audio::-webkit-media-controls-play-button {
    background-color: #fff !important; /* Make play button white */
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: #fff !important; /* Change text color */
}

@media (max-width: 768px) {
    audio {
        width: 85%; /* Slightly larger on mobile */
    }
}


 audio::-webkit-media-controls-play-button {
    filter: invert(1) !important; /* Inverts colors—this works well for dark themes */
}

/* Remove background behind the playbar */
audio::-webkit-media-controls-panel {
    background: #105C70 !important;
}

/* Ensure the timeline bar matches your dark theme rectangle behind playhead */
audio::-webkit-media-controls-timeline {
    background: #105C70 !important;
}

audio::-webkit-media-controls-progress-bar {
    background-color: #ffffff !important; /* Replace with preferred color */
}

/* Optional: Adjust visibility */
audio::-webkit-media-controls-seek-bar {
    background-color: #000000 !important;
}

/* Default styling (for desktop & larger screens) */
.photo-page img {
    width: 100%;
    max-width: 600px; /* Keep images at preferred size */
}

/* Mobile Portrait: Slightly reduce image size */
@media (max-width: 768px) {
    .photo-page img {
        width: 60%; /* Adjust size for mobile */
        max-width: 400px; /* Slightly smaller images */
    }
}

input[type="text"], input[type="email"], textarea {
    font-family: Arial, sans-serif; /* Replace with your preferred font */
    font-size: 16px; /* Adjust as needed */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

