/* =============================================
   SECTIONS.CSS - Page Section Styles
   ============================================= */

/* ===== Hero Section ===== */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--black);
    overflow: hidden;
}

.hero-parallax {
    position: absolute;
    inset: -20%;
    background: url('https://github.com/connecttraderbrothers/Trader.bro.web.background/blob/main/Screenshot%202026-01-04%20at%2013.45.48.png?raw=true') center/cover no-repeat;
    opacity: 0.5;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 5%;
    max-width: 900px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.8s forwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-300);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.2s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* ===== About Section ===== */
#about {
    background: var(--gray-100);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto 4rem;
}

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

.about-text .lead {
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text p {
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    display: block;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Services Section ===== */
#services {
    background: var(--black);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===== Portfolio/Gallery Section ===== */
#portfolio {
    background: var(--black);
    padding-bottom: 6rem;
}

#portfolio .section-label {
    color: var(--gold);
}

#portfolio .section-title {
    color: var(--white);
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    cursor: pointer;
    transition: transform var(--transition-medium);
}

.slide:hover img {
    transform: scale(1.02);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(10, 10, 10, 0.95));
    pointer-events: none;
}

.slide-caption h3 {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.slide-caption p {
    color: var(--gray-300);
    font-size: 0.95rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.slider-btn:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.slider-btn:hover svg {
    transform: scale(1.1);
}

.slider-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.progress-bar {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gold);
    width: 25%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reviews Section ===== */
#reviews {
    background: var(--gray-100);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* ===== Contact Section ===== */
#contact {
    background: var(--black);
    padding: 8rem 5%;
    position: relative;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-info .section-label {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.contact-description {
    color: var(--gray-300);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-300);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
}

.contact-form {
    background: var(--black-light);
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Footer ===== */
footer {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 5%;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-brand p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-medium);
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    width: 100%;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info .section-title,
    .contact-info .section-label {
        text-align: center;
    }
    
    .contact-description {
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .stats-row {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .slide img {
        height: 400px;
    }
    
    .slide-caption {
        padding: 2rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .slide img {
        height: 300px;
    }
    
    .slide-caption h3 {
        font-size: 1.3rem;
    }
    
    .slider-controls {
        gap: 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .progress-bar {
        width: 60px;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* Tablet styles for reviews checkerboard */
@media (min-width: 601px) and (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
