/*!
Theme Name: Aventure Corporate Solutions - Elementor Edition
Theme URI: https://aventurecorp.com
Author: Aventure Corporate Solutions
Author URI: https://aventurecorp.com
Description: A modern, professional WordPress theme built for recruitment and talent solutions companies. Fully compatible with Elementor page builder.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acs
Domain Path: /languages
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ===========================
   RESET & BASE STYLES
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background-color: #ffffff;
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #0284c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0369a1;
    text-decoration: underline;
}

/* ===========================
   LAYOUT & STRUCTURE
   =========================== */

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

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.col {
    flex: 1;
    padding-right: 10px;
    padding-left: 10px;
}

.col-6 {
    flex: 0 0 50%;
}

.col-4 {
    flex: 0 0 33.333%;
}

.col-3 {
    flex: 0 0 25%;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

.wp-site-logo img {
    max-width: 200px;
    height: auto;
}

nav.wp-block-navigation {
    display: flex;
    gap: 2rem;
}

nav.wp-block-navigation a {
    color: #0f172a;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav.wp-block-navigation a:hover {
    color: #0284c7;
    text-decoration: none;
}

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

.wp-block-button .wp-block-button__link,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn,
.button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #0284c7;
    color: #ffffff;
    border: 2px solid #0284c7;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.wp-block-button .wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.btn:hover,
.button:hover {
    background-color: #0369a1;
    border-color: #0369a1;
}

.btn-primary,
.button-primary {
    background-color: #0284c7;
    border-color: #0284c7;
}

.btn-primary:hover,
.button-primary:hover {
    background-color: #0369a1;
    border-color: #0369a1;
}

.btn-secondary,
.button-secondary {
    background-color: transparent;
    color: #0284c7;
    border-color: #0284c7;
}

.btn-secondary:hover,
.button-secondary:hover {
    background-color: #0284c7;
    color: #ffffff;
}

.btn-outline,
.button-outline {
    background-color: transparent;
    color: #0f172a;
    border-color: #0f172a;
}

.btn-outline:hover,
.button-outline:hover {
    background-color: #0f172a;
    color: #ffffff;
}

/* ===========================
   FORMS
   =========================== */

input[type="text"],
input[type="email"],
input[type="phone"],
input[type="url"],
input[type="number"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* ===========================
   CARDS
   =========================== */

.card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.card-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.card-body {
    margin-bottom: 1rem;
}

.card-footer {
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    text-align: right;
}

/* ===========================
   SECTIONS
   =========================== */

.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark {
    background-color: #0f172a;
    color: #f1f5f9;
}

.section-dark .section-title {
    color: #ffffff;
}

.section-dark .section-subtitle {
    color: #cbd5e1;
}

.section-light {
    background-color: #f8fafc;
}

.section-gray {
    background-color: #f1f5f9;
}

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

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 6rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,133.3C1248,128,1344,128,1392,128L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===========================
   FEATURES/SERVICES
   =========================== */

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-text {
    color: #64748b;
    font-size: 0.95rem;
}

/* ===========================
   TESTIMONIALS
   =========================== */

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: #0f172a;
}

.testimonial-title {
    font-size: 0.85rem;
    color: #64748b;
}

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

footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 3rem 0 1rem;
}

footer h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0284c7;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #334155;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ===========================
   MODALS/DIALOGS
   =========================== */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #0f172a;
}

.modal-body {
    margin-bottom: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 3rem 0;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .col-6,
    .col-4,
    .col-3 {
        flex: 0 0 100%;
    }

    .section {
        padding: 2rem 0;
    }

    nav.wp-block-navigation {
        gap: 1rem;
        flex-direction: column;
    }

    .row {
        margin-right: -5px;
        margin-left: -5px;
    }

    .col {
        padding-right: 5px;
        padding-left: 5px;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .section {
        padding: 1.5rem 0;
    }

    .feature {
        padding: 1rem;
    }

    .card {
        padding: 1rem;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */

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

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

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

.text-muted {
    color: #64748b;
}

.text-dark {
    color: #0f172a;
}

.text-light {
    color: #f1f5f9;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden {
    display: none !important;
}

.block {
    display: block !important;
}

.flex {
    display: flex !important;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Elementor specific overrides */
.elementor-container {
    max-width: 1200px;
}

.elementor-widget-wrap {
    display: flex;
    flex-wrap: wrap;
}

.elementor-element {
    position: relative;
}

/* Fix Elementor button styling */
.elementor-button {
    padding: 12px 28px;
    background-color: #0284c7;
    color: #ffffff;
    border: 2px solid #0284c7;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.elementor-button:hover {
    background-color: #0369a1;
    border-color: #0369a1;
}
