/* CSS Variables */
:root {
    --primary-color: #FF4500;
    --secondary-color: #FFD700;
    --text-color: #1C2526;
    --button-color: #DC143C;
    --background-color: #FFFFFF;
    --light-gray: #F8F9FA;
    --border-color: #E9ECEF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.btn-primary {
    background-color: var(--button-color);
    color: white;
}

.btn-primary:hover {
    background-color: #B22222;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo .logo {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 70px 0 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #E8F4FD 100%);
    display: flex;
    align-items: center;
    min-height: 600px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--button-color);
    color: #fff;
    padding: 0 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #666;
}

.hero-slogan {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--button-color);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-img {
    box-shadow: var(--shadow);
    display: block;
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: var(--primary-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.about-img {
    width: 100%;
    box-shadow: var(--shadow);
}

/* Events Section */
.events {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--background-color);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    gap: 20px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.event-location {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.event-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-details {
    display: flex;
    gap: 15px;
}

.event-time, .event-difficulty {
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-time {
    background: var(--secondary-color);
    color: var(--text-color);
}

.event-difficulty {
    background: var(--light-gray);
    color: var(--text-color);
}

/* Membership Section */
.membership {
    padding: 80px 0;
    background-color: var(--background-color);
}

.membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    background: var(--background-color);
    border: 2px solid var(--border-color);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.plan-card.featured {
    border-color: var(--primary-color);
    position: relative;
    transform: scale(1.05);
}

.plan-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.plan-price span {
    font-size: 1rem;
    color: #666;
}

.plan-features {
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    text-align: left;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Tips Section */
.tips {
    padding: 80px 0;
    background-color: var(--background-color);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.tip-card {
    background: var(--light-gray);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tip-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.tip-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.tip-card p {
    line-height: 1.6;
    color: #666;
}

/* Community Section */
.community {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.member-card {
    background: var(--background-color);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.member-image {
    width: 80px;
    height: 80px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.member-content h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-content p:last-child {
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--background-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.contact-details strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-details p {
    color: #666;
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    background: var(--light-gray);
    padding: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo .logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #ccc;
    font-style: italic;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--button-color);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Sections */
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .events-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .membership-plans {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    /* Contact Form */
    .contact-form {
        padding: 30px 20px;
    }

    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Standard Pages Styles */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #E8F4FD 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.page-content {
    padding: 80px 0;
    background-color: var(--background-color);
}

.content-section {
    margin-bottom: 40px;
}

.content-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.content-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Success Page */
.success-message {
    text-align: center;
    padding: 60px 40px;
    background: var(--light-gray);
    margin: 40px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: #28a745;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.success-message p {
    color: #666;
    margin-bottom: 30px;
}

/* Animation for interactive elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}

.hints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}