/*
Theme Name: Teresa Jordan Custom
Description: A custom single-page EPK (Electronic Press Kit) theme for singer/songwriter Teresa Jordan.
Author: JJ Bates
Version: 1.0.0
License: GPL v2 or later
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background: #FFF;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Header and Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(22, 22, 25, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.site-branding.fade-in {
    opacity: 1;
}

.site-title {
    font-size: 1.5rem;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
}

.main-navigation {
    margin-left: auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #f8473c;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f8473c;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

/* Gallery Carousel Section */
.gallery-carousel-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-wrapper {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
    align-items: center;
}

.carousel-image {
    flex: 0 0 auto;
    height: 100%;
    width: 33.333vw;
    position: relative;
    border-right: 1px solid white;
    overflow: hidden;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.carousel-image:hover {
    opacity: 1;
}

.carousel-image:last-child {
    border-right: none;
}

.carousel-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-download {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    pointer-events: all;
}

.carousel-download:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
}

.carousel-download svg {
    width: 25px;
    height: 25px;
}

.carousel-placeholder {
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
    width: 33.333vw;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.lazy-placeholder {
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1rem;
    height: 100%;
    width: 100%;
}

.placeholder-content {
    text-align: center;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
    left: 30px;
}

.carousel-arrow-right {
    right: 30px;
}

.gallery-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.gallery-title-overlay.fade-out {
    opacity: 0;
}

.hero-title {
    font-size: 4rem;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 400;
    margin-bottom: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-container {
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 400;
    color: #2c3e50;
}

/* About Section */
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: #f8f9fa;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section label {
    text-align: left;
}

input.wpcf7-submit {
    background: #f8473c;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wpcf7-spinner {
    display:none;
}

input.wpcf7-submit:hover {
    background: #a4322b;
    transform: translateY(-2px);
}

/* Social Media */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2c3e50;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 3.5rem;
    height: 3.5rem;
    line-height: 30px;
}

.social-links a i {
    font-size: 2rem;
}

.social-links a:hover {
    background: #f8473c;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Tour/Events Styles */
.tour-list {
    max-width: 800px;
    margin: 0 auto;
}

.tour-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tour-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tour-date {
    font-weight: bold;
    color: #f8473c;
    font-size: 1.1rem;
}

.tour-venue h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.tour-venue p {
    margin: 0;
    color: #666;
}

/* Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}

/* Animation Classes */
.content-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-row {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #f8473c;
}

input.error,
textarea.error {
    border-color: #f8473c;
    background-color: #fdf2f2;
}

.form-error-message {
    background: #f8473c;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

button[type="submit"] {
    background: #f8473c;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button[type="submit"]:hover {
    background: #a4322b;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .carousel-image {
        width: 50vw;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .main-navigation ul {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .carousel-arrow {
        width: 50px;
        height: 50px;
    }
    
    .carousel-arrow-left {
        left: 15px;
    }
    
    .carousel-arrow-right {
        right: 15px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .tour-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 599px) {
    .carousel-image {
        width: 100vw;
        opacity: 1;
        border-right: none;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .site-branding {
        text-align: center;
    }
    
    .main-navigation {
        margin-left: 0;
    }
    
    .main-navigation ul {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-navigation ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .music-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-item {
        padding: 1rem;
    }
}