/*
 Theme Name: Plus372 Theme
 Theme URI: https://plus372.ee/
 Author: Plus372
 Author URI: https://plus372.ee/
 Description: A custom WordPress theme based on the Plus372 HTML page.
 Version: 1.0
 Text Domain: plus372-theme
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: #333; line-height: 1.7; background-color: #f9fafb; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Sticky Navigation */
.sticky-nav { position: sticky; top: 0; background: #1e3a8a; padding: 15px 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.sticky-nav .container { display: flex; justify-content: space-between; align-items: center; }
.sticky-nav .logo { font-size: 1.5em; font-weight: 700; color: white; text-decoration: none; }
.sticky-nav ul { list-style: none; margin: 0; padding: 0; }
.sticky-nav a { color: white; text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.sticky-nav a:hover { color: #f97316; }

/* Hamburger Menu */
.hamburger { display: none; font-size: 1.8em; color: white; background: none; border: none; cursor: pointer; }
.nav-menu { display: flex; gap: 25px; }

/* General Styles */
header { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%); color: white; padding: 80px 0; text-align: center; }
header h1 { font-size: clamp(2em, 6vw, 3em); font-weight: 700; margin-bottom: 20px; }
header p { font-size: clamp(1em, 3vw, 1.3em); opacity: 0.9; max-width: 800px; margin: 0 auto 30px; }
.cta-button { padding: 14px 35px; background: linear-gradient(90deg, #f97316, #fb923c); color: white; text-decoration: none; border-radius: 25px; font-weight: 600; display: inline-block; transition: all 0.3s ease-in-out; border: none; cursor: pointer; }
.cta-button:hover { background: linear-gradient(90deg, #ea580c, #f97316); transform: scale(1.05) translateY(-3px); box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4); }
.button-container { text-align: center; margin-top: 30px; }
section { padding: 80px 0; }
h2 { font-size: clamp(1.8em, 5vw, 2.5em); color: #1e3a8a; font-weight: 700; margin-bottom: 40px; text-align: center; }
.ways-to-earn, .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin: 40px 0; }
.way, .feature { padding: 25px; background: white; border-radius: 12px; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; }
.way:hover, .feature:hover { transform: scale(1.03); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }
.way h3, .feature h3 { color: #3b82f6; font-size: 1.6em; margin-bottom: 15px; }
.trust-signal { font-size: 1.1em; color: #4b5563; text-align: center; margin: 30px 0; }
.testimonials { background-color: #eef2ff; }
.testimonial { max-width: 700px; margin: 25px auto; font-style: italic; color: #4b5563; text-align: center; }
.testimonial p:last-child { font-weight: 600; font-style: normal; margin-top: 10px; }
.contact-form { max-width: 600px; margin: 40px auto; background: white; padding: 35px; border-radius: 15px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); }
.contact-form label { display: block; font-weight: 600; margin: 12px 0 6px; color: #1e3a8a; }
.contact-form label span { color: #f97316; padding-left: 4px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 15px; margin-bottom: 15px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 1em; transition: all 0.2s ease; background: #f9fafb; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #3b82f6; box-shadow: 0 0 6px rgba(59, 130, 246, 0.3); outline: none; }
.contact-form textarea { resize: vertical; min-height: 120px; }
footer { background-color: #1e3a8a; color: white; padding: 40px 0; font-size: 0.95em; text-align: center; }
footer a { color: #bfdbfe; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer p { margin: 8px 0; }

/* Form-specific styles */
.form-group { margin-bottom: 1rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.5rem; margin-top: 0.25rem; border: 1px solid #ccc; border-radius: 4px; }
.contact-form input:invalid:focus, .contact-form textarea:invalid:focus { border-color: #ff0000; box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }

/* Media Queries */
@media (max-width: 1024px) {
    .container { padding: 0 15px; }
    .ways-to-earn, .features { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    header { padding: 60px 0; }
    section { padding: 60px 0; }
}

@media (max-width: 768px) {
    header h1 { font-size: 2.2em; }
    h2 { font-size: 2em; }
    .hamburger { display: block; }
    .nav-menu { 
        display: none;
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        background: #1e3a8a; 
        flex-direction: column; 
        padding: 20px; 
        gap: 15px; 
        z-index: 999; 
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    }
    .nav-menu.active { display: flex; }
    .sticky-nav ul { width: 100%; }
    .cta-button { padding: 12px 25px; }
    .contact-form { padding: 25px; max-width: 100%; margin: 20px 10px; }
}

@media (max-width: 480px) {
    header { padding: 40px 0; }
    header h1 { font-size: 1.8em; }
    header p { font-size: 0.95em; }
    h2 { font-size: 1.6em; }
    .ways-to-earn, .features { grid-template-columns: 1fr; }
    .way, .feature { padding: 20px; }
    .cta-button { padding: 10px 20px; font-size: 0.9em; }
    section { padding: 40px 0; }
    .contact-form { padding: 20px; margin: 15px 10px; }
    .contact-form input, .contact-form textarea { font-size: 0.9em; }
}