/* ============================================
   CLEANWAVE - RESPONSIVE WEBSITE STYLESHEET
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.tagline {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

/* Navigation */
.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
}

.nav a:hover,
.nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: underline;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   PAGE HEADER (For inner pages)
   ============================================ */

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 16px;
    opacity: 0.95;
}

/* ============================================
   MAIN CONTENT & ARTICLES
   ============================================ */

main {
    min-height: 60vh;
    margin-bottom: 60px;
}

.blog-article {
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.article-header h1 {
    font-size: 38px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ============================================
   PAGE CONTENT (For inner pages)
   ============================================ */

.page-content {
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.content-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

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

.content-section li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.benefits-list {
    list-style: none;
    margin-left: 0;
}

.benefits-list li {
    background: #f5f7ff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-info h2,
.contact-form-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #667eea;
}

.contact-item p {
    font-size: 15px;
    margin-bottom: 8px;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.response-time {
    background: #f5f7ff;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #667eea;
    margin-top: 30px;
}

.response-time p {
    margin-bottom: 0;
    color: #333;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 80px;
    font-size: 14px;
}

.footer p {
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav ul {
        gap: 15px;
        width: 100%;
    }

    .nav a {
        font-size: 14px;
        padding: 6px 10px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .blog-article {
        padding: 30px;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .page-content {
        padding: 30px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .contact-form-section {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 2px solid #f0f0f0;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 20px 0;
    }

    .logo h1 {
        font-size: 24px;
    }

    .tagline {
        font-size: 12px;
    }

    .nav ul {
        gap: 10px;
    }

    .nav a {
        font-size: 13px;
        padding: 5px 8px;
    }

    .hero {
        padding: 50px 0;
        margin-bottom: 40px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .page-header {
        padding: 40px 0;
        margin-bottom: 40px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .page-header p {
        font-size: 14px;
    }

    .blog-article {
        padding: 20px;
    }

    .article-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .article-header h1 {
        font-size: 22px;
    }

    .article-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .article-content p {
        margin-bottom: 15px;
        text-align: left;
    }

    .page-content {
        padding: 20px;
    }

    .content-section h2 {
        font-size: 20px;
    }

    .content-section p,
    .content-section li {
        font-size: 15px;
    }

    .contact-wrapper {
        padding: 20px;
    }

    .contact-info h2,
    .contact-form-section h2 {
        font-size: 22px;
    }

    .contact-item h3 {
        font-size: 16px;
    }

    .contact-item p {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 12px 24px;
        font-size: 15px;
    }

    main {
        margin-bottom: 40px;
    }

    .footer {
        margin-top: 60px;
        padding: 20px 0;
        font-size: 13px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}
