/*
Theme Name: Shalom Global Data Center
Theme URI: https://shalomglobaldc.net
Author: Shalom Global Data Center
Author URI: https://shalomglobaldc.net
Description: Professional WordPress theme for Shalom Global Data Center - Technology Innovation Hub from Marsabit, Kenya. Features climate intelligence, data analytics, and technology services showcase.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shalom-gdc
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, theme-options
*/

:root {
    --navy: #1B2B5B;
    --navy-dark: #0F1A3A;
    --sky: #3AAFE4;
    --sky-light: #5BC4F5;
    --silver: #A0A5AB;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --light-grey: #E2E8F0;
    --medium-grey: #64748B;
    --dark-grey: #334155;
    --gradient-primary: linear-gradient(135deg, var(--sky) 0%, var(--navy) 100%);
    --gradient-dark: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    --gradient-card: linear-gradient(135deg, rgba(58, 175, 228, 0.1) 0%, rgba(27, 43, 91, 0.05) 100%);
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --space-xs: 0.25rem; --space-sm: 0.5rem; --space-md: 1rem; --space-lg: 1.5rem;
    --space-xl: 2rem; --space-2xl: 3rem; --space-3xl: 4rem; --space-4xl: 6rem;
    --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem;
    --radius-xl: 1rem; --radius-2xl: 1.5rem; --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --transition-fast: 0.15s ease; --transition-base: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--dark-grey); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin-bottom: var(--space-md); }

.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--space-lg); }
.container-narrow { max-width: 900px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: 0.875rem 1.75rem; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600; border: none; border-radius: var(--radius-lg); cursor: pointer; transition: all var(--transition-base); text-decoration: none; white-space: nowrap; }
.btn svg { transition: transform var(--transition-base); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--gradient-primary); color: var(--white); box-shadow: 0 4px 15px rgba(58,175,228,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(58,175,228,0.5); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.05); transition: all var(--transition-base); }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md) 0; gap: var(--space-xl); }
.site-logo { display: flex; align-items: center; gap: var(--space-md); text-decoration: none; }
.site-logo img, .site-logo .custom-logo { height: 48px; width: auto; }
.site-logo-text { display: flex; flex-direction: column; }
.site-logo-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.site-logo-tagline { font-size: 0.7rem; color: var(--sky); text-transform: uppercase; letter-spacing: 0.05em; }
.logo-icon svg { width: 48px; height: 48px; }

.main-nav ul { display: flex; align-items: center; gap: var(--space-xl); }
.main-nav a { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 500; color: var(--dark-grey); position: relative; padding: var(--space-sm) 0; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--sky); transition: width var(--transition-base); }
.main-nav a:hover, .main-nav .current-menu-item a, .main-nav .current_page_item a { color: var(--sky); }
.main-nav a:hover::after, .main-nav .current-menu-item a::after, .main-nav .current_page_item a::after { width: 100%; }

.mobile-menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1002; position: relative; }
.mobile-menu-toggle span { display: block; width: 100%; height: 3px; background: var(--navy); transition: all var(--transition-base); border-radius: 2px; }
.mobile-menu-toggle.active span { background: var(--white); }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; background: var(--navy-dark); z-index: 1001; display: none; flex-direction: column; justify-content: center; align-items: center; padding: 2rem; }
.mobile-menu.active { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.mobile-menu li { text-align: center; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--white); display: block; padding: 0.5rem 1rem; }
.mobile-menu a:hover, .mobile-menu .current-menu-item a { color: var(--sky); }
.mobile-menu .mobile-contact { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.mobile-menu .mobile-contact-item { display: flex; align-items: center; gap: 0.5rem; color: var(--silver); font-size: 1rem; }
.mobile-menu .mobile-contact-item:hover { color: var(--sky); }

/* Sections */
.section { padding: var(--space-4xl) 0; position: relative; }
.section-label { display: inline-block; font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sky); margin-bottom: var(--space-md); }
.section-label.light { color: var(--sky-light); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto var(--space-3xl); }
.section-header p { color: var(--medium-grey); font-size: 1.125rem; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 50%, rgba(58,175,228,0.05) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 2px 2px, rgba(58,175,228,0.1) 1px, transparent 0); background-size: 40px 40px; }
.hero-orbs .orb { position: absolute; border-radius: 50%; filter: blur(60px); animation: float 8s ease-in-out infinite; }
.orb-1 { width: 400px; height: 400px; background: rgba(58,175,228,0.2); top: -10%; right: -5%; }
.orb-2 { width: 300px; height: 300px; background: rgba(27,43,91,0.15); bottom: 10%; left: -5%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }
.hero .container { position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); background: rgba(58,175,228,0.1); border: 1px solid rgba(58,175,228,0.2); border-radius: var(--radius-full); font-size: 0.875rem; color: #2A8FBD; margin-bottom: var(--space-lg); }
.badge-dot { width: 8px; height: 8px; background: var(--sky); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero h1 { margin-bottom: var(--space-lg); }
.hero-lead { font-size: 1.375rem; font-weight: 500; color: var(--navy); margin-bottom: var(--space-md); }
.hero-desc { font-size: 1.0625rem; color: var(--medium-grey); margin-bottom: var(--space-xl); max-width: 500px; }
.hero-buttons { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-2xl); }
.hero-contact { display: flex; gap: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--light-grey); }
.hero-contact-item { display: flex; align-items: center; gap: var(--space-sm); color: var(--medium-grey); }
.hero-contact-item:hover { color: var(--sky); }
.hero-contact-item .contact-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(58,175,228,0.1); border-radius: var(--radius-md); color: var(--sky); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card { position: relative; width: 100%; max-width: 450px; aspect-ratio: 1; }
.hero-card-glow { position: absolute; inset: -20px; background: var(--gradient-primary); border-radius: var(--radius-2xl); opacity: 0.2; filter: blur(40px); }
.hero-card-content { position: relative; width: 100%; height: 100%; background: var(--white); border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* Services */
.services-section { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.service-card { background: var(--white); padding: var(--space-2xl); border-radius: var(--radius-xl); border: 1px solid var(--light-grey); transition: all var(--transition-base); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: transform var(--transition-base); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--gradient-card); border-radius: var(--radius-lg); margin-bottom: var(--space-lg); color: var(--sky); font-size: 28px; }
.service-card:hover .service-icon { background: var(--gradient-primary); color: var(--white); }
.service-card h3 { font-size: 1.25rem; margin-bottom: var(--space-sm); }
.service-card p { color: var(--medium-grey); font-size: 0.9375rem; margin: 0; }
.service-link { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--sky); font-weight: 600; font-size: 0.9375rem; margin-top: var(--space-md); }

/* Featured */
.featured-section { position: relative; color: var(--white); overflow: hidden; background: var(--gradient-dark); }
.featured-section h2 { color: var(--white); }
.featured-section p { color: #D4D7DB; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: center; }
.featured-list { margin: var(--space-xl) 0; }
.featured-list li { display: flex; align-items: flex-start; gap: var(--space-md); padding: var(--space-sm) 0; color: #D4D7DB; }
.featured-list svg { color: var(--sky); flex-shrink: 0; }
.phone-mockup { display: flex; justify-content: center; }
.phone-frame { width: 280px; background: #000; border-radius: 40px; padding: 12px; box-shadow: var(--shadow-xl), 0 0 100px rgba(58,175,228,0.3); }
.phone-screen { background: var(--navy-dark); border-radius: 28px; overflow: hidden; min-height: 400px; }

/* Stats */
.stats-section { background: var(--gradient-primary); padding: var(--space-3xl) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.stat-card { text-align: center; color: var(--white); }
.stat-card .stat-number { font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; line-height: 1; margin-bottom: var(--space-sm); }
.stat-card .stat-label { font-size: 0.9375rem; opacity: 0.9; }

/* Team */
.team-section { background: var(--off-white); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.team-card { background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition-base); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.team-image { aspect-ratio: 1; background: var(--gradient-card); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.team-image img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar { width: 100px; height: 100px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--white); }
.team-info { padding: var(--space-lg); text-align: center; }
.team-info h3 { font-size: 1.125rem; margin-bottom: var(--space-xs); }
.team-role { display: block; font-size: 0.875rem; color: var(--sky); font-weight: 500; margin-bottom: var(--space-sm); }
.team-info p { font-size: 0.875rem; color: var(--medium-grey); margin: 0; }

/* CTA */
.cta-section { position: relative; padding: var(--space-4xl) 0; overflow: hidden; background: var(--gradient-dark); }
.cta-content { text-align: center; max-width: 700px; margin: 0 auto; color: var(--white); }
.cta-content h2 { color: var(--white); margin-bottom: var(--space-md); }
.cta-content p { color: #D4D7DB; font-size: 1.125rem; margin-bottom: var(--space-xl); }
.cta-buttons { display: flex; justify-content: center; gap: var(--space-md); flex-wrap: wrap; }

/* Page Header */
.page-header { padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl); background: var(--gradient-dark); position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(circle at center, rgba(58,175,228,0.1) 0%, transparent 70%); }
.page-header .container { position: relative; z-index: 1; }
.page-header.centered { text-align: center; }
.breadcrumbs { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.breadcrumbs a { color: var(--sky); font-size: 0.875rem; }
.breadcrumbs span { color: var(--silver); font-size: 0.875rem; }
.page-header h1 { color: var(--white); margin-bottom: var(--space-md); }
.page-header p { color: #D4D7DB; font-size: 1.125rem; max-width: 600px; }
.page-header.centered p { margin: 0 auto; }
.page-header.centered .breadcrumbs { justify-content: center; }

/* Footer */
.site-footer { background: var(--navy-dark); color: var(--white); padding-top: var(--space-4xl); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-3xl); padding-bottom: var(--space-3xl); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { max-width: 320px; }
.footer-logo { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-lg); }
.footer-logo img { height: 48px; width: auto; }
.footer-logo .logo-name { color: var(--white); font-family: var(--font-display); font-weight: 700; }
.footer-logo .logo-tagline { color: var(--sky); font-size: 0.7rem; text-transform: uppercase; }
.footer-brand > p { color: var(--silver); font-size: 0.9375rem; margin-bottom: var(--space-lg); }
.footer-social { display: flex; gap: var(--space-sm); }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: var(--radius-md); color: var(--white); transition: all var(--transition-fast); }
.footer-social a:hover { background: var(--sky); }
.footer-nav h4 { color: var(--white); font-size: 1rem; margin-bottom: var(--space-lg); }
.footer-nav ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-nav a { color: var(--silver); font-size: 0.9375rem; }
.footer-nav a:hover { color: var(--sky); }
.footer-contact li { display: flex; align-items: center; gap: var(--space-sm); }
.footer-contact svg { color: var(--sky); flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: var(--space-xl) 0; }
.footer-copyright { color: var(--silver); font-size: 0.875rem; margin: 0; }
.footer-tagline { color: var(--sky); font-size: 0.875rem; margin: 0; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.blog-card { background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--light-grey); transition: all var(--transition-base); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-image { aspect-ratio: 16/10; background: var(--gradient-card); overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-content { padding: var(--space-lg); }
.blog-card .category { display: inline-block; padding: 2px var(--space-sm); background: rgba(58,175,228,0.1); color: #2A8FBD; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600; margin-bottom: var(--space-sm); }
.blog-card h3 { font-size: 1.125rem; margin-bottom: var(--space-sm); }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--sky); }
.blog-card p { color: var(--medium-grey); font-size: 0.9375rem; }
.blog-meta { display: flex; gap: var(--space-md); font-size: 0.8125rem; color: var(--medium-grey); }

/* Forms */
.form-group { margin-bottom: var(--space-lg); }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--dark-grey); margin-bottom: var(--space-sm); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: var(--space-md) var(--space-lg); font-family: var(--font-body); font-size: 1rem; color: var(--dark-grey); background: var(--off-white); border: 2px solid transparent; border-radius: var(--radius-lg); transition: all var(--transition-fast); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; background: var(--white); border-color: var(--sky); }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-content, .featured-grid { grid-template-columns: 1fr; gap: var(--space-3xl); }
    .hero-visual { order: -1; }
    .hero-card { max-width: 350px; margin: 0 auto; }
    .services-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav, .header-cta { display: none !important; }
    .mobile-menu-toggle { display: flex !important; }
    .site-header { padding: 0; }
    .header-inner { padding: 0.75rem 0; }
    .site-logo-text { display: none; }
    
    .hero { min-height: auto; padding: calc(80px + var(--space-2xl)) 0 var(--space-3xl); }
    .hero-text { text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-contact { flex-direction: column; align-items: center; gap: var(--space-md); }
    .hero-card { max-width: 280px; }
    
    .section { padding: var(--space-3xl) 0; }
    .section-header { margin-bottom: var(--space-2xl); }
    
    .services-grid, .team-grid, .stats-grid, .blog-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { max-width: 100%; margin: 0 auto; }
    .footer-social { justify-content: center; }
    .footer-contact li { justify-content: center; }
    
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 300px; }
    
    .page-header { padding: calc(70px + var(--space-2xl)) 0 var(--space-2xl); }
    .page-header h1 { font-size: 2rem; }
    
    .phone-frame { width: 240px; }
    .featured-grid { gap: var(--space-2xl); }
    
    .stat-card .stat-number { font-size: 2.5rem; }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .btn-lg { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }
    .service-card, .team-card, .blog-card { padding: var(--space-lg); }
    .hero-badge { font-size: 0.75rem; padding: 0.375rem 0.75rem; }
}

.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: var(--space-lg); }
.alignright { float: right; margin-left: var(--space-lg); }
.screen-reader-text { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
