/*
Theme Name: Astra Child Custom
Theme URI: https://wpastra.com/
Template: astra
Author: Astra Child
Author URI: https://wpastra.com/
Description: Astra Child Theme
Tags: blog, business
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --clr-primary-dark: #0F172A;
    --clr-primary-light: #1E293B;
    --clr-accent: #10B981;
    --clr-accent-hover: #059669;
    --clr-text-main: #334155;
    --clr-text-light: #64748B;
    --clr-bg-body: #F8FAFC;
    --clr-white: #FFFFFF;
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--clr-text-main);
    background-color: var(--clr-bg-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--clr-primary-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.ast-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo-img img {
    height: 60px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.menu-link {
    font-weight: 500;
    color: var(--clr-primary-dark);
    transition: color 0.3s;
    position: relative;
}

.menu-link:hover {
    color: var(--clr-accent);
}

/* Language Switcher Mockup */
.pll-parent-menu-item a {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pll-parent-menu-item a:hover {
    background: var(--clr-primary-dark);
    color: white;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
    padding: 6rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--clr-text-light);
    margin-bottom: 2.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary-light) 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-hover) 100%);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.section-padding {
    padding: 5rem 1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    background: var(--clr-primary-light);
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* =========================================
   SERVICES
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--clr-accent);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-top: 0;
}

/* =========================================
   TEAM
   ========================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.team-member {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: #E2E8F0;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #64748B;
}

/* =========================================
   CONTACT / FOOTER
   ========================================= */
.site-footer {
    background: var(--clr-primary-dark);
    color: #94A3B8;
    padding: 4rem 1rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .ast-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid,
    .team-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }

    .footer-col {
        text-align: center;
        width: 100%;
    }

    .footer-col div {
        align-items: center !important;
        /* Center align flex items in footer */
    }

    /* Adjust padding on mobile */
    .section-padding {
        padding: 3rem 1rem;
    }
}

/* =========================================
   MODAL CSS
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748B;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    color: #334155;
}

.form-input::placeholder {
    color: #94A3B8;
}

.form-input:focus {
    outline: none;
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-submit {
    width: 100%;
    background: #6366f1;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit:hover {
    background: #4f46e5;
}