/*
Theme Name: Deleon Collective
Theme URI: https://deleoncollective.com
Description: Custom WordPress theme for Deleon Collective - Management Consulting & Administrative Support Services
Author: Deleon Collective
Author URI: https://deleoncollective.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deleon-collective
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #c9a961;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #d4af37;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    background: #1a1a1a;
    padding: 3px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    width: 100px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #c9a961;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-logo:hover {
    color: #d4af37;
}

/* Desktop nav - always visible on large screens */
.main-navigation {
    display: flex;
    flex-direction: row;
    gap: 30px;
    list-style: none;
    position: relative;
    background: transparent;
    padding: 0;
    letter-spacing: 4px;
    margin-right: 44px;
}

.main-navigation li {
    display: inline-block;
    border-bottom: none !important;
    padding: 0 !important;
    margin-left: 20px;
}

.main-navigation a {
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: #c9a961;
    border-bottom-color: #c9a961;
}

/* Mobile Menu Toggle - hidden on desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #c9a961;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animate hamburger to X when active */
.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hero-headline .line-break {
    display: block;
    margin-top: 10px;
}

.hero-subheadline {
    font-size: 1.4rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.hero-cta,
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #c9a961 0%, #d4af37 100%);
    color: #1a1a1a;
    padding: 18px 45px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-cta:hover,
.btn-primary:hover {
    background: transparent;
    border: 2px solid #c9a961;
    color: #c9a961;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

/* ==========================================================================
   Carousel Section
   ========================================================================== */

.carousel-section {
    background: #f8f8f8;
    padding: 100px 20px;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.carousel-wrapper {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.carousel-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 30px;
    text-align: center;
}

.carousel-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.carousel-subtitle {
    color: #c9a961;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.swiper {
    width: 100%;
    padding: 40px 20px;
}

.swiper-slide {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 20px !important;
}

.card-image {
    width: 40% !important;
    flex-shrink: 0 !important;
}

.card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 6px;
}

.card-content {
    width: 60% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.card-number {
    color: #c9a961;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.card-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

.swiper-button-next,
.swiper-button-prev {
    color: #c9a961;
    width: 29px !important;
    height: 29px !important;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: 700;
}

.swiper-pagination-bullet {
    background: #c9a961;
    opacity: 0.4;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

.workflowSwiper {
    flex-direction: row;
}

/* ==========================================================================
   Sticky Scroll Cards Section
   ========================================================================== */

.sticky-cards-section {
    background: #ffffff;
    padding: 120px 20px;
}

.sticky-cards-container {
    max-width: 1400px;
    margin: 0 auto;
}

.sticky-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
    min-height: auto;
    padding: 80px 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.sticky-card-row:nth-child(odd) .sticky-card-track {
    transform: translateX(-100px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.sticky-card-row:nth-child(even) .sticky-card-track {
    transform: translateX(100px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.sticky-card-row:nth-child(odd) .sticky-card-content {
    transform: translateX(100px);
    opacity: 0;
    transition: transform 0.4s ease 0.2s, opacity 0.8s ease 0.2s;
}

.sticky-card-row:nth-child(even) .sticky-card-content {
    transform: translateX(-100px);
    opacity: 0;
    transition: transform 0.8s ease 0.2s, opacity 0.8s ease 0.2s;
}

.sticky-card-row.is-visible {
    opacity: 1;
}

.sticky-card-row.is-visible .sticky-card-track,
.sticky-card-row.is-visible .sticky-card-content {
    transform: translateX(0);
    opacity: 1;
}

.sticky-card-row:last-child {
    margin-bottom: 0;
}

.sticky-card-reverse {
    direction: rtl;
}

.sticky-card-reverse > * {
    direction: ltr;
}

.sticky-card-track {
    position: relative;
    height: 100%;
}

.sticky-card-sticky {
    position: relative;
    height: fit-content;
}

.sticky-card-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sticky-card-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.sticky-card-image img {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

.sticky-card-content {
    padding: 40px;
}

.sticky-card-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.2;
}

.sticky-card-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.sticky-card-text-head {
    font-size: 1.8rem;
}

.sticky-card-text:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.content-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.content-section h1,
.content-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.content-section h1 {
    font-size: 3rem;
    font-weight: 700;
}

.content-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

/* ==========================================================================
   Contact Section & Form
   ========================================================================== */

.contact-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 100px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    color: #ffffff;
}

.contact-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #c9a961;
    margin-bottom: 20px;
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.contact-detail-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c9a961;
    margin-bottom: 8px;
}

.contact-detail-value {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contact-form-wrapper-bg {
    background-image: url('./assets/form-bg.jpg');
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten;
    background-position: left bottom;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #c9a961;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    width: 100%;
    background: linear-gradient(135deg, #c9a961 0%, #d4af37 100%);
    color: #1a1a1a;
    padding: 18px 35px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit:hover {
    background: transparent;
    border: 2px solid #c9a961;
    color: #c9a961;
    transform: translateY(-2px);
}

.contact-page-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 20px;
    text-align: center;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #c9a961;
    margin-bottom: 20px;
}

.contact-hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.form-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #c9a961;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-widget p,
.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-widget a:hover {
    color: #c9a961;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .carousel-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .sticky-card-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
        opacity: 1;
    }

    .sticky-card-row .sticky-card-track,
    .sticky-card-row .sticky-card-content {
        opacity: 1;
        transform: none !important;
    }

    .sticky-card-reverse {
        direction: ltr;
    }

    .sticky-card-sticky {
        position: relative;
        top: 0;
    }

    .sticky-card-heading {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* Show hamburger, hide desktop nav */
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a1a;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        z-index: 999;
        
    }

    .main-navigation.active {
        display: flex;
    }

    .main-navigation li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 0 !important;
        margin-left: 0;
    }

    .hero-headline {
        font-size: 3rem;
    }

    .hero-subheadline {
        font-size: 1.1rem;
    }

    .hero-video {
        display: none;
    }

    .hero-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }

    .swiper-slide {
        flex-direction: column;
    }

    .card-image,
    .card-content {
        width: 100%;
    }

    .card-image img {
        height: 220px;
    }

    .sticky-cards-section {
        padding: 60px 20px;
    }

    .sticky-card-row {
        margin-bottom: 60px;
        min-height: auto;
        opacity: 1 !important;
        transform: none !important;
    }

    .sticky-card-row .sticky-card-track,
    .sticky-card-row .sticky-card-content {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .sticky-card-content {
        padding: 20px 0;
    }

    .sticky-card-heading {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .sticky-card-text {
        font-size: 1rem;
    }

    .sticky-card-image img {
        min-height: 300px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .contact-heading {
        font-size: 2rem;
    }

    .contact-hero-heading {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.2rem;
    }

    .carousel-section {
        padding: 60px 20px;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .content-section h1 {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }
}