/*
Theme Name: The Ruck
Description: A WordPress theme for The Ruck - an invite-only membership for outdoor industry leaders. Built with Tailwind CSS and modern design principles.
Version: 1.0
Author:  Boomn
*/

/* Custom styles to extend Tailwind */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F5F5F5; /* White Smoke */
    color: #282828; /* Eerie Black */
}

.bg-eerie-black { background-color: #282828; }
.bg-white-smoke { background-color: #F5F5F5; }
.text-tan { color: #D2B48C; }
.bg-tan { background-color: #D2B48C; }
.hover\:bg-tan-dark:hover { background-color: #b89b74; }
.border-tan { border-color: #D2B48C; }
.bg-onyx { background-color: #4A4A4A; }
.text-saddle-brown { color: #8B4513; }

.hero-bg {
    background-color: #282828;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Fix for mobile devices - disable fixed background attachment */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll !important;
        min-height: 100vh;
        /* Ensure background image covers properly on mobile */
        background-size: cover !important;
        background-position: center center !important;
    }
}

/* Additional mobile fixes for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .hero-bg {
        background-attachment: scroll !important;
    }
}

/* Hero Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.section-title {
    font-weight: 900;
    font-size: 2.25rem; /* text-4xl */
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem; /* text-5xl */
    }
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #D2B48C;
    color: #282828;
    border: 2px solid #D2B48C;
}

.btn-primary:hover {
    background-color: #b89b74;
    border-color: #b89b74;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #F5F5F5;
    border: 2px solid #F5F5F5;
}

.btn-secondary:hover {
    background-color: #F5F5F5;
    color: #282828;
}

/* Custom Logo Styles */
.custom-logo {
    max-height: 60px;
    width: auto;
    display: inline-block;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    .custom-logo {
        max-height: 40px;
    }
}

/* Footer Logo Styles */
footer .custom-logo {
    max-height: 80px;
    width: auto;
    display: inline-block;
    filter: brightness(1); /* Ensure logo is visible on dark background */
}

footer .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    footer .custom-logo {
        max-height: 60px;
    }
}

/* WPForms Styling */
.wpforms-container {
    max-width: 100%;
    margin: 0 auto;
}

.wpforms-form {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.wpforms-field-container {
    max-width: 800px;
    margin: 0 auto;
}

.wpforms-field {
    margin-bottom: 1.5rem;
}

.wpforms-field-label {
    color: #282828 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.wpforms-field-required {
    color: #ef4444 !important;
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="url"],
.wpforms-field textarea,
.wpforms-field select {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 2px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    background-color: #ffffff !important;
    color: #282828 !important;
    transition: border-color 0.3s ease !important;
}

.wpforms-field input[type="text"]:focus,
.wpforms-field input[type="email"]:focus,
.wpforms-field input[type="tel"]:focus,
.wpforms-field input[type="url"]:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
    outline: none !important;
    border-color: #D2B48C !important;
    box-shadow: 0 0 0 3px rgba(210, 180, 140, 0.1) !important;
}

.wpforms-field textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.wpforms-submit-container {
    text-align: center !important;
    margin-top: 2rem !important;
}

.wpforms-submit {
    background-color: #D2B48C !important;
    color: #282828 !important;
    border: 2px solid #D2B48C !important;
    padding: 0.75rem 2rem !important;
    border-radius: 0.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.wpforms-submit:hover {
    background-color: #b89b74 !important;
    border-color: #b89b74 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
}

.wpforms-error {
    color: #ef4444 !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
}

.wpforms-field.wpforms-has-error input,
.wpforms-field.wpforms-has-error textarea,
.wpforms-field.wpforms-has-error select {
    border-color: #ef4444 !important;
}

.wpforms-confirmation-container-full {
    background-color: #10b981 !important;
    color: #ffffff !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    text-align: center !important;
    margin: 1rem 0 !important;
}

/* WPForms field description styling */
.wpforms-field-description {
    color: #6b7280 !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
}

/* WPForms checkbox and radio styling */
.wpforms-field-checkbox ul,
.wpforms-field-radio ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wpforms-field-checkbox li,
.wpforms-field-radio li {
    margin-bottom: 0.5rem !important;
}

.wpforms-field-checkbox input[type="checkbox"],
.wpforms-field-radio input[type="radio"] {
    width: auto !important;
    margin-right: 0.5rem !important;
    accent-color: #D2B48C !important;
}

/* Mobile responsiveness for WPForms */
@media (max-width: 768px) {
    .wpforms-field-container {
        padding: 0 1rem;
    }
    
    .wpforms-submit {
        width: 100% !important;
        padding: 1rem !important;
    }
}

/* Mobile responsiveness for Welcome Page */
@media (max-width: 768px) {
    .welcome-page-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .welcome-page-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
} 