/*
Theme Name: Sport To Fantasy
Theme URI: https://sporttofantasy.com
Author: Fantasy Basketball Theme Developer
Author URI: https://sporttofantasy.com
Description: A custom WordPress theme for Fantasy Basketball Sports website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sporttofantasy
Tags: fantasy-sports, basketball, responsive, orange, red
*/

/* Import Bootstrap CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
/* Import Font Awesome for icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@400;600;700;800&display=swap');

/* Root Variables for Theme Colors */
:root {
    --stf-orange: #FF6B00;
    --stf-red: #E63946;
    --stf-dark-orange: #CF4800;
    --stf-dark-red: #C1272D;
    --stf-light-orange: #FFA970;
    --stf-light-gray: #F8F9FA;
    --stf-dark-gray: #343A40;
    --stf-black: #212529;
    --stf-white: #FFFFFF;
}

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--stf-black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--stf-dark-gray);
}

a {
    color: var(--stf-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--stf-dark-orange);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--stf-orange);
    border-color: var(--stf-orange);
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--stf-dark-orange);
    border-color: var(--stf-dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--stf-red);
    border-color: var(--stf-red);
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--stf-dark-red);
    border-color: var(--stf-dark-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    width: 70%;
    height: 4px;
    background: linear-gradient(to right, var(--stf-orange), var(--stf-red));
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

/* Header Styles */
.site-header {
    background-color: var(--stf-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-logo {
    max-height: 60px;
    width: auto;
}

.main-navigation {
    display: flex;
    justify-content: flex-end;
}

.main-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin-left: 20px;
}

.main-menu a {
    color: var(--stf-dark-gray);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 0;
    position: relative;
}

.main-menu a:hover {
    color: var(--stf-orange);
}

.main-menu a:after {
    content: '';
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--stf-orange), var(--stf-red));
    position: absolute;
    bottom: 5px;
    left: 0;
    transition: all 0.3s ease;
}

.main-menu a:hover:after {
    width: 100%;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--stf-dark-gray);
}

/* Hero Banner */
.hero-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 150px 0;
    color: var(--stf-white);
}

.hero-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--stf-white);
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Email Form Section */
.email-form-section {
    background: linear-gradient(135deg, var(--stf-orange) 0%, var(--stf-red) 100%);
    padding: 60px 0;
    color: var(--stf-white);
    text-align: center;
}

.email-form {
    max-width: 600px;
    margin: 0 auto;
}

.email-form-heading {
    margin-bottom: 30px;
}

.email-form-heading h2 {
    color: var(--stf-white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.email-form-heading p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.email-input-group {
    position: relative;
    margin-bottom: 20px;
}

.email-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    padding-right: 150px;
}

.email-submit-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 10px 25px;
    border-radius: 25px;
    background-color: var(--stf-red);
    color: var(--stf-white);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-submit-btn:hover {
    background-color: var(--stf-dark-red);
}

.form-success-message {
    display: none;
    color: var(--stf-white);
    margin-top: 15px;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--stf-light-gray);
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    background-color: var(--stf-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--stf-orange);
}

.benefit-icon.red {
    color: var(--stf-red);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--stf-dark-gray);
    font-size: 1rem;
}

/* About Us Section */
.about-us-section {
    position: relative;
}

.about-us-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-us-content p {
    font-size: 1.1rem;
    color: var(--stf-dark-gray);
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--stf-light-gray);
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--stf-white);
    color: var(--stf-dark-gray);
    font-weight: 600;
    padding: 20px 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-button:not(.collapsed) {
    background-color: var(--stf-orange);
    color: var(--stf-white);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

.accordion-body {
    padding: 20px 25px;
    background-color: var(--stf-white);
}

/* 18+ Disclaimer */
.age-disclaimer {
    background-color: var(--stf-dark-gray);
    color: var(--stf-white);
    padding: 30px 0;
    text-align: center;
}

.age-disclaimer-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-badge {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.age-disclaimer p {
    margin: 0;
    font-size: 1rem;
}

/* Footer Styles */
.site-footer {
    background-color: var(--stf-black);
    color: var(--stf-white);
    padding: 60px 0 20px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.footer-menu li {
    margin: 0 15px;
}

.footer-menu a {
    color: var(--stf-white);
    font-weight: 500;
}

.footer-menu a:hover {
    color: var(--stf-orange);
}

.footer-logo {
    display: block;
    margin: 0 auto 30px;
    max-width: 150px;
}

.footer-social {
    text-align: center;
    margin-bottom: 30px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--stf-dark-gray);
    color: var(--stf-white);
    border-radius: 50%;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--stf-orange);
    color: var(--stf-white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom .age-badge {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    vertical-align: middle;
}

/* Page Templates Styles */
.page-header {
    background: linear-gradient(135deg, var(--stf-orange) 0%, var(--stf-red) 100%);
    color: var(--stf-white);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    color: var(--stf-white);
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.page-content {
    padding-bottom: 60px;
}

/* Point Systems Page */
.point-system-table {
    margin-bottom: 40px;
}

.point-system-table th {
    background-color: var(--stf-orange);
    color: var(--stf-white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.point-system-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.point-system-table tr:nth-child(even) {
    background-color: var(--stf-light-gray);
}

/* How to Play Page */
.step-card {
    margin-bottom: 30px;
    padding: 30px;
    background-color: var(--stf-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--stf-orange);
    color: var(--stf-white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.step-card h3 {
    margin-top: 10px;
    margin-bottom: 20px;
    color: var(--stf-dark-gray);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--stf-white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-menu {
        flex-direction: column;
    }
    
    .main-menu li {
        margin: 10px 0;
    }
    
    .hamburger-menu {
        display: block;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .email-input {
        padding-right: 20px;
    }
    
    .email-submit-btn {
        position: static;
        width: 100%;
        margin-top: 10px;
    }
    
    .about-us-content p {
        font-size: 1rem;
    }
    
    .footer-menu {
        flex-wrap: wrap;
    }
    
    .footer-menu li {
        margin: 5px 10px;
    }
}

@media (max-width: 575px) {
    .hero-banner {
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .benefit-card {
        padding: 20px 15px;
    }
    
    .page-header {
        padding: 50px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}
