* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: "dunbar-tall", sans-serif;
    font-weight: 400;
    /* Dunbar Tall Book */
    font-style: normal;
    overflow-x: hidden;
}

/* Visually hidden but accessible to screen readers and search engines */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header and Navigation */
.main-header {
    background-color: #000000;
    position: relative;
    width: 100%;
    z-index: 2000;
}

.header-border-container {
    padding-top: 10px;
    padding-bottom: 25px;
}

.about-border-container {
    padding-top: 25px;
    background-color: #1a1a1a;
}

.gradient-bar {
    height: 2px;
    background: linear-gradient(90deg, #905e26 0%, #f5ec9b 50%, #905e26 100%);
}

.gradient-bar:first-child {
    margin-bottom: 4px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 25px 5% 15px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo img {
    height: 60px;
    width: auto;
}

.nav-menu-desktop {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

/* Mobile Menu (outside header) */
.nav-menu {
    position: absolute;
    left: 0;
    top: -100%;
    flex-direction: column;
    background-color: #000;
    width: 100%;
    text-align: center;
    transition: top 0.3s ease-in-out;
    gap: 0;
    padding: 20px 0;
    z-index: 100;
    list-style: none;
    display: none;
    /* Hidden on desktop by default */
}

.nav-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: #bb9a57;
}

h2 {
    font-family: "dunbar-tall", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    background-color: #bb9a57;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-family: "dunbar-tall", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 30px;
    position: relative;
    transition: color 2s ease;
    z-index: 0;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #905e26 0%, #bb9a57 50%, #905e26 100%);
    opacity: 0;
    transition: opacity 2s ease;
    z-index: -1;
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    color: #ffffff;
}

/* Make sure text is always on top */
.btn p {
    position: relative;
    z-index: 1;
    display: inline;
    margin: 0;
}

/* 404 page button styling */
.about-section a.btn {
    display: inline-block !important;
    width: auto !important;
    margin: 30px auto 0 !important;
}

/* Button element specific styles */
button.btn {
    border: none;
    cursor: pointer;
    font-size: inherit;
    display: block;
    margin: 30px auto 0;
}

/* General Styling */

.hero-video-container {
    position: relative;
    height: 62.5vh;
    overflow: hidden;
    background-color: #000;
    background-image: url('/assets/images/photos/texhombres-website-photo1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: showBackground 0s ease-in 3s forwards;
    animation-fill-mode: backwards;
}

@keyframes showBackground {
    from {
        background-image: none;
    }
    to {
        background-image: url('/assets/images/photos/texhombres-website-photo1.jpg');
    }
}

.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Align video content to top center */
    transform: translateX(-50%);
    z-index: 0;
}

@media (orientation: portrait) {
    .hero-video-container {
        height: 37.5vh;
    }
}

/* About Section */
.about-section {
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
}

.about-section .divider {
    width: 50px;
    height: 3px;
    background-color: #c5a47e;
    margin: 0 auto 20px;
    border-radius: 2px;
    border: none;
    position: relative;
    transform: skewX(-15deg);
}

.about-section p {
    font-family: "lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    max-width: 80%;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.about-section ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    max-width: 80%;
}

.about-section li {
    margin-bottom: 8px;
}

/* Video Section */
.video-section {
    background-color: #ffffff;
    text-align: center;
    padding: 50px 20px;
}

.video-section h2 {
    font-family: "dunbar-tall", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2em;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.video-section .divider {
    width: 50px;
    height: 3px;
    background-color: #c5a47e;
    margin: 0 auto 30px;
    border-radius: 2px;
    border: none;
    position: relative;
    transform: skewX(-15deg);
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.video-item.large {
    grid-column: span 2;
}

.video-embed-container {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* Shows Section */
.shows-section {
    background-color: #1a1a1a;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/your-background-image.jpg'); */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
}

.shows-section h2 {
    color: #ffffff;
}

.shows-section .divider {
    width: 50px;
    height: 3px;
    background-color: #c5a47e;
    margin: 0 auto 30px;
    border-radius: 2px;
    border: none;
    position: relative;
    transform: skewX(-15deg);
}

.shows-list {
    max-width: 800px;
    margin: 40px auto;
    font-family: "dunbar-tall", sans-serif;
    font-weight: 400;
}

.show-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #444;
    align-items: center;
    text-align: left;
}

.show-item:last-child {
    border-bottom: none;
}

.show-date,
.show-venue,
.show-time,
.show-link {
    font-size: 1.1rem;
    text-transform: uppercase;
}

.show-link {
    color: #bb9a57;
    text-decoration: none;
    font-weight: 700;
    text-align: right;
    transition: color 0.3s ease;
}

.show-link:hover {
    color: #ffffff;
}


@media(max-width: 768px) {
    .show-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }

    .show-link {
        text-align: center;
        color: #bb9a57;
        text-decoration: none;
        font-weight: 700;
        transition: color 0.3s ease;
    }

    .show-link:hover {
        color: #ffffff;
    }
}

/* Calendar Loading and Error States */
.loading, .no-events, .error {
    text-align: center;
    padding: 40px 20px;
    font-size: 1.1rem;
    color: #bb9a57;
    font-style: italic;
}

.error {
    color: #ff6b6b;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Song List Section */
.songlist-section {
    background-color: #ffffff;
    color: #1a1a1a;
    text-align: center;
    padding: 50px 20px;
}

.songlist-section h2 {
    color: #1a1a1a;
}

.songlist-section .divider {
    width: 50px;
    height: 3px;
    background-color: #c5a47e;
    margin: 0 auto 30px;
    border-radius: 2px;
    border: none;
    position: relative;
    transform: skewX(-15deg);
}

.songs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 30px;
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
}

.song-item {
    font-family: "lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.4;
    padding: 8px 0;
}


/* Laptop/tablet - 2 columns */
@media(max-width: 1024px) {
    .songs-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}

/* Mobile - 2 columns minimum */
@media(max-width: 768px) {
    .songs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 15px;
        text-align: center;
        max-width: 600px;
    }

    .song-item {
        font-size: 0.85rem;
    }
}

/* Contact Footer Section */
.contact-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 20px 0;
}

.border-outer {
    border: 2px solid;
    border-image: linear-gradient(90deg, #905e26 0%, #f5ec9b 50%, #905e26 100%) 1;
    padding: 4px;
    margin: 0 auto;
}

.border-inner {
    border: 2px solid;
    border-image: linear-gradient(90deg, #905e26 0%, #f5ec9b 50%, #905e26 100%) 1;
    background: #000000;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    background: #000000;
}

.contact-container h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-container .divider {
    width: 50px;
    height: 3px;
    background-color: #c5a47e;
    margin: 0 auto 30px;
    border-radius: 2px;
    border: none;
    position: relative;
    transform: skewX(-15deg);
}

.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-family: "lato", sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.form-group label .required {
    color: #bb9a57;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    border: 2px solid #444;
    border-radius: 4px;
    color: #ffffff;
    font-family: "lato", sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

/* Fix date and time input styling */
.form-group input[type="date"],
.form-group input[type="time"] {
    background-color: #1a1a1a;
    color: #ffffff;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator,
.form-group input[type="time"]::-webkit-calendar-picker-indicator {
    background-color: #bb9a57;
    border-radius: 2px;
    cursor: pointer;
    filter: invert(1);
}

.form-group input[type="date"]::-webkit-datetime-edit,
.form-group input[type="time"]::-webkit-datetime-edit {
    color: #ffffff;
}

.form-group input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.form-group input[type="time"]::-webkit-datetime-edit-fields-wrapper {
    background-color: transparent;
}

.form-group input[type="date"]::-webkit-datetime-edit-text,
.form-group input[type="time"]::-webkit-datetime-edit-text {
    color: #ffffff;
}

.form-group input[type="date"]::-webkit-datetime-edit-month-field,
.form-group input[type="date"]::-webkit-datetime-edit-day-field,
.form-group input[type="date"]::-webkit-datetime-edit-year-field,
.form-group input[type="time"]::-webkit-datetime-edit-hour-field,
.form-group input[type="time"]::-webkit-datetime-edit-minute-field,
.form-group input[type="time"]::-webkit-datetime-edit-ampm-field {
    color: #ffffff;
    background-color: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #bb9a57;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

/* Form Messages */
.form-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-family: "lato", sans-serif;
    font-weight: 400;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Footer Bottom */
.footer-bottom {
    background-color: #000000;
    padding: 30px 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    color: #bb9a57;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #f5ec9b;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #f5ec9b;
}

.footer-copyright {
    font-family: "lato", sans-serif;
    font-size: 0.8rem;
    color: #888;
}

/* Mobile Responsive */
@media(max-width: 768px) {
    .contact-container {
        padding: 30px 20px;
        margin: 0 10px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .footer-nav a {
        display: block;
        margin: 10px 0;
    }

    .footer-social a {
        margin: 0 10px;
    }
}


/* Social Icons */
.desktop-social-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-social-icons {
    display: none;
    /* Hidden on desktop */
}

.social-icons a {
    color: #bb9a57;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #f5ec9b;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* Responsive Design */
@media(max-width: 992px) {
    .nav-menu-desktop {
        gap: 1.5rem;
    }
}

@media(max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu-desktop {
        display: none;
    }

    .nav-menu {
        display: flex;
        top: -100%;
        /* Start hidden */
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        top: 120px;
        /* Position below header when active */
    }

    .desktop-social-icons {
        display: none;
    }

    .mobile-social-icons {
        display: block;
        margin-top: 20px;
    }

    .mobile-social-icons a {
        font-size: 2rem;
        margin: 0 15px;
        color: #bb9a57;
    }
}