/* ===================================
   Reach Social - Landing Page Styles
   Colors: #001B2E #EBEBD3 #DA4167
   =================================== */

/* CSS Variables */
:root {
    --color-primary: #001B2E;
    --color-secondary: #EBEBD3;
    --color-accent: #DA4167;
    --color-primary-light: #002d4a;
    --color-accent-hover: #c73858;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 27, 46, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 27, 46, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 27, 46, 0.2);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--color-secondary);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.highlight {
    color: var(--color-accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(218, 65, 103, 0.1);
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--color-primary);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar .logo img {
    height: 40px;
    width: auto;
    background-color: var(--color-secondary);
    padding: 6px 12px;
    border-radius: 8px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-links .btn {
    padding: 10px 24px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: 3px;
    transition: var(--transition);
}

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

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

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

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero h1 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(235, 235, 211, 0.8);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(235, 235, 211, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image > img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-primary);
}

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

/* Hero Background Shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--color-accent);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary);
    bottom: -150px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    top: 50%;
    right: 20%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(-10px, 20px) rotate(-5deg); }
    75% { transform: translate(15px, 10px) rotate(3deg); }
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 100px 0;
    background-color: var(--color-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), #e8587a);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: white;
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #5a6b7a;
    margin-bottom: 0;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 100px 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 1rem;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #5a6b7a;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-features svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    border-radius: 16px;
    z-index: 0;
}

.image-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.image-placeholder {
    position: relative;
    z-index: 1;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder span {
    color: var(--color-secondary);
    font-weight: 500;
    opacity: 0.6;
}

/* ===================================
   Results Section
   =================================== */
.results {
    padding: 100px 0;
    background-color: var(--color-primary);
}

.results .section-header h2,
.results .section-header p {
    color: var(--color-secondary);
}

.results .section-tag {
    background-color: rgba(235, 235, 211, 0.1);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.result-card {
    background: rgba(235, 235, 211, 0.05);
    border: 1px solid rgba(235, 235, 211, 0.1);
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--transition);
}

.result-card:hover {
    background: rgba(235, 235, 211, 0.1);
    transform: translateY(-4px);
}

.result-metric {
    margin-bottom: 1.5rem;
}

.result-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.result-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(235, 235, 211, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-card p {
    color: rgba(235, 235, 211, 0.8);
    margin-bottom: 0;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: 100px 0;
    background-color: var(--color-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: #5a6b7a;
    margin-bottom: 0;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--color-accent);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), #e8587a);
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
}

.author-role {
    display: block;
    font-size: 0.875rem;
    color: #5a6b7a;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta h2 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.cta > .container > .cta-content > p {
    color: rgba(235, 235, 211, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font-family);
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--color-primary);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand .logo img {
    height: 45px;
    width: auto;
    background-color: var(--color-secondary);
    padding: 8px 14px;
    border-radius: 8px;
}

.footer-brand p {
    color: rgba(235, 235, 211, 0.7);
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 235, 211, 0.1);
    border-radius: 8px;
    color: var(--color-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--color-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-links li {
    color: rgba(235, 235, 211, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.footer-bottom p {
    color: rgba(235, 235, 211, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-image-accent {
        left: auto;
        right: -20px;
        bottom: -20px;
        width: 150px;
        height: 110px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-image {
        max-width: 300px;
    }

    .hero-image-accent {
        width: 120px;
        height: 90px;
        right: -10px;
        bottom: -15px;
    }

    .hero-stats {
        gap: 2rem;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .service-card,
    .testimonial-card,
    .contact-form {
        padding: 1.5rem;
    }

    .result-number {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ===================================
   Animations & Transitions
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .testimonial-card,
    .result-card {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
    .services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
    .services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
    .services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }
    .services-grid .service-card:nth-child(5) { animation-delay: 0.5s; }
    .services-grid .service-card:nth-child(6) { animation-delay: 0.6s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
