/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-elementor/
Description: Hello Elementor Child is a child theme of Hello Elementor, created for Richard Lentz Art.
Author: Richard Lentz Art Team
Author URI: https://richardlentzart.local/
Template: hello-elementor
Version: 1.0.27
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles below this line */

/* ==========================================================================
   Custom Header Styles for Richard Lentz Art Studio
   ========================================================================== */

/* Reset default header styles */
#site-header {
    display: none !important;
}

/* Custom Header Styles */
.custom-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0 5px;
}

/* Hero Section with Swiper Slider */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 145px);
    margin-top: 145px;
}

#page {
    margin-top: 120px;
    overflow: visible;
}

.site-main {
    padding-top: 20px;
}

.elementor {
    margin-top: 120px;
}

/* Fix for Elementor content */
.elementor-section-wrap {
    padding-top: 0 !important;
}

/* Remove extra spacing from top of content */
body.page-template-tpl_home #content,
body.page-template-elementor-slider-template #content {
    margin-top: 0;
}

/* Swiper Container */
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    /* object-fit: contain to prevent cropping */
    object-fit: contain;
    display: block;
    background-color: #ffffff;
}

/* Header Overlay */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}







.header-content {
    text-align: center;
    color: white;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

/* Header Container */
.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Site Title and Artist Name */
.site-title-section {
    text-align: center;
    padding: 10px 0 0px;
}

.art-studio-title {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 2.5px;
    margin-bottom: 0;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.artist-name {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-top: 0;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Navigation Menu */
.main-navigation {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu-toggle span {
    height: 2px;
    width: 100%;
    background-color: #333;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    justify-content: center;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-menu ul li {
    margin: 0 15px;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
    font-weight: 400;
    padding: 5px 0;
}

.nav-menu ul li a:hover {
    color: #666;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 0;
    background-color: #333;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 100%;
}



/* Swiper Pagination Styles */
.swiper-pagination {
    position: absolute;
    bottom: 30px;
    width: 100%;
    z-index: 20;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.2);
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Mobile Hamburger Menu & Offcanvas Styles
   ========================================================================== */
/* Mobile Hamburger Button */
.mobile-menu-toggle {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 4px;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation when Active */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Offcanvas Menu */
.mobile-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-offcanvas.active {
    visibility: visible;
    opacity: 1;
}

/* Overlay */
.offcanvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* Offcanvas Content */
.offcanvas-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-offcanvas.active .offcanvas-content {
    transform: translateX(0);
}

/* Offcanvas Header */
.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.offcanvas-logo .art-studio-title {
    font-size: 8px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #666;
    margin: 0;
    text-transform: uppercase;
}

.offcanvas-logo .artist-name {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #333;
    margin: 2px 0 0 0;
    text-transform: uppercase;
}

/* Close Button */
.offcanvas-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    color: #666;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offcanvas-close:hover {
    color: #333;
}

/* Mobile Navigation */
.offcanvas-nav {
    padding: 20px 0;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-list li:last-child {
    border-bottom: none;
}

.mobile-menu-list a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.mobile-menu-list a:hover {
    background-color: #f8f8f8;
    color: #000;
    padding-left: 25px;
}

/* Responsive Visibility Rules */

/* Desktop First (Default Styles) */
.desktop-only {
    display: block;
}

.mobile-only,
.mobile-menu-toggle {
    display: none;
}

/* Mobile Styles */
@media (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .mobile-menu-toggle {
        display: flex !important; /* Use flex as it's a button container */
    }

    
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }
    
    .site-title-section {
        margin-bottom: 10px;
        padding: 10px 0;
    }
    
    .art-studio-title {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .artist-name {
        font-size: 18px;
        letter-spacing: 3px;
        margin-bottom: 5px;
    }
    
    /* Old navigation styles removed - now using offcanvas menu */
    
    .dots-container {
        bottom: 50px;
    }
    
    .hero-section {
        margin-top: 140px;
        height: calc(100vh - 140px);
        /* Ensuring full height on mobile */
        min-height: 400px;
    }
    
    #page {
        margin-top: 140px;
    }
    
    .elementor {
        margin-top: 140px;
    }
    
    .header-content {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    /* Ensure desktop navigation is hidden on small mobile too */
    .desktop-nav,
    .main-navigation,
    #site-navigation,
    .nav-menu,
    #primary-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    .artist-name {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .art-studio-title {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    /* Offcanvas menu adjustments for smaller screens */
    .offcanvas-content {
        width: 100%; /* Full width on very small screens */
    }
    
    .mobile-menu-list a {
        font-size: 16px;
        padding: 18px 20px;
    }
    
    .offcanvas-logo .artist-name {
        font-size: 16px;
    }
    
    .dots-container {
        bottom: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .artist-name {
        font-size: 40px;
        letter-spacing: 6px;
    }
    
    .nav-menu ul {
        gap: 30px;
    }
    
    .nav-menu a {
        font-size: 13px;
    }
}

/* Placeholder Styles for Development */
.placeholder-slide-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.placeholder-slide-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.placeholder-slide-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.placeholder-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    z-index: 5;
}

.placeholder-content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
}
.swiper-pagination-bullet-active {
    background: #ffffff !important;
}

form label, form input, form textarea {
    width: 100%;
}
form input, form textarea {
    margin-top: 10px;
}

/**
 * DEFAULT PAGE
 */
.page-template-default{
    overflow-x:hidden;
}
.page-template-default.page-id-59 .page-content {
    padding: 100px 15px 80px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.page-template-default.page-id-59 .page-content {
    max-width: 880px;
}