/*
Theme Name: HalabuurAI Theme
Theme URI: https://halabuur.ai
Author: HalabuurAI Team
Author URI: https://halabuur.ai
Description: A custom WordPress theme for the HalabuurAI landing page.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: halabuur-theme
*/
:root {
    /* Color Palette */
    --primary: #60fdfd;
    --primary-dark: #03cfcf;
    --primary-darker: #008585;
    --secondary: #00b8b8;
    --accent: #F7D71E;
    --headline: #FFFFFF;
    --body: #656871; /* Note: This is quite dark for body text on dark bg, might need adjustment. Using a lighter grey for dark mode. */
    --body-text: #9ca3af; /* Lighter grey for better contrast on dark bg */
    --dark-neutral: #16171a;
    --dark-surface: #1F2026;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--headline);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-primary {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.hidden {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.hero-form .btn-primary {
    background-color: var(--primary-dark) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: var(--primary-darker);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 133, 133, 0.4);
}

.btn-outline {
    border-color: var(--body-text);
    color: var(--headline);
}

.btn-outline:hover {
    border-color: var(--headline);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(22, 23, 27, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--headline);
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px; /* Constrain logo height */
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--body-text);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: auto; /* Changed from 100vh to remove excessive space */
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-top: calc(var(--header-height) + 64px); /* Slightly reduced top padding */
    padding-bottom: 64px; /* Added bottom padding */
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Give more space to the text/form side */
    gap: 48px; /* Reduce gap slightly to gain more width */
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 4.5rem; /* Slightly larger */
    margin-bottom: 40px; /* More breathing room */
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
}

.hero-title .text-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Ensures gradient works nicely */
}

.hero-quote-container {
    display: flex;
    gap: 16px;
    margin-bottom: 64px; /* More breathing room before form */
}



.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6); /* Lighter, more subtle */
    max-width: 480px;
    line-height: 1.7;
    font-weight: 400;
}

.text-secondary {
    color: var(--secondary);
}

/* Hero Visual Image Placeholder */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}



.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(96, 253, 253, 0.15) 0%, rgba(22, 23, 27, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}



/* Who It's For Section */
.who-its-for {
    background-color: transparent; /* Remove full width background */
    padding: 40px 0 80px; /* Reduced top padding to 40px, kept bottom 80px */
    position: relative;
    overflow: visible;
}

.who-its-for .container {
    background-color: var(--dark-surface);
    border-radius: 32px;
    padding: 80px 48px; /* Internal spacing */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.audience-grid {
    display: flex;
    justify-content: space-between; /* Force items to edges */
    align-items: flex-start;
    gap: 20px; /* Min gap */
    width: 100%;
    margin-top: 64px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.audience-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    cursor: default;
    width: auto; /* Reset width to content */
    flex: 0 1 auto;
}

.icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 10px 30px rgba(96, 253, 253, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.icon-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
    transition: transform 0.4s ease;
}

.audience-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--headline);
    text-align: center;
    transition: color 0.3s ease;
}

/* Hover Effects */
.audience-card:hover .icon-circle {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 20px 40px rgba(96, 253, 253, 0.5);
}

.audience-card:hover .icon-circle::after {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
}

.audience-card:hover h3 {
    color: var(--primary);
}

/* Responsive Grid */
@media (max-width: 768px) {
    .audience-grid {
        justify-content: center; /* Center on mobile if wrapping */
        gap: 48px; /* Increase gap for clarity */
    }
    
    .audience-card {
        flex: 0 1 40%; /* 2 items per row approx */
    }
}



/* About & Carousel */
.about {
    background-color: var(--dark-neutral);
    padding: 80px 0; /* More padding top/bottom */
}

.carousel-container {
    position: relative;
    max-width: 100%; /* Use full container width */
    margin: 0 auto 64px;
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    margin: 0; /* Full width */
    padding: 20px 0; /* Space for hover effects */
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    list-style: none;
}

.carousel-slide {
    min-width: 100%; /* Mobile: 1 slide */
    box-sizing: border-box;
    padding: 0 12px;
    opacity: 1; /* Keep all visible and bright */
    transition: all 0.4s ease;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 380px; /* Taller and grander */
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1); /* Cinematic look */
}

.carousel-slide:hover img {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 40px rgba(96, 253, 253, 0.25); /* Green premium glow */
    border-color: rgba(96, 253, 253, 0.4);
    filter: brightness(1.05) contrast(1.1);
}

.carousel-slide.active-slide img {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 40px rgba(96, 253, 253, 0.25); /* Green premium glow */
    border-color: rgba(96, 253, 253, 0.4);
    filter: brightness(1.05) contrast(1.1);
}

.carousel-btn {
    background: rgba(22, 23, 27, 0.6) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    cursor: pointer;
    border-radius: 50% !important;
    width: 56px !important;
    height: 56px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
    position: absolute; /* Float buttons */
    top: 50%;
    transform: translateY(-50%);
    padding: 0 !important; /* Reset potential padding */
}

.carousel-btn.prev-btn {
    left: 24px;
}

.carousel-btn.next-btn {
    right: 24px;
}

.carousel-btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 20px rgba(96, 253, 253, 0.3);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.carousel-indicator {
    width: 40px !important; /* Bar style indicator instead of dots for wider feel */
    height: 4px !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 !important; 
    margin: 0 !important;
}

.carousel-indicator.current-slide {
    background: var(--primary) !important;
    width: 60px !important; /* Active one is wider */
}

.mission-content {
    text-align: center;
    max-width: 900px; /* Wider text container */
    margin: 0 auto;
}

.mission-text {
    font-size: 1.5rem; /* Larger, premium text */
    line-height: 1.5;
    color: #e5e7eb;
    font-weight: 500;
}

.mission-text .text-primary {
    font-weight: 700;
    text-shadow: 0 0 20px rgba(96, 253, 253, 0.3);
}

/* Responsive Carousel */
@media (min-width: 768px) {
    .carousel-slide {
        min-width: 40%; /* 2.5 slides visible for "wider" look on desktop */
    }
}

@media (min-width: 1200px) {
    .carousel-slide {
        min-width: 33.333%; /* 3 slides on large screens, but nicely spaced */
    }
}

/* Hero Form */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 100%; /* Allow it to fill the column */
}

.hero-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px; /* Slightly more padding */
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05); /* Premium glow/shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-form:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(96, 253, 253, 0.15), 0 0 0 1px rgba(96, 253, 253, 0.3); /* Green glow on focus */
    border-color: rgba(95, 253, 252, 0.3);
}

.input-group {
    display: flex;
    flex: 1;
    gap: 8px;
}

.hero-input {
    background: transparent;
    border: none;
    color: var(--headline);
    padding: 16px 24px; /* Larger padding */
    font-size: 1.25rem; /* Larger text */
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
}

.hero-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.hero-form:focus-within .hero-input::placeholder {
    color: rgba(255, 255, 255, 0.6); /* Brighter placeholder on focus */
}



.hero-form .btn {
    padding: 12px 32px;
    white-space: nowrap;
    border-radius: var(--radius-full);
}

.form-success {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-left: 12px;
}

/* Responsive Hero Form */
@media (max-width: 768px) {
    .hero-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        gap: 16px;
    }

    .input-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-full);
        padding: 16px 24px;
        text-align: center;
    }

    .hero-input:first-child {
        border-right: 1px solid rgba(255, 255, 255, 0.1); /* Reset border */
    }

    .hero-form .btn {
        width: 100%;
        padding: 16px;
    }
}

/* Footer */
.footer {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--dark-neutral);

}



.footer-signature {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.footer-signature p {
    margin: 0;
}

.founders-names {
    color: var(--headline); /* Highlight founders */
    font-weight: 500;
    margin-top: 8px !important;
}

.brand-name {
    color: var(--primary); /* subtle brand hint */
    font-weight: 600;
}

.success-icon {
    font-size: 1.5rem;
    background: rgba(66, 166, 108, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both;
}



.success-message {
    font-size: 1.2rem; /* Larger text */
    font-weight: 600;
    color: #ffffff; /* White for better contrast */
    margin: 0;
    line-height: 1.4;
}

.hidden {
    display: none;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }
    
    .nav {
        display: none; /* Mobile menu to be implemented */
    }

    .about-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 0 !important; /* Reset padding */
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--headline);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(22, 23, 27, 0.9); /* Semi-transparent */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 24px;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Toggle Animation */
.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem; /* Reduced from 4.5rem */
        line-height: 1.2;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

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

    .hero-quote-container {
        justify-content: center;
    }

    .hero-visual {
        height: 300px; /* Reduced height */
    }

    .audience-grid {
        display: grid;
        grid-template-columns: 1fr; /* Single column for better focus */
        gap: 32px;
    }

    .carousel-slide {
        min-width: 85%; /* Shows peeking next slide */
    }
    
    .carousel-slide img {
        height: 300px;
    }

    .footer-signature {
        font-size: 0.85rem;
    }
}
