/*
Theme Name: SEO Goodies
Author: SEO Goodies Team
Description: A robust, SEO-friendly, responsive WordPress theme for seogoodies.com. Tailored for Sri Lankan and Australian markets.
Version: 1.0
*/

:root {
    --primary-blue: #4DA8DA; /* Professional Light Blue */
    --secondary-blue: #ADD8E6;
    --dark-charcoal: #333333;
    --light-gray: #F9FAFB;
    --white: #FFFFFF;
    --font-main: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); color: var(--dark-charcoal); background-color: var(--white); line-height: 1.6; }
a { color: var(--primary-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 700; color: var(--dark-charcoal); margin-bottom: 15px; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Header */
.site-header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 15px 0; position: sticky; top: 0; z-index: 999; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 24px; font-weight: 800; color: var(--primary-blue); text-decoration: none; }
.main-menu ul { list-style: none; display: flex; gap: 20px; }
.main-menu a { text-decoration: none; font-weight: 500; color: var(--dark-charcoal); }
.main-menu a:hover { color: var(--primary-blue); }

/* Astryx-inspired Buttons */
.astryx-btn { display: inline-block; background: var(--primary-blue); color: var(--white); padding: 12px 24px; border-radius: 6px; font-weight: 600; transition: 0.3s; border: none; cursor: pointer; text-decoration: none; }
.astryx-btn:hover { background: #3a8dba; text-decoration: none; }
.astryx-btn-outline { background: transparent; border: 2px solid var(--primary-blue); color: var(--primary-blue); }
.astryx-btn-group { display: flex; gap: 15px; margin-top: 20px; }

/* Floating WhatsApp Button */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; display: flex; align-items: center; justify-content: center; text-decoration: none; }

/* Hero & Sections */
.hero { background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--white) 100%); padding: 80px 0; text-align: center; }
.section { padding: 60px 0; }
.section-gray { background: var(--light-gray); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); }
.card-icon { font-size: 40px; color: var(--primary-blue); margin-bottom: 15px; }

/* Carousel */
.carousel-container { overflow: hidden; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); margin: 40px 0; }
.carousel-slide { display: none; width: 100%; height: 400px; object-fit: cover; }

/* SEO Checker Form */
.checker-form { display: flex; gap: 10px; max-width: 600px; margin: 0 auto; }
.checker-form input { flex: 1; padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-family: var(--font-main); }
#seo-results { margin-top: 30px; background: #fff; padding: 30px; border-radius: 8px; display: none; }
.progress-bar { width: 100%; background: #eee; border-radius: 4px; height: 20px; margin: 10px 0; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary-blue); width: 0%; transition: width 1s; line-height: 20px; color: white; text-align: right; padding-right: 5px; font-size: 12px; }

/* Footer */
.site-footer { background: var(--dark-charcoal); color: var(--white); padding: 40px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 30px; }
.site-footer a { color: var(--secondary-blue); }

/* Responsive */
@media (max-width: 768px) {
    .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .main-menu { display: none; } /* Simplified for mobile */
    .checker-form { flex-direction: column; }
}