/*
Theme Name: Ace of Trades Home Restoration
Theme URI: https://aceoftradeshomer-cu8oicc2s8.live-website.com
Author: Ace of Trades Home Restoration
Author URI: https://aceoftradeshomer-cu8oicc2s8.live-website.com
Description: Custom professional theme for Ace of Trades Home Restoration — kitchen & bath remodeling, home repairs, decks & outdoor living in Valdosta, GA.
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: ace-of-trades
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready

Ace of Trades Home Restoration - Let's Ace Your Next Project
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Brand Colors */
    --color-primary: #2862AE;
    --color-primary-dark: #1E4D8C;
    --color-primary-light: #3A7BD5;
    --color-accent: #ED1C24;
    --color-accent-dark: #C41019;
    --color-accent-light: #FF3B42;

    /* Neutrals */
    --color-dark: #1B2A4A;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #E0E0E0;
    --color-light: #F5F7FA;
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 800px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
}

ul, ol {
    padding-left: var(--spacing-md);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }

.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-padding-sm {
    padding: var(--spacing-lg) 0;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

.section-header .subtitle {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-top: var(--spacing-sm);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-dark:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-white);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-top-bar {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 8px 0;
    font-size: 0.85rem;
}

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

.header-top-bar a {
    color: var(--color-white);
    opacity: 0.9;
}

.header-top-bar a:hover {
    opacity: 1;
    color: var(--color-accent-light);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-right .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
}

.header-main {
    padding: 12px 0;
    background-color: var(--color-white);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 65px;
    width: auto;
}

.main-navigation {
    display: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 10px 18px;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    color: var(--color-primary);
    background-color: var(--color-light);
}

.header-cta {
    display: none;
}

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

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 100px 30px 40px;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu a:hover {
    color: var(--color-primary);
}

.mobile-menu .btn {
    width: 100%;
    margin-top: var(--spacing-md);
    text-align: center;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.show {
    opacity: 1;
}

/* Desktop Nav */
@media (min-width: 992px) {
    .main-navigation {
        display: block;
    }

    .header-cta {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-menu,
    .mobile-overlay {
        display: none !important;
    }

    .site-logo img {
        height: 75px;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27,42,74,0.85) 0%, rgba(40,98,174,0.75) 100%),
                url('assets/images/hero-bg.jpg') center/cover no-repeat;
    margin-top: 110px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--color-white), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 850px;
}

.hero-badge {
    display: inline-block;
    background: rgba(237,28,36,0.9);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    color: var(--color-white);
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
    color: var(--color-accent-light);
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    max-width: 650px;
    margin: 0 auto var(--spacing-md);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-top: var(--spacing-lg);
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
    text-align: center;
    color: var(--color-white);
}

.hero-stat .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent-light);
}

.hero-stat .label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-image .service-icon {
    position: absolute;
    bottom: -24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.service-card-content {
    padding: 36px 24px 24px;
}

.service-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.service-card-content .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-card-content .service-link:hover {
    color: var(--color-accent);
    gap: 10px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.why-us-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.why-us-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    font-size: 2rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.why-us-item:hover .why-us-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.why-us-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.why-us-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   ABOUT / INTRO SECTION
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
}

.about-image-wrapper .experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 20px 28px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-content h2 {
    margin-bottom: var(--spacing-sm);
}

.about-content .lead {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature .check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.85rem;
}

.about-feature span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-dark);
}

@media (min-width: 992px) {
    .about-intro {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--color-primary);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-stars {
    color: #FFC107;
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author-info strong {
    display: block;
    color: var(--color-dark);
    font-size: 1rem;
}

.testimonial-author-info span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

@media (min-width: 768px) {
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    margin-bottom: var(--spacing-md);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: var(--spacing-md);
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 600;
}

.cta-phone a {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.cta-phone a:hover {
    color: var(--color-accent-light);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,42,74,0.8), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-sm);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--color-white);
    font-weight: 600;
    font-family: var(--font-heading);
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   CONTACT SECTION / PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

.contact-info-card {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.contact-info-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--color-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-info-card a {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-form {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.contact-form h3 {
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--color-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(40,98,174,0.15);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--color-dark);
    color: rgba(255,255,255,0.8);
    padding-top: var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.footer-brand .footer-logo img {
    height: 60px;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: var(--spacing-sm);
    align-items: flex-start;
}

.footer-contact-item .icon {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-contact-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.8);
}

.footer-contact-item a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--spacing-sm) 0;
    text-align: center;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, rgba(27,42,74,0.9) 0%, rgba(40,98,174,0.8) 100%),
                url('assets/images/hero-bg.jpg') center/cover no-repeat;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: 110px;
    text-align: center;
}

.page-hero h1 {
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-xs);
}

.page-hero .breadcrumb {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.page-hero .breadcrumb a {
    color: rgba(255,255,255,0.85);
}

.page-hero .breadcrumb a:hover {
    color: var(--color-white);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 992px) {
    .about-story {
        grid-template-columns: 1fr 1fr;
    }
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.value-card {
    padding: var(--spacing-md);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.value-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
}

.value-card p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail:nth-child(even) .service-detail-image {
    order: -1;
}

.service-detail-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-detail-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.service-detail-content h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.service-detail-content ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0;
}

.service-detail-content ul li {
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
    color: var(--color-text);
}

.service-detail-content ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

@media (min-width: 992px) {
    .service-detail {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail:nth-child(even) .service-detail-image {
        order: 1;
    }
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    counter-reset: step;
}

.process-step {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    counter-increment: step;
}

.process-step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.process-step p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   FORM SUCCESS / ERROR MESSAGES
   ============================================ */
.form-message {
    padding: 16px;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.wp-block-image img {
    border-radius: var(--border-radius);
}

.entry-content {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.entry-content p {
    font-size: 1.05rem;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
    .header-top-bar {
        display: none;
    }

    .hero {
        margin-top: 85px;
        min-height: 80vh;
    }

    .page-hero {
        margin-top: 85px;
    }

    .hero-stats {
        gap: var(--spacing-md);
    }

    .hero-stat .number {
        font-size: 2rem;
    }

    .section-padding {
        padding: var(--spacing-lg) 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--border-radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}
