/*
Theme Name: Cosplayed
Theme URI: https://example.com/cosplayed-theme
Author: Your Name (Generated by AI)
Author URI: https://example.com
Description: A starter theme designed to replicate aspects of the Pelicula theme using Elementor and Gutenberg. Manually install recommended plugins.
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cosplayed
Tags: one-column, two-columns, custom-background, custom-header, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, blog, portfolio, e-commerce, elementor, block-editor-styles, accessibility-ready
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
*/

/* Basic Styles - Elementor and Gutenberg will control most of this */
body {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif; /* Pelicula uses Roboto */
    font-size: 16px;
    line-height: 1.7;
    color: #777; /* Default light text for dark backgrounds */
    background-color: #121212; /* Default dark background */
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1280px; /* Adjust as needed */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

a {
    color: #e50914; /* Pelicula's reddish accent */
    text-decoration: none;
}
a:hover {
    color: #f5c518; /* Pelicula's yellowish accent on hover */
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; /* Pelicula uses Montserrat for headings */
    color: #fff;
    margin-bottom: 0.5em;
    font-weight: 700;
}

/* Basic Header & Footer (Ideally replaced by Elementor Pro Theme Builder or Gutenberg Site Editor features) */
.site-header {
    padding: 20px 0;
    background-color: rgba(18, 18, 18, 0.8); /* Semi-transparent dark */
    position: absolute;
    width: 100%;
    z-index: 1000;
    top:0;
    left:0;
}
.site-header.scrolled { /* For JS to add on scroll */
     background-color: #121212;
     position:fixed;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
}

.site-branding .site-title a,
.custom-logo-link img {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
}
.custom-logo-link img { max-height: 40px; width: auto; }

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.main-navigation ul li { margin-left: 25px; }
.main-navigation ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
    color: #e50914;
}
.menu-toggle { /* Basic Mobile Menu Toggle styling */
    display: none; /* Hidden by default, shown via media query */
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 12px;
    cursor: pointer;
}

.site-footer {
    background-color: #0a0a0a;
    color: #777;
    padding: 60px 0;
    font-size: 14px;
}
.site-footer .container { text-align: center; }
.site-footer a { color: #aaa; }
.site-footer a:hover { color: #e50914; }

/* Elementor Full Width Page Fixes for default header/footer */
body.elementor-page.elementor-default #primary {
    padding-top: 0;
}
.elementor-section.elementor-section-stretched {
    max-width: 100% !important; /* Ensure truly full width */
}

/* Gutenberg Full Width Alignment for Blocks */
.alignfull {
    margin: 2rem calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}
.alignwide {
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px; /* Or your container max-width + some extra */
}
.entry-content .alignfull img,
.entry-content .alignwide img {
    width: 100%;
    height: auto;
}


/* Responsive (Basic example for menu toggle) */
@media (max-width: 768px) {
    .main-navigation {
        display: none; /* Hide desktop menu */
        width: 100%;
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        background-color: #121212; /* Dark background for mobile menu */
        padding: 10px 0;
    }
    .main-navigation.toggled-on { /* Class added by JS */
        display: block;
    }
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    .main-navigation ul li {
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
    .main-navigation ul li a {
        padding: 10px;
        display: block;
    }
    .menu-toggle {
        display: block; /* Show mobile menu toggle */
    }
    .header-inner {
        padding: 0 15px; /* Adjust padding for smaller screens */
    }
}