/* texas-ranch.css */

:root {
    --color-ranch-dark: #2D1F1A;
    --color-ranch-champagne: #F7E9D7;
    --color-ranch-leather: #D1A6AD;
    --color-ranch-gold: #C5A059;
}

body {
    background-color: var(--color-petal, #FFF8FA);
    font-family: var(--font-body, 'Inter', sans-serif);
    color: var(--color-ranch-dark);
}

.texas-ranch-page {
    padding-top: var(--header-height, 80px);
}

/* ═══════════════════════════════════════
   HERO BANNER
   ═══════════════════════════════════════ */
.ranch-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: sepia(0.2) brightness(0.6);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 31, 26, 0.9) 0%, rgba(45, 31, 26, 0.3) 50%, rgba(45, 31, 26, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    color: #fff;
}

.hero-sparkle {
    display: block;
    font-family: var(--font-accent, 'Playfair Display', serif);
    color: #FFE5A3; /* Brighter, elegant champagne gold */
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(197, 160, 89, 0.4);
}

.ranch-hero h1 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--color-ranch-champagne);
}

.ranch-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
}

.btn-ranch-gold {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-ranch-gold), #A67E3A);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
    border: none;
    cursor: pointer;
}

.btn-ranch-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(197, 160, 89, 0.4);
    background: linear-gradient(135deg, #A67E3A, var(--color-ranch-gold));
}

/* ═══════════════════════════════════════
   BENTO GRID PROTOCOL
   ═══════════════════════════════════════ */
.ranch-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 2.5rem;
    color: var(--color-ranch-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary, #666);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bento-item {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(45, 31, 26, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(209, 166, 173, 0.2);
}

.bento-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(45, 31, 26, 0.1);
}

.bento-img {
    height: 220px;
    width: 100%;
}

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

.bento-content {
    padding: 30px;
}

.bento-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.bento-content h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-ranch-dark);
}

.bento-content p {
    color: var(--color-text-secondary, #666);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════
   RULES GLASSMORPHISM
   ═══════════════════════════════════════ */
.rules-section {
    background: var(--color-ranch-dark);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.rules-bg-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.rules-container {
    max-width: 1150px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px;
    position: relative;
    z-index: 1;
}

.rules-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    color: var(--color-ranch-champagne);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

.rules-columns-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 992px) {
    .rules-columns-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.rule-list {
    list-style: none;
    padding: 0;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.6;
}

.rule-icon {
    flex-shrink: 0;
    color: var(--color-ranch-gold);
    font-size: 1.2rem;
}

/* ═══════════════════════════════════════
   APPLICATION FORM
   ═══════════════════════════════════════ */
.application-section {
    background: url('../images/bdsm_tx.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 20px;
    position: relative;
}

.application-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 14, 20, 0.35); /* Elegant dark-burgundy overlay with lower opacity */
    z-index: 1;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(209, 166, 173, 0.3);
    position: relative;
    z-index: 2;
}

.progress-bar-container {
    height: 4px;
    background: #EEDBE0;
    border-radius: 4px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-ranch-leather), var(--color-ranch-gold));
    width: 33.33%;
    transition: width 0.5s var(--ease-spring, ease-out);
}

.step-indicator {
    text-align: center;
    font-weight: 700;
    color: var(--color-ranch-leather);
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-step {
    display: none;
    animation: fadeInRight 0.5s var(--ease-spring, ease-out) forwards;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-ranch-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1.5px solid rgba(209, 166, 173, 0.5);
    border-radius: 12px;
    background: #fff;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1rem;
    color: var(--color-ranch-dark);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-ranch-gold);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed rgba(209, 166, 173, 0.6);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    border-color: var(--color-ranch-gold);
    background: rgba(197, 160, 89, 0.02);
}

.file-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content i {
    font-size: 2.5rem;
    color: var(--color-ranch-leather);
    margin-bottom: 15px;
}

.file-upload-content p {
    color: var(--color-text-secondary, #666);
    font-size: 0.95rem;
    margin: 0;
}

.file-name-display {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    color: var(--color-ranch-gold);
    word-break: break-all;
}

/* Multiple file items, progress bars, and delete buttons */
.uploaded-files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    background: #fff;
    border: 1px solid rgba(209, 166, 173, 0.4);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.file-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 85%;
}

.file-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-ranch-dark);
    word-break: break-all;
}

.file-meta {
    font-size: 0.8rem;
    color: #888;
}

.btn-remove-file {
    background: transparent;
    border: none;
    color: #e53935;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-file:hover {
    background-color: #ffebee;
}

.file-progress-bar {
    height: 6px;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
}

.file-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-ranch-leather), var(--color-ranch-gold));
    width: 0%;
    transition: width 0.3s ease;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid var(--color-ranch-leather);
    color: var(--color-ranch-dark);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(209, 166, 173, 0.1);
}

/* Security Footer */
.security-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(209, 166, 173, 0.3);
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-ranch-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ranch-hero {
        height: auto;
        min-height: auto;
        padding: 120px 20px 80px 20px;
    }
    .ranch-hero h1 {
        font-size: 2.8rem;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .rules-container {
        padding: 30px 20px;
    }
    .form-wrapper {
        padding: 30px 20px;
    }
    .form-actions {
        flex-direction: column-reverse;
        gap: 15px;
    }
    .btn-secondary, .btn-ranch-gold {
        width: 100%;
        text-align: center;
    }
}
