/*
Theme Name: Youtopia Team Edition
Theme URI: https://youtopiaplc.com
Author: Youtopia Development Team
Description: Custom WordPress Theme for Youtopia Events & Promotion styled after Ethiopian Airlines branding (deep emerald green and gold).
Version: 5.0
Text Domain: youtopia
*/

:root {
    --primary-color: #0b4f34; /* Deep Emerald Green */
    --accent-color: #d4af37;  /* Gold */
    --dark-color: #111827;
    --light-color: #f8fafc;
    --gray-color: #4b5563;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--dark-color);
    line-height: 1.6;
}

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

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--accent-color);
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-snippets span {
    margin-right: 20px;
}

.contact-snippets i, .social-snippets a {
    color: var(--accent-color);
    margin-right: 6px;
}

.social-snippets a {
    margin-left: 15px;
    color: var(--white);
    transition: color 0.3s;
}

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

/* Header & Nav */
.site-header {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-navigation li {
    margin-left: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.nav-btn {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 4px;
    border: 2px solid var(--accent-color);
    transition: background 0.3s, transform 0.2s !important;
}

.nav-btn:hover {
    background-color: #083b26 !important;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 79, 52, 0.9) 0%, rgba(17, 24, 39, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
}

.subtitle-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #e5e7eb;
}

.btn-primary-custom {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.btn-primary-custom:hover {
    background-color: #c5a028;
    transform: translateY(-2px);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--accent-color);
    width: 30px;
    border-radius: 6px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.about-text h2 span {
    color: var(--accent-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
    font-size: 1.05rem;
}

.mission-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mission-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: flex-start;
    border-left: 4px solid var(--primary-color);
}

.mission-card i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
}

.mission-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.mission-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-box {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 40px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(11, 79, 52, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    height: 60px;
    width: 60px;
    background-color: rgba(11, 79, 52, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.service-box h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-box ul {
    list-style: none;
}

.service-box li {
    margin-bottom: 10px;
    color: var(--gray-color);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.service-box li i {
    color: var(--accent-color);
    margin-right: 10px;
    margin-top: 4px;
}

.service-box.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, #063120 100%);
    color: var(--white);
    border: none;
}

.service-box.highlight h3 {
    color: var(--white);
}

.service-box.highlight p {
    color: #e5e7eb;
    margin-bottom: 25px;
}

.btn-white {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-white:hover {
    background-color: #c5a028;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img-wrapper {
    height: 320px;
    width: 100%;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-info p {
    color: var(--gray-color);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--white);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.client-item {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s, border-color 0.3s;
}

.client-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.client-item h4 {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.contact-card-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    background: rgba(11, 79, 52, 0.1);
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-card-item small {
    display: block;
    color: var(--gray-color);
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.contact-card-item strong {
    color: var(--dark-color);
    font-size: 1.05rem;
}

.contact-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-form-box h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form-box p {
    color: var(--gray-color);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #083b26;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive */
@media(max-width: 968px) {
    .about-grid, .contact-grid, .services-grid, .team-grid, .clients-grid {
        grid-template-columns: 1fr;
    }
    .main-navigation {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

/* Floating WhatsApp Popup Icon */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    color: #ffffff;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}
