/* public/assets/css/styles.css */
:root {
    --primary: #3a86ff;
    --secondary: #ff006e;
    --accent: #8338ec;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    overflow-x: hidden;
}

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

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
    color: white;
}

.logo-img-preloader {
    max-height: 80px;
    border-radius: 50%;
    width: auto;
    animation: rotate 3s infinite linear;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    transition: var(--transition);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.logo-img {
    max-height: 35px;
    width: auto;
}

.brand-text {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger span {
    background: white;
    height: 3px;
    margin: 3px 0;
    transition: var(--transition);
    transform-origin: left;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-login {
    background: var(--gradient);
    border-radius: 25px;
    padding: 6px 18px !important;
    margin-left: 8px !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, #b0c3ee 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("/assets/images/photo3-min.jpg") no-repeat center
        center/cover;
    opacity: 0.1;
}

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

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.btn-glow {
    background: var(--gradient);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-glow::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-outline {
    border: 2px solid white;
    background: transparent;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    margin-left: 10px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}

.floating-card {
    animation: float 3s ease-in-out infinite;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--gradient);
    margin: 0 auto 8px;
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% {
        height: 0;
        opacity: 0;
    }
    50% {
        height: 40px;
        opacity: 1;
    }
    100% {
        height: 0;
        opacity: 0;
    }
}

/* Carousel Styles */
.carousel-item {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.carousel-item[data-animation="fade-up"] {
    opacity: 0;
    transform: translateY(50px);
}

.carousel-item.active[data-animation="fade-up"] {
    opacity: 1;
    transform: translateY(0);
}

.carousel-item[data-animation="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
}

.carousel-item.active[data-animation="zoom-in"] {
    opacity: 1;
    transform: scale(1);
}

.carousel-item[data-animation="slide-right"] {
    opacity: 0;
    transform: translateX(50px);
}

.carousel-item.active[data-animation="slide-right"] {
    opacity: 1;
    transform: translateX(0);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(2);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 20px 0;
}

.section-divider.center {
    margin: 20px auto;
}

/* About Section */
.about-section {
    background: var(--light);
}

.image-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-frame::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: var(--gradient);
    z-index: -1;
    border-radius: 25px;
}

.stats-container {
    display: flex;
    gap: 25px;
    margin-top: 25px;
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Services Section */
.services-section {
    background: var(--dark);
    color: white;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h4 {
    margin-bottom: 12px;
    font-weight: 600;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(58, 134, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

/* Gallery Section */
.gallery-section {
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Team Section */
.team-section {
    background: var(--dark);
    color: white;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
}

.team-image-circle {
    width: 100%;
    height: 120%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gradient);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.team-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.team-card:hover .team-image-circle {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.team-card:hover .team-image-circle img {
    transform: scale(1.1);
}

.team-info {
    padding: 10px 0;
}

.team-info h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.team-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Kwanza Show Section */
.kwanza-show-section {
    background: var(--light);
}

.video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Section */
.contact-section {
    background: var(--dark);
    color: white;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    padding: 12px;
    color: white;
    margin-bottom: 15px;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background: #0f0f1a;
    color: white;
    padding: 40px 0 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--gradient);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 30px;
    text-align: center;
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 15px;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
        display: block;
    }

    .logo-img {
        max-height: 30px;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .navbar-collapse {
        background: rgba(26, 26, 46, 0.98);
        padding: 1rem;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .navbar-nav {
        width: 100%;
    }

    .team-image {
        width: 150px;
        height: 150px;
    }

    .team-info h4 {
        font-size: 1.1rem;
    }

    .team-info p {
        font-size: 0.85rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .whatsapp-float i {
        margin-top: 12px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem;
    }

    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .logo-img {
        max-height: 25px;
    }

    .brand-text {
        font-size: 1rem;
    }

    .logo-container {
        gap: 5px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .gallery-item img {
        height: 200px;
    }

    .team-image {
        width: 120px;
        height: 120px;
    }

    .team-info h4 {
        font-size: 1rem;
    }

    .team-info p {
        font-size: 0.8rem;
    }

    .service-card {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    section {
        padding: 50px 0;
    }

    .navbar-nav {
        text-align: center;
        padding: 0.5rem 0;
    }

    .nav-item {
        margin: 8px 0;
    }

    .navbar-toggler {
        margin-right: 10px;
    }

    .hero-content .row {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-glow,
    .btn-outline {
        width: 100%;
        max-width: 200px;
    }
}

/* AOS Custom Animations */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Mission & Vision */
.mission-vision-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--light);
}

.mission-vision-section .section-title {
    color: var(--light);
}

.mission-vision-section .section-title::after {
    background: var(--secondary);
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s ease;
}

.info-card.animated {
    transform: translateY(0);
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.info-card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

/* Mobile responsiveness for Mission & Vision */
@media (max-width: 768px) {
    .info-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .info-card h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .info-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .mission-vision-section {
        padding: 50px 0;
    }

    .info-card {
        padding: 25px 15px;
    }

    .card-icon {
        font-size: 2rem;
    }

    .info-card h3 {
        font-size: 1.3rem;
    }

    .info-card p {
        font-size: 0.85rem;
    }
}
