/*
Theme Name: AKWABA HOSPITALITY 360
Description: Thème corporate professionnel pour AKWABA HOSPITALITY 360° - Formation, Audit, Conseil, Certification
Version: 1.0.0
Author: AKWABA Team
Text Domain: akwaba-hospitality
*/

:root {
    --primary-green: #1B5E20;
    --secondary-green: #4CAF50;
    --gold-yellow: #FFD700;
    --orange: #FF9800;
    --red-accent: #F44336;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --light-bg: #F8F9FA;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* WordPress Core Styles Reset */
.wp-block-group {
    margin: 0;
}

.entry-content {
    margin: 0;
}

/* Header & Navigation */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 0 3px var(--gold-yellow);
}

.logo-circle img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-circle::before {
    content: "🎭";
    font-size: 24px;
    color: var(--gold-yellow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.2;
}

.logo-360 {
    color: var(--orange);
    font-weight: 800;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 400;
}

/* WordPress Menu */
.main-navigation {
    display: flex;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    box-shadow: var(--shadow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: none;
    border: none;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: 0.3s;
}

/* Main Content */
.site-main {
    margin-top: 90px;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
    opacity: 0.05;
    border-radius: 0 0 0 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Buttons */
.cta-button,
.wp-block-button__link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white) !important;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover,
.wp-block-button__link:hover {
    background: var(--white);
    color: var(--primary-green) !important;
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

/* Experience Section */
.experience-section {
    padding: 4rem 0;
    background: var(--primary-green);
    color: var(--white);
    text-align: center;
}

.experience-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold-yellow);
}

.experience-highlight {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin: 1rem 0;
}

.experience-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: var(--orange);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.service-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 5rem 0;
    background: var(--white);
}

.why-choose-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-item {
    padding: 1.5rem;
    border-left: 4px solid var(--gold-yellow);
    background: var(--light-bg);
    border-radius: 0 10px 10px 0;
}

.why-item h3 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.why-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    margin-top: 90px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.content-text h2 {
    color: var(--primary-green);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.content-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Contact Form */
.contact-form {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

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

/* Contact Info */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.contact-item strong {
    color: var(--gold-yellow);
}

.contact-item a {
    color: var(--primary-green);
    text-decoration: none;
}

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

/* RSE Section */
.rse-section {
    background: var(--primary-green);
    color: var(--white);
    padding: 4rem 0;
}

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

.rse-header h2 {
    font-size: 2.5rem;
    color: var(--gold-yellow);
    margin-bottom: 1rem;
}

.rse-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.odd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.odd-card {
    background: var(--white);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.odd-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.odd-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--white);
}

.odd-2 { background: var(--orange); }
.odd-4 { background: var(--red-accent); }
.odd-5 { background: var(--red-accent); }

.odd-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.odd-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Africa Map */
.africa-map {
    width: 100px;
    height: 100px;
    background: var(--secondary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    position: relative;
}

.africa-map::before {
    content: "🌍";
    font-size: 40px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 50%, var(--gold-yellow) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--gold-yellow);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: var(--white);
    text-decoration: none;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--gold-yellow);
}

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

/* Form Messages */
.form-messages {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

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

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

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

.wp-post-image {
    border-radius: 15px;
}

/* Admin Bar Adjustment */
.admin-bar .site-header {
    top: 32px;
}

.admin-bar .site-main {
    margin-top: 122px;
}

.admin-bar .page-header {
    margin-top: 122px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-green);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    z-index: 999;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation ul {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }

    .main-navigation.toggled ul {
        left: 0;
    }

    .main-navigation li {
        margin-bottom: 1rem;
    }

    .main-navigation a {
        width: 200px;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .content-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .logo-main {
        font-size: 1.1rem;
    }

    .logo-sub {
        font-size: 0.6rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .admin-bar .main-navigation ul {
        top: 122px;
        height: calc(100vh - 122px);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

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

    .experience-highlight {
        font-size: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }
}