/* ====================================
   River Circle Capital - Stylesheet
   ==================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color Variables - Professional Navy & Teal Theme */
:root {
    --primary-color: #1e3a5f;     /* Deep Navy Blue */
    --secondary-color: #2c5282;    /* Medium Blue */
    --accent-color: #00a896;       /* Teal/Green */
    --accent-light: #02c39a;       /* Light Teal */
    --text-dark: #1a202c;          /* Almost Black */
    --text-light: #4a5568;          /* Gray */
    --bg-light: #f8fafb;            /* Light Gray Background */
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-1: linear-gradient(135deg, #1e3a5f 0%, #2c5282 50%, #00a896 100%);
    --gradient-2: linear-gradient(135deg, #2c5282 0%, #00a896 100%);
}

/* Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

/* ====================================
   Navigation
   ==================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--accent-color);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ====================================
   Hero Section - LEFT ALIGNED WITH BACKGROUND IMAGE
   ==================================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: url('../images/properties/fayetteville.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.3) 70%,
            transparent 100%
        );
    z-index: 0;
}

.hero-bg {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 0;
    max-width: 700px;
    margin-left: 8%;
    margin-right: auto;
}

.hero-content * {
    text-align: left !important;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.8), 0 4px 60px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    opacity: 1;
    font-weight: 400;
    line-height: 1.5;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 40px rgba(0, 0, 0, 0.6);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start !important;
    animation: fadeInUp 0.8s ease 0.4s both;
    flex-wrap: wrap;
}

.btn {
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.4);
    background: var(--bg-light);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ====================================
   Section Defaults
   ==================================== */
section {
    padding: 5rem 2rem;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ====================================
   About Section - Professional Layout
   ==================================== */
.about {
    background: var(--bg-light);
    padding: 5rem 1rem;
    overflow-x: hidden;
}

.about .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about .section-title {
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    max-width: 100%;
    margin: 0 auto;
    align-items: center;
}

/* Slideshow Container - Professional */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.slideshow-container:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.slideshow {
    position: relative;
    width: 100%;
    height: 550px;
    background: #f5f5f5;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    background: #f5f5f5;
}

.slide.active {
    display: block;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: scale(1.05); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide Caption - Professional */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.85) 0%, 
        rgba(0,0,0,0.5) 40%, 
        transparent 100%);
    color: white;
    padding: 2.5rem 1.5rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Navigation Buttons - Professional */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.slideshow-container:hover .slide-btn {
    opacity: 0.8;
}

.slide-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.slide-btn.prev {
    left: 0.75rem;
}

.slide-btn.next {
    right: 0.75rem;
}

/* Slide Indicators - Professional */
.slide-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem 0.6rem;
    border-radius: 100px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.indicator.active {
    background: white;
    width: 24px;
    border-radius: 4px;
    border-color: white;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* About Content */
.about-content {
    padding: 0 0 0 1rem;
}

.about-text {
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-intro,
.about-text p:first-child {
    font-size: 1.25rem !important;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem !important;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    line-height: 1.7;
}

/* ====================================
   Portfolio Section
   ==================================== */
.portfolio {
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px var(--shadow);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
}

.portfolio-image {
    height: 250px;
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.9), transparent);
    color: white;
    padding: 1.5rem;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* ====================================
   Team Section
   ==================================== */
.team {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-2);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 168, 150, 0.3);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-initials {
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

.member-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.member-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-member p {
    color: var(--text-light);
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

/* ====================================
   CTA Section
   ==================================== */
.cta-section {
    background: var(--gradient-1);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .cta-buttons {
    justify-content: center !important;
}

/* ====================================
   Footer
   ==================================== */
footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-light);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ====================================
   Animations
   ==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1400px) {
    .about .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 1200px) {
    .about-layout {
        grid-template-columns: 1.2fr 1fr;
        gap: 2.5rem;
    }
    
    .slideshow {
        height: 480px;
    }
    
    .hero-content {
        margin-left: 5%;
        max-width: 650px;
    }
}

@media (max-width: 968px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .slideshow-container {
        max-width: 100%;
    }
    
    .slideshow {
        height: 450px;
    }
    
    .about-content {
        padding: 0;
    }
    
    .slide-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .hero {
        justify-content: center;
    }
    
    .hero-content {
        margin-left: 0;
        max-width: 85%;
        margin: 0 auto;
        padding: 0;
    }
    
    .hero-content * {
        text-align: center !important;
    }
    
    .cta-buttons {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }
    
    .team-grid {
        gap: 3rem;
    }
    
    .team-member p {
        max-width: 100%;
    }

    .hero {
        justify-content: center;
    }
    
    .hero-content {
        margin-left: 0;
        padding: 0 2rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .hero-content * {
        text-align: center !important;
    }
    
    .cta-buttons {
        justify-content: center !important;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-grid,
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .team-member p {
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about {
        padding: 3rem 1rem;
    }
    
    .about .container {
        padding: 0 1rem;
    }
    
    .slideshow {
        height: 350px;
    }
    
    .slide-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        opacity: 0.8;
    }
    
    .slide-btn.prev {
        left: 0.5rem;
    }
    
    .slide-btn.next {
        right: 0.5rem;
    }
    
    .slide-caption {
        font-size: 1rem;
        padding: 2rem 1rem 1rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-intro,
    .about-text p:first-child {
        font-size: 1.1rem !important;
    }
    
    .slide-indicators {
        bottom: 1rem;
        padding: 0.4rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 25px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-content * {
        text-align: center !important;
    }
    
    .cta-buttons {
        justify-content: center !important;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .slideshow {
        height: 280px;
    }
    
    .about .section-title {
        font-size: 1.75rem;
    }
    
    .slide-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-radius: 3px;
    }
}