/*!
Theme Name: JP Ranch Rodeo
Theme URI: http://underscores.me/
Author: Leon33
Author URI: https://leon33.com
Description: New website 3.0
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: jpranchrodeo
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

JP Ranch Rodeo is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0 !important;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-family: 'Perpetua', serif;
    color: #8b4818;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #f8f4ec;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */
a {
    color: #8b4718;
}

a:visited {
    color: #8b4718;
}

a:hover,
a:focus,
a:active {
    color: #8b4718;
    opacity: 0.8;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 0px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background-color: #c7a759;
    color: white;
    line-height: 1;
    padding: 0.6em 1em 0.4em;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    /* border-color: #ccc #bbb #aaa; */
    background-color: #b8984a;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    /* border-color: #aaa #bbb #bbb; */
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
    color: #333;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0.5rem;
    width: 100%;
    background-color: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
    /* background-color: white; */
}

select {
    /* border: 0px solid #ccc; */
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    margin: 0 0 1.5em;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# JP Ranch Rodeo Landing Page Styles
--------------------------------------------------------------*/

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

/* Perpetua fallback (web-safe serif) */
@font-face {
    font-family: 'Perpetua';
    src: local('Perpetua'), local('Perpetua-Regular');
    font-weight: normal;
    font-style: normal;
}

/* Perpetua Typography Classes */
.perpetua-font {
    font-family: 'Perpetua', serif;
}

/*--------------------------------------------------------------
## Landing Page Base Styles
--------------------------------------------------------------*/

/* Reset and Base Styles for Landing Page */
.landing-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.landing-page body {
    font-family: 'Ubuntu', 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f4ec;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/*--------------------------------------------------------------
## Top Contact Bar
--------------------------------------------------------------*/

.top-contact-bar {
    background-color: #000;
    color: white;
    padding: 8px 0;
    font-size: 14px;
    position: relative;
    z-index: 2000;
}

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

.top-bar-left .social-icons {
    display: flex;
    gap: 15px;
}

.top-bar-left .social-icons a {
    color: white;
    font-size: 16px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.top-bar-left .social-icons a:hover {
    color: #8b4513;
}

.top-bar-right .contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-bar-right .contact-info span {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-right .contact-info span a {
    color: white;
    text-decoration: none;
}

.top-bar-right .contact-info i {
    font-size: 14px;
}

/*--------------------------------------------------------------
## Hero Banner
--------------------------------------------------------------*/

.hero-banner {
    position: relative;
    height: 700px;
    max-height: 700px;
    overflow: hidden;
    z-index: 1;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Logo centered over banner */
.logo-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.logo-overlay img {
    /* height: 150px; */
    width: auto;
    filter: brightness(1.2);
}

/* Red Bluff text near bottom of banner */
.hero-text {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
}

.hero-text h1 {
    color: black;
    font-family: 'Perpetua', serif;
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
    text-align: center;
}

/*--------------------------------------------------------------
## Navigation Menu
--------------------------------------------------------------*/

.bottom-nav {
    position: absolute;
    top: 670px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    -webkit-transform: translateX(-50%) translateZ(0);
    max-width: 1200px;
    width: 100%;
    z-index: 1000;
    background: rgba(139, 69, 19, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

/* Ensure proper positioning relative to page container */
#page {
    position: relative;
}

.hero-banner {
    position: relative;
    z-index: 1;
}

.bottom-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 60px;
}

.bottom-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
}

.bottom-nav .nav-menu li {
    position: relative;
}

.bottom-nav .nav-menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 25%;
    height: 50%;
    width: 1px;
    background: white;
    opacity: 0.5;
}

.bottom-nav .nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
    padding: 8px 16px;
    display: block;
}

.bottom-nav .nav-menu a:hover {
    color: #f4a261;
}

.bottom-nav .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bottom-nav .hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/*--------------------------------------------------------------
## Sections
--------------------------------------------------------------*/

/* Event Info Section */
.event-info {
    background: #f8f4ec;
    padding: 90px 0 60px 0;
    margin-top: 0;
    position: relative;
    z-index: 2;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.event-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.event-text h2 {
    font-family: 'Perpetua', serif;
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 20px;
    text-align: right;
}

.event-text h3 {
    font-family: 'Perpetua', serif;
    font-size: 1.5rem;
    color: #333;
    text-align: right;
    margin-bottom: 20px;
}

.sponsor-logo {
    text-align: right;
    margin-bottom: 30px;
}

.contact-btn {
    margin-top: 20px;
    background: #c7a759 !important;
    text-align: left;
    display: block;
    margin-left: auto;
    margin-right: 0;
}

.contact-btn:hover {
    background: #b8984a !important;
}

.sponsor-logo img {
    max-width: 200px;
    height: auto;
}

/* Event Slider Styles */
.event-slider {
    position: relative;
}

.event-swiper {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Force correct Swiper behavior */
.event-swiper .swiper-wrapper {
    display: flex !important;
    transition-property: transform !important;
    width: 100% !important;
    height: 100% !important;
}

.event-swiper .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    flex-shrink: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.event-swiper .swiper-slide-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.event-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    outline: 5px solid white;
    outline-offset: -5px;
}

.event-swiper .swiper-pagination-bullet {
    background: #8b4513;
    opacity: 0.6;
}

.event-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.event-swiper .swiper-button-next,
.event-swiper .swiper-button-prev {
    color: #8b4513;
    background: rgba(255, 255, 255, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-top: -22px;
}

.event-swiper .swiper-button-next::after,
.event-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Event Details */
.event-details {
    background: #f8f4ec;
    padding: 40px 0;
}

.event-details h3 {
    font-family: 'Perpetua', serif;
    text-align: center;
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 30px;
}

.event-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}


.event-info-left {
    text-align: center;
}

.event-info-left,
.event-info-right {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(196, 170, 79, 0.3);
}

.event-info-right h4 {
    color: #8b4513;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.event-info-right ul {
    list-style: none;
    padding-left: 0;
}

.event-info-right li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.event-info-right li::before {
    content: "•";
    color: #8b4513;
    position: absolute;
    left: 0;
}

/*--------------------------------------------------------------
## Independence Day Section
--------------------------------------------------------------*/

.independence-day {
    background: #f8f4ec;
    padding: 60px 0;
    position: relative;
}

.independence-day .container {
    max-width: 1900px;
}

.instagram-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.instagram-header i {
    font-size: 18px;
    color: #333;
}

.instagram-header span {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.photo-item img {
    width: 100%;
    /* height: 200px; */
    /* object-fit: cover; */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.date-stamp {
    position: absolute;
    bottom: 20px;
    right: 40px;
    background: #8b4513;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
}

/*--------------------------------------------------------------
## Schedule Section
--------------------------------------------------------------*/

.schedule {
    background: #f8f4ec;
    padding: 60px 0;
}

.schedule h3 {
    font-family: 'Perpetua', serif;
    text-align: center;
    font-size: 2rem;
    color: #8b4513;
    margin-bottom: 40px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.schedule-day {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.schedule-day h4 {
    font-family: 'Perpetua', serif;
    color: #000000;
    margin-bottom: 20px;
    font-size: 1.69rem;
    text-align: center;
    margin-top: 0;
}

.schedule-day h4 i {
    color: #000000;
    margin-right: 8px;
    font-size: 1.43rem;
}

.schedule-day p {
    margin-bottom: 10px;
}

.schedule-day em {
    color: #666;
    font-style: italic;
}

/*--------------------------------------------------------------
## Tickets Section
--------------------------------------------------------------*/

.tickets {
    background: #f8f4ec;
    padding: 60px 0 0;
}

.tickets h3 {
    font-family: 'Perpetua', serif;
    text-align: center;
    font-size: 2rem;
    color: #8b4513;
    margin-bottom: 40px;
}

.ticket-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* margin-bottom: 40px; */
    align-items: start;
}

.ticket-pre-sales {
    text-align: center;
}

.ticket-pre-sales h4 {
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.ticket-pre-sales p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.ticket-pre-sales p:last-child {
    margin-top: 20px;
    font-weight: bold;
}

.ticket-pricing {
    text-align: center;
}

.ticket-pricing h4 {
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.ticket-type {
    background: white;
    padding: 0 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(196, 170, 79, 0.3);
}

.ticket-type:hover {
    border-color: #8b4513;
    transform: translateY(-3px);
}

.ticket-type h5 {
    color: #8b4513;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: bold;
}

.special-price {
    text-align: center;
    background: transparent;
    color: #8b4513;
    padding: 0px 0 20px 0;
    margin-top: 0;
}

.special-price h2 {
    font-family: 'Perpetua', serif;
    font-size: 1.8rem;
    font-weight: normal;
    display: inline-block;
}

.special-price .price {
    font-size: 3rem;
    font-weight: bold;
    color: #000;
    margin-left: 10px;
}

/* Action Image */
.action-image {
    height: 600px;
    overflow: hidden;
}

.action-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*--------------------------------------------------------------
## Kids Roping Section
--------------------------------------------------------------*/

.kids-roping {
    background: #f8f4ec;
    padding: 60px 0;
}

.kids-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.kids-text h3 {
    font-family: 'Perpetua', serif;
    color: #000000;
    font-size: 2rem;
    margin-bottom: 20px;
}

.kids-text h4 {
    font-family: 'Perpetua', serif;
    color: #000000;
    font-size: 2rem;
    margin: 20px 0 10px 0;
}

.kids-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.kids-text li {
    margin-bottom: 5px;
}

.kids-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
## Winners Gallery
--------------------------------------------------------------*/

.winners-gallery {
    background: #f8f4ec;
    padding: 60px 0;
}

.winners-gallery .container {
    max-width: 1900px;
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.winner-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.winner-item:hover {
    transform: translateY(-5px);
}

.winner-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.winner-item h4 {
    font-family: 'Perpetua', serif;
    padding: 20px;
    color: #8b4513;
    font-size: 2rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

.winner-item p {
    padding: 0 20px 20px;
    color: #666;
    text-align: center;
    font-size: 0.9rem;
}

/*--------------------------------------------------------------
## Videos Section
--------------------------------------------------------------*/

.videos {
    background: #f8f4ec;
    padding: 60px 0;
    text-align: center;
}

.youtube-channel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 8px;
}

.youtube-channel i {
    font-size: 16px;
    color: #000;
}

.channel-name {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.video-placeholder {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.9);
    color: white;
    font-size: 2rem;
    width: 80px;
    height: 55px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding-left: 3px;
}

.video-placeholder:hover .play-button {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/*--------------------------------------------------------------
## Music Section
--------------------------------------------------------------*/

.music {
    background: #f8f4ec;
    /* padding: 60px 0; */
}

.music .container {
    max-width: 1900px;
}

.music h3 {
    font-family: 'Perpetua', serif;
    text-align: center;
    font-size: 2rem;
    color: #8b4513;
    margin: 0px;
}

.music-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.artist {
    flex: 1 1 300px;
    max-width: 400px;
    min-width: 300px;
    text-align: center;
}

.artist h4 {
    font-family: 'Perpetua', serif;
    font-size: 2rem;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.3;
}

.artist p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.artist img {
    width: 100%;
    max-width: 400px;
    /* height: 250px;
    margin-bottom: 20px;
    object-fit: cover; */
}

/*--------------------------------------------------------------
## Sponsors Section
--------------------------------------------------------------*/

.sponsors {
    background: linear-gradient(to bottom, #f8f4ec 0%, #f8f4ec 70%, rgba(0, 0, 0, 0.5) 100%);
    padding: 40px 0;
}

.sponsors .container {
    max-width: 1900px;
}

.sponsors h3 {
    font-family: 'Perpetua', serif;
    text-align: center;
    font-size: 2rem;
    color: #8b4513;
    margin-bottom: 30px;
}

.sponsors-swiper {
    padding: 20px 0;
}

.sponsors-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sponsors-swiper .swiper-slide img {
    width: 100%;
    /* height: 250px; */
    /* object-fit: cover; */
    transition: transform 0.3s ease;
    cursor: grab;
}

.sponsors-swiper .swiper-slide img:hover {
    transform: scale(1.02);
}

.sponsors-swiper .swiper-slide img:active {
    cursor: grabbing;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.footer {
    background: #8b4513;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.footer-info strong {
    font-weight: 600;
}

.footer-social {
    display: flex;
    justify-content: center;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    padding: 5px;
}

.social-icons a:hover {
    color: #c7a759;
    transform: translateY(-2px);
}

.social-icons a i {
    width: 20px;
    text-align: center;
}

.footer-contact {
    text-align: center;
}

.footer-contact p {
    margin-bottom: 5px;
    font-size: 14px;
}

.footer-contact a {
    color: #c7a759;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
    text-decoration: underline;
}

.footer-credit {
    text-align: center;
    margin-top: 10px;
}

.footer-credit p {
    font-size: 12px;
    opacity: 0.8;
}

.footer-credit a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: white;
    text-decoration: underline;
}

/*--------------------------------------------------------------
## Button Styles
--------------------------------------------------------------*/

.btn {
    background: #c7a759;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: #b8984a;
}

/*--------------------------------------------------------------
## Mobile Navigation System
--------------------------------------------------------------*/

.mobile-nav-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(139, 69, 19, 0.95);
    z-index: 5000;
    backdrop-filter: blur(10px);
}

.mobile-nav-bar.mobile-nav-sticky {
    position: fixed !important;
    top: 0 !important;
}

.mobile-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo-mobile>img {
    max-height: 50px;
    display: block;
}

.mobile-hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.mobile-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(139, 69, 19, 0.98);
    z-index: 6000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.33s ease-out;
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
}

.mobile-menu-close {
    cursor: pointer;
    font-size: 40px;
    color: white;
    font-weight: 300;
    line-height: 1;
    opacity: 0;
    transform: translateY(-30px) rotate(180deg);
    transition: all 0.27s ease-out;
}

.mobile-menu-overlay.active .mobile-menu-close {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    transition-delay: 0.2s;
}

.mobile-menu-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: #f0e68c;
}

.mobile-menu-content {
    padding: 40px;
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

/* Styles for nav-menu when inside mobile overlay */
.mobile-menu-overlay .nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-overlay .nav-menu li {
    margin: 30px 0;
    position: relative;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.27s ease-out;
}

.mobile-menu-overlay.active .nav-menu li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation - cada elemento aparece con delay */
.mobile-menu-overlay.active .nav-menu li:nth-child(1) {
    transition-delay: 0.13s;
}

.mobile-menu-overlay.active .nav-menu li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .nav-menu li:nth-child(3) {
    transition-delay: 0.27s;
}

.mobile-menu-overlay.active .nav-menu li:nth-child(4) {
    transition-delay: 0.33s;
}

.mobile-menu-overlay.active .nav-menu li:nth-child(5) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay .nav-menu li:not(:last-child)::after {
    display: none;
    /* Hide desktop separators in mobile */
}

.mobile-menu-overlay .nav-menu a {
    color: white !important;
    font-size: 24px !important;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    transition: all 0.3s ease;
    text-align: left !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    min-width: auto !important;
    background: transparent !important;
}

.mobile-menu-overlay .nav-menu a:hover {
    color: #f0e68c !important;
    padding-left: 20px !important;
    background: transparent !important;
    border: none !important;
    transform: translateX(10px) scale(1.05);
}

.mobile-menu-overlay .nav-menu a:active {
    transform: translateX(10px) scale(0.95);
    transition: transform 0.1s ease;
}

/*--------------------------------------------------------------
## Responsive Design - Mobile Top Bar
--------------------------------------------------------------*/

/* Mobile responsive for top bar */
@media (max-width: 768px) {
    .top-contact-bar {
        padding: 6px 0;
        font-size: 12px;
    }

    .top-bar-container {
        padding: 0 15px;
    }

    .top-bar-right .contact-info {
        gap: 15px;
    }

    .top-bar-right .contact-info span {
        font-size: 12px;
    }

    .top-bar-left .social-icons {
        gap: 10px;
    }

    .top-bar-left .social-icons a {
        font-size: 14px;
    }
}

/* Hide email on small mobile devices */
@media (max-width: 599px) {
    .top-bar-right .contact-info .email {
        display: none;
    }
}

/*--------------------------------------------------------------
## Sticky Navigation Media Queries
--------------------------------------------------------------*/

/* Sticky Navigation for Mobile/Tablet - FIRST to have lower priority */
@media (max-width: 768px) {
    .bottom-nav.sticky-nav {
        position: fixed !important;
        top: 32px !important;
        /* Below top contact bar */
        left: 0 !important;
        transform: none !important;
        -webkit-transform: none !important;
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 0 !important;
        z-index: 1500 !important;
        /* Lower than top bar (2000) */
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2) !important;
        background: rgba(139, 69, 19, 0.98) !important;
    }
}

/* Sticky Navigation for Desktop - AFTER mobile to override properly */
@media (min-width: 769px) {
    .bottom-nav.sticky-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        -webkit-transform: none !important;
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 0 !important;
        z-index: 2001 !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2) !important;
        background: rgba(139, 69, 19, 0.98) !important;
    }

    .bottom-nav.sticky-nav .nav-container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/*--------------------------------------------------------------
## Winners Gallery Responsive Breakpoints
--------------------------------------------------------------*/

@media (max-width: 1279px) and (min-width: 600px) {
    .winners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 599px) {
    .winners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .winners-gallery {
        padding: 40px 0;
    }
}

/*--------------------------------------------------------------
## Entertainment Section Responsive
--------------------------------------------------------------*/

@media (min-width: 1200px) {
    .artist {
        flex: 1 1 calc(25% - 30px);
        max-width: calc(25% - 30px);
    }
}

@media (min-width: 800px) and (max-width: 1199px) {
    .artist {
        flex: 1 1 calc(33.333% - 27px);
        max-width: calc(33.333% - 27px);
    }
}

@media (min-width: 600px) and (max-width: 799px) {
    .music-grid {
        gap: 30px;
    }

    .artist {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 599px) {
    .music-grid {
        gap: 20px;
    }

    .artist {
        flex: 1;
    }

    .artist h4 {
        font-size: 2rem;
        color: #000000;
    }

    /* .artist img {
        height: 200px;
    } */
}

/*--------------------------------------------------------------
## Sponsors Responsive
--------------------------------------------------------------*/

@media (max-width: 768px) {
    /* .sponsors-swiper .swiper-slide img {
        height: 200px;
    } */
}

@media (max-width: 599px) {
    .sponsors {
        padding: 30px 0;
    }

    /* .sponsors-swiper .swiper-slide img {
        height: 180px;
    } */

    .sponsors h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

/*--------------------------------------------------------------
## Footer Responsive
--------------------------------------------------------------*/

/* Footer Desktop Layout */
@media (min-width: 600px) {
    .footer-contact {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 60px;
    }

    .footer-contact p {
        margin-bottom: 0;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-info p {
        font-size: 12px;
    }

    .footer-contact p {
        font-size: 12px;
    }

    .social-icons a {
        font-size: 18px;
    }

    .footer-credit p {
        font-size: 10px;
    }
}

/*--------------------------------------------------------------
## Mobile Navigation Responsive
--------------------------------------------------------------*/

@media (max-width: 1279px) {

    /* Show mobile navigation system */
    .mobile-nav-bar {
        display: block;
        position: relative;
    }

    /* Hide traditional navigation */
    .bottom-nav {
        display: none !important;
    }

    /* Adjust banner for mobile nav bar */
    .hero-banner {
        margin-top: 60px;
    }
}

/*--------------------------------------------------------------
## General Responsive Breakpoints
--------------------------------------------------------------*/

@media (max-width: 1024px) {
    .bottom-nav .nav-menu {
        gap: 30px;
    }

    .bottom-nav .nav-menu a {
        font-size: 12px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .logo-overlay img {
        height: 120px;
    }

    .event-content {
        gap: 40px;
    }

    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .winners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .bottom-nav .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: rgba(139, 69, 19, 0.98);
        width: 100vw;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        padding: 0;
        gap: 40px;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        margin: 0;
        border-radius: 0;
    }

    .bottom-nav .nav-menu.active {
        left: 0;
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(139, 69, 19, 0.98);
        justify-content: center;
        align-items: center;
        z-index: 10000;
    }

    .bottom-nav .nav-menu li:not(:last-child)::after {
        display: none;
    }

    .bottom-nav .nav-menu a {
        font-size: 28px;
        padding: 25px 50px;
        border: 2px solid transparent;
        border-radius: 8px;
        transition: all 0.3s ease;
        min-width: 280px;
        display: block;
        text-align: center;
        margin: 10px 0;
        color: white;
        text-decoration: none;
    }

    .bottom-nav .nav-menu a:hover {
        border-color: white;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .hero-banner {
        height: 500px;
        max-height: 500px;
        margin-top: 0;
    }

    .hero-banner.section-visible {
        margin-top: 0;
    }

    .bottom-nav {
        top: 470px;
        max-width: 100%;
        width: auto;
        left: 50%;
        transform: translateX(-50%) translateZ(0);
        -webkit-transform: translateX(-50%) translateZ(0);
        background: rgba(139, 69, 19, 0.95);
        border-radius: 10px;
        padding: 0 20px;
    }

    .bottom-nav .nav-container {
        width: auto;
        max-width: none;
    }

    .hero-text {
        bottom: 100px;
    }

    .hero-text h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .logo-overlay {
        top: 15%;
    }

    .logo-overlay img {
        height: 100px;
    }

    .event-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .event-text h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .event-text h3 {
        text-align: center;
    }

    .sponsor-logo {
        text-align: center;
    }

    .contact-btn {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
    }

    .event-swiper {
        height: 300px;
    }

    .event-details-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .event-info-left {
        order: 1;
    }

    .event-info-right {
        order: 2;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .kids-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .winners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .music-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .date-stamp {
        right: 20px;
        bottom: 20px;
    }

    .ticket-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ticket-pricing {
        text-align: left;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
        height: 70px;
    }

    .header {
        height: 70px;
    }

    .hero-banner {
        margin-top: 70px;
        height: 40vh;
    }

    .videos,
    .winners-gallery,
    .kids-roping,
    .tickets,
    .event-info {
        padding-top: 20px;
    }

    .event-info,
    .independence-day {
        padding-bottom: 0;
    }

    .schedule,
    .event-details {
        padding-top: 0;
    }

    .hero-overlay {
        left: 15px;
        bottom: 15px;
        padding: 10px 20px;
    }

    .hero-overlay h1 {
        font-size: 1.2rem;
    }

    .event-text h2 {
        font-size: 1.5rem;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .photo-item img {
        height: 250px;
    }

    .schedule-day {
        padding: 20px;
    }

    .ticket-type {
        padding: 20px;
    }

    .special-price {
        padding: 20px;
    }

    .special-price h2 {
        font-size: 1.5rem;
    }

    .winner-item img {
        height: 300px;
    }

    .play-button {
        font-size: 2rem;
        padding: 15px 20px;
    }
}

/*--------------------------------------------------------------
## Animation for mobile menu
--------------------------------------------------------------*/

@media (max-width: 768px) {
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

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

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

/*--------------------------------------------------------------
## Utility Classes
--------------------------------------------------------------*/

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

.required {
    color: red;
    font-weight: bolder;
}

.sponsors-swiper-main .swiper-slide {
    text-align: center;
}

.yt-rwd {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* Relación 16:9 */
    height: 0;
    overflow: hidden;
}

.yt-rwd iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.yt_videos_loop {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* espacio entre columnas/filas */
    justify-content: space-between;
}

.yt_videos_loop .yt_video {
    flex: 1 1 calc(33.333% - 20px);
    /* 3 columnas */
    box-sizing: border-box;
    text-align: center;
}

.yt_videos_loop .yt_video img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    transition: transform 0.3s ease;
    margin-bottom: 10px;
}

.yt_videos_loop .yt_video img:hover {
    transform: scale(1.05);
}

@media screen and (max-width: 599px) {
    .yt_videos_loop .yt_video {
        flex: 1 1 100%;
    }
}

.hero-banner .hero-image video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: block;
    object-fit: cover;
}

/* ig feed */
@media screen and (max-width: 959px) {
    .fts-instagram-inline-block-centered.swiper-backface-hidden .swiper-slide {
        height: 500px !important;
    }
}

@media screen and (max-width: 599px) {
    .fts-instagram-inline-block-centered.swiper-backface-hidden .swiper-slide {
        margin-left: 0 !important;
    }
}

/* end ig feed */

.scholarship-info .swiper-slide > small{
    display: block;
    width: 100%;
    text-align: center;
    font-style: oblique;
    padding-top: 10px;
}