/*
Theme Name: Azulogic
Theme URI: https://azulogic.com
Author: Azulogic Team
Author URI: https://azulogic.com
Description: A professional WordPress theme for Azulogic wildfire detection technology company. Features modern design, full responsiveness, and optimized for business websites.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: azulogic
Tags: business, technology, corporate, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Azulogic WordPress Theme, Copyright 2026
Azulogic is distributed under the terms of the GNU GPL
*/

/* === CSS VARIABLES (BRAND COLORS) === */
:root {
    --azulo-red: #c8102e;
    --azulo-dark: #1a1a1a;
    --azulo-gray: #4a4a4a;
    --forest-green: #1a4d2e;
    --earth-tone: #4f772d;
    --accent-orange: #e85d04;
    --neutral-light: #f8f9fa;
    --background-cream: #faf8f3;
    --white: #ffffff;
}

/* === GLOBAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === BODY & HTML === */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--azulo-dark);
    background-color: var(--background-cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Pro', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--azulo-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--forest-green);
}

/* === NAVIGATION === */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(200, 16, 46, 0.1);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
}

/* Logo stays left, nav pushed right */
.main-navigation {
    margin-left: auto;
}

/* ─── NAV LINK HOVER (inline styles handle base; CSS handles hover) ─── */
#primary-menu a:hover {
    color: var(--azulo-red) !important;
}

/* ─── CTA BUTTON HOVER ─── */
a.cta-button:hover {
    background: transparent !important;
    color: var(--azulo-red) !important;
    border: 2px solid var(--azulo-red) !important;
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.2);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--azulo-red);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* === MAIN CONTENT === */
.site-content {
    margin-top: 80px;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--azulo-red);
    color: white;
    border-color: var(--azulo-red);
}

.btn-primary:hover {
    background: transparent;
    color: var(--azulo-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(200, 16, 46, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--forest-green);
    border-color: var(--forest-green);
}

.btn-secondary:hover {
    background: var(--forest-green);
    color: white;
    transform: translateY(-3px);
}

/* === FOOTER === */
.site-footer {
    background: var(--azulo-dark);
    color: white;
    padding: 4rem 3rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--azulo-red);
    transform: translateX(5px);
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--azulo-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

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

/* Tablets */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 3rem; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .main-navigation {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column !important;
        padding: 2rem;
        gap: 0.8rem !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        margin-left: 0 !important;
    }

    .main-navigation.active {
        display: flex !important;
    }

    #primary-menu {
        flex-direction: column !important;
        gap: 0.8rem !important;
        width: 100%;
        text-align: center;
    }

    #primary-menu li {
        width: 100%;
        text-align: center;
    }

    .language-switcher {
        border-left: none !important;
        margin-left: 0 !important;
        padding: 0.8rem 0 !important;
        border-top: 1px solid rgba(74,74,74,0.1) !important;
        border-bottom: 1px solid rgba(74,74,74,0.1) !important;
        justify-content: center !important;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.5rem; }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-content {
        margin-top: 60px;
    }
}

/* === UTILITY CLASSES === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

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

.section-padding {
    padding: 8rem 3rem;
}

.bg-white {
    background-color: var(--white);
}

.bg-cream {
    background-color: var(--background-cream);
}

.bg-dark {
    background-color: var(--azulo-dark);
}

/* === WORDPRESS SPECIFIC === */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--azulo-gray);
    margin-top: 0.5rem;
}

.sticky {
    /* Styles for sticky posts */
}

.bypostauthor {
    /* Styles for post author */
}

/* === ACCESSIBILITY === */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: var(--background-cream);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: var(--azulo-dark);
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
