/* Custom styles for Padel Ladder */

/* Import Google Font - Space Grotesk */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Space Grotesk', sans-serif;
}

/* Hero Section */
.hero-section {
    padding: 80px 20px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

/* Q&A Section */
.qa-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.qa-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.qa-item {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qa-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.qa-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 15px;
}

.qa-answer {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.qa-answer a {
    color: #0d6efd;
    text-decoration: none;
    word-break: break-all;
}

.qa-answer a:hover {
    text-decoration: underline;
}

/* Navbar styling */
.navbar {
    padding: 1rem 2rem;
}

.navbar-brand {
    margin-right: 2rem;
}

/* How It Works Page */
.how-it-works-section {
    background-color: #f8f9fa;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
}

.rules-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    border-bottom: 3px solid #0d6efd;
    padding-bottom: 10px;
}

.rules-list {
    list-style: none;
    padding-left: 0;
}

.rules-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.rules-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #0d6efd;
    font-size: 1.3rem;
}

.rules-list li a {
    color: #0d6efd;
    word-break: break-all;
    text-decoration: none;
}

.rules-list li a:hover {
    text-decoration: underline;
}

/* WhatsApp Groups Page */
.whatsapp-section {
    background-color: #f8f9fa;
    min-height: 80vh;
}

.whatsapp-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.whatsapp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-icon {
    color: #25D366;
    margin-bottom: 25px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    min-height: 75px;
}

.card-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-whatsapp {
    background-color: #25D366;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
}

/* Join Page */
.join-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.join-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.join-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
}

.sticky-image {
    position: sticky;
    top: 100px;
    z-index: 1;
}

.form-container {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-section {
    border-left: 4px solid #0d6efd;
    padding-left: 25px;
    margin-bottom: 30px;
}

.form-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 25px;
}

.form-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.form-control, .form-select {
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.btn-lg {
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.3);
}

@media (max-width: 768px) {
    .join-title {
        font-size: 2rem;
    }
    
    .join-intro {
        font-size: 1.1rem;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .form-section-title {
        font-size: 1.5rem;
    }
}

/* Sortable table headers */
.sortable {
    cursor: pointer;
    user-select: none;
}

.sort-icon {
    font-style: normal;
    margin-left: 5px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .qa-title {
        font-size: 2rem;
    }
    
    .qa-question {
        font-size: 1.1rem;
    }
    
    .qa-answer {
        font-size: 1rem;
    }
}
