/*
Theme Name: Extreme XL Theme
Theme URI: https://extremexl.com
Author: Extreme XL
Author URI: https://extremexl.com
Description: Custom WordPress theme for Extreme XL - Powering Business with Excel & Business Central
Version: 63.00
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: extreme-xl
*/

/* ========================================
   COLOR PALETTE
   Primary Green: #1a4d3e (Dark Excel Green)
   Light Green: #2d7a5f
   Accent Green: #3ea578
   Light Gray: #d3d6d8
   Dark Text: #2c3e3a
   ======================================== */

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

body {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.6;
    color: #2c3e3a;
    background: #f5f5f5;
}

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

.section {
    padding: 60px 0;
}

/* ========================================
   HEADER STYLES
   ======================================== */

.site-header {
    background: #1a4d3e;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #3ea578;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header-left-logo {
    flex: 0 0 auto;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

/* Custom logo from WordPress */
.custom-logo {
    width: auto;
    height: 80px;
    max-height: 80px;
}

/* Hide site title when custom logo is present */
.site-branding .custom-logo-link + .site-title {
    display: none;
}

.site-title {
    font-size: 2em;
    font-weight: 700;
    color: white;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.header-right-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 50px;
}

.header-tagline {
    font-style: italic;
    font-size: 1.15em;
    color: rgba(255,255,255,0.95);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header-contact {
    font-size: 0.9em;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.header-contact a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-contact a:hover {
    color: #3ea578;
}

.main-navigation {
    text-align: right;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1em;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-navigation a:hover {
    color: #3ea578;
}

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

.site-footer {
    background: #1a4d3e;
    color: white;
    padding: 40px 0 20px;
    border-top: 3px solid #3ea578;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
}

.footer-title {
    font-size: 1.8em;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #3ea578;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
}

.copyright {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 0.9em;
}

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

.hero {
    background: linear-gradient(135deg, #1a4d3e 0%, #2d7a5f 100%);
    color: white;
    padding: 80px 0;
    position: relative;
}

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

.hero-text h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-credentials {
    margin-top: 30px;
}

.credential-badge-large {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

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

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    background: #d3d6d8;
    padding: 80px 0;
}

.services h2 {
    font-size: 2.5em;
    color: #1a4d3e;
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    background: #f5f5f5;
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 1.8em;
    color: #1a4d3e;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-subtitle {
    font-size: 1.1em;
    color: #2d7a5f;
    margin-bottom: 20px;
    font-style: italic;
}

.service-description {
    font-size: 1em;
    color: #4a5555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    padding: 8px 0;
    color: #4a5555;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3ea578;
    font-weight: bold;
    font-size: 1.2em;
}

.service-note {
    font-size: 0.95em;
    color: #6a7575;
    font-style: italic;
    margin-top: 20px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    background: white;
    padding: 80px 0;
}

.about h2 {
    font-size: 2.5em;
    color: #1a4d3e;
    text-align: center;
    margin-bottom: 20px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    font-size: 1.2em;
    color: #2d7a5f;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.about-text {
    font-size: 1.05em;
    color: #4a5555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.about-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.certification-badge {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.certification-badge:hover {
    transform: scale(1.05);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    background: #d3d6d8;
    padding: 80px 0;
}

.contact h2 {
    font-size: 2.5em;
    color: #1a4d3e;
    text-align: center;
    margin-bottom: 20px;
}

.contact-intro {
    font-size: 1.2em;
    color: #4a5555;
    text-align: center;
    margin-bottom: 50px;
}

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

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form-wrapper h3 {
    font-size: 1.8em;
    color: #1a4d3e;
    margin-bottom: 25px;
}

/* Contact Form 7 Styling */
.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form label {
    display: block;
    font-weight: 600;
    color: #1a4d3e;
    margin-bottom: 8px;
    font-size: 1em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #d3d6d8;
    border-radius: 8px;
    font-size: 1em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #3ea578;
    box-shadow: 0 0 0 3px rgba(62, 165, 120, 0.1);
}

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

.wpcf7-form input[type="submit"] {
    background: #1a4d3e;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.wpcf7-form input[type="submit"]:hover {
    background: #2d7a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 77, 62, 0.3);
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-info p {
    font-size: 1.05em;
    color: #4a5555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 15px 35px;
    margin: 10px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
}

.btn-primary {
    background: #3ea578;
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a4d3e;
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .header-right-content {
        align-items: center;
        width: 100%;
    }
    
    .main-navigation {
        text-align: center;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2em;
    }
    
    .services h2,
    .about h2,
    .contact h2 {
        font-size: 2em;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-contact {
        text-align: center;
    }
}

/* ========================================
   GLOBAL HEADING STYLES
   Added: November 17, 2024
   Purpose: Standardize typography across all pages
   ======================================== */

/* H1 - Main Page Titles */
h1 {
    font-size: 2.5em;
    color: #1a4d3e;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Playfair Display', Georgia, serif;
}

/* H1 - Hero Section Variant (larger, white text) */
h1.hero-title {
    color: white;
    font-size: 2.8em;
}

/* H2 - Section Headings */
h2 {
    font-size: 2.2em;
    color: #1a4d3e;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1a4d3e;
    font-family: 'Playfair Display', Georgia, serif;
}

/* H2 - No Border Variant */
h2.no-border {
    border-bottom: none;
    padding-bottom: 0;
}

/* H2 - Section Title (Centered) */
h2.section-title {
    text-align: center;
}

/* H2 - White Text (for dark backgrounds) */
h2.white-text {
    color: white;
    border-bottom: none;
    padding-bottom: 0;
}

/* H3 - Subsection Headings */
h3 {
    font-size: 1.6em;
    color: #1a4d3e;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* H3 - Subtitle Variant */
h3.section-subtitle {
    color: #2d7a5f;
    font-style: italic;
    font-size: 1.3em;
}

/* H3 - Service/Feature Titles */
h3.service-title,
h3.feature-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

/* Paragraph - Section Subtitle (larger intro text) */
p.section-subtitle {
    font-size: 1.2em;
    color: #4a5555;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Paragraph - Hero Subtitle */
p.hero-subtitle {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    line-height: 1.6;
}
