/* Main Stylesheet for Nunchaku World Website */

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: #d32f2f;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-small {
    display: inline-block;
    background-color: #d32f2f;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background-color: #b71c1c;
}

/* Navigation Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(0, 0, 0, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: white;
    font-weight: 700;
}

.logo i {
    color: #d32f2f;
    margin-right: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #d32f2f;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d32f2f;
}

.mobile-menu {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Features Section */
.features {
    padding: 80px 5%;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #222;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: #d32f2f;
    margin-bottom: 20px;
}

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

/* Quick Links Section */
.quick-links {
    padding: 80px 5%;
    background-color: #f5f5f5;
}

.quick-links h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #222;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.link-card {
    display: block;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.link-icon {
    font-size: 2.5rem;
    color: #d32f2f;
    margin-bottom: 20px;
}

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

/* Page Header */
.page-header {
    padding: 100px 5% 60px;
    text-align: center;
    background-color: #222;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    padding: 80px 5%;
}

.bg-light {
    background-color: #f5f5f5;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
}

.section-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
}

/* About Page Styles */
.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.history-text h3 {
    color: #d32f2f;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.history-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.anatomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.anatomy-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.anatomy-icon {
    font-size: 2.5rem;
    color: #d32f2f;
    margin-bottom: 20px;
}

.anatomy-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.culture-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.quote-box {
    background-color: #d32f2f;
    color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.quote-box blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.5;
}

.quote-box cite {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Types Page Styles */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.type-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
}

.type-image {
    font-size: 3rem;
    color: #d32f2f;
    margin-bottom: 20px;
}

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

.type-features {
    list-style: none;
    margin-top: 20px;
}

.type-features li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.type-features i {
    margin-right: 8px;
}

.type-features .fa-check {
    color: #4caf50;
}

.type-features .fa-times {
    color: #f44336;
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gear-item {
    text-align: center;
    padding: 30px 20px;
}

.gear-icon {
    font-size: 2.5rem;
    color: #d32f2f;
    margin-bottom: 20px;
}

.gear-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.guide-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.guide-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #d32f2f;
}

.guide-card h3 i {
    margin-right: 10px;
}

/* Techniques Page Styles */
.safety-notice {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 4px;
}

.safety-notice h3 {
    color: #856404;
    margin-bottom: 10px;
}

.safety-notice i {
    margin-right: 10px;
}

.technique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.technique-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.technique-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-family: 'Oswald', sans-serif;
    color: rgba(211, 47, 47, 0.1);
    font-weight: 700;
}

.technique-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #d32f2f;
}

.technique-steps {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.technique-steps h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.technique-steps ol {
    padding-left: 20px;
}

.technique-steps li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.technique-list {
    margin-top: 40px;
}

.technique-item {
    background-color: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.technique-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #d32f2f;
}

.technique-item h3 i {
    margin-right: 10px;
}

.difficulty {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.difficulty.intermediate {
    background-color: #ff9800;
    color: white;
}

.progression-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.progression-step {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background-color: #d32f2f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
}

.progression-step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
}

.progression-step ul {
    padding-left: 20px;
    margin-top: 15px;
}

.progression-step li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #222;
}

.contact-form-container p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d32f2f;
}

.contact-method {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.contact-method:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 2rem;
    color: #d32f2f;
    margin-right: 20px;
    min-width: 50px;
}

.contact-details h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #222;
}

.social-links.large {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.social-link i {
    margin-right: 10px;
}

.social-link.youtube {
    background-color: #ff0000;
}

.social-link.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-link.facebook {
    background-color: #3b5998;
}

.social-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.guidelines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.guideline-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.guideline-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #d32f2f;
}

.guideline-card h3 i {
    margin-right: 10px;
}

.newsletter-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.form-group-inline {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.form-group-inline input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group-inline input:focus {
    outline: none;
    border-color: #d32f2f;
}

.form-note {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* CTA Section */
.cta-section {
    padding: 80px 5%;
    text-align: center;
    background-color: #222;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Footer Styles */
footer {
    background-color: #111;
    color: #aaa;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 5% 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.7;
}

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

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

.footer-section ul li a {
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d32f2f;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #d32f2f;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 5%;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .history-grid,
    .culture-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .features h2,
    .quick-links h2,
    .section-content h2,
    .cta-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.5s ease;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .technique-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .difficulty {
        margin-top: 10px;
    }
    
    .form-group-inline {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .feature-grid,
    .link-grid,
    .types-grid,
    .gear-grid,
    .guide-content,
    .technique-grid,
    .progression-chart,
    .guidelines {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .features h2,
    .quick-links h2,
    .section-content h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }
}