/* =========================================
   FOX MARKETING SYSTEMS - STYLESHEET
   (Professional Dark Theme + Contact Form)
   ========================================= */

:root {
    --dark-espresso: #2D1E22;
    --fox-orange: #D98A2E;
    --light-gold: #F2C063;
    --pure-white: #FFFFFF;
    --warm-bg: #FAF9F7;
    --warm-card: #F8F6F4;
    --border-subtle: #E5E0DC;
    --text-muted: #4A4A4A;
    --text-light: #6B6560;
    --shadow-sm: 0 4px 12px rgba(45, 30, 34, 0.08);
    --shadow-md: 0 8px 24px rgba(45, 30, 34, 0.12);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-espresso);
    line-height: 1.6;
    background-color: var(--warm-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--text-muted); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--fox-orange);
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(217, 138, 46, 0.25);
}
.btn-primary:hover {
    background-color: #c47a26;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 138, 46, 0.35);
}

.btn-dark {
    background-color: var(--dark-espresso);
    color: var(--pure-white);
}
.btn-dark:hover {
    background-color: #1a1214;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--dark-espresso);
    color: var(--dark-espresso);
}
.btn-outline:hover {
    background: var(--dark-espresso);
    color: var(--pure-white);
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

.btn-large {
    padding: 1.1rem 2.8rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(45, 30, 34, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-espresso);
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.nav-links a:not(.btn):hover { color: var(--fox-orange); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--dark-espresso);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, var(--warm-bg) 0%, #F5F3F0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(217, 138, 46, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero h1 { margin-bottom: 1.5rem; color: var(--dark-espresso); }
.highlight { 
    color: var(--fox-orange); 
    display: block; 
    margin-top: 0.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.trust-text {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Hero Background Image */
/* Hero Section with Background Image */
.hero {
    position: relative;
    margin-top: 70px;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.4; /* Increased from 0.15 for better visibility */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay for better text contrast */
    background: linear-gradient(135deg, 
        rgba(45, 30, 34, 0.95) 0%, 
        rgba(45, 30, 34, 0.88) 50%,
        rgba(45, 30, 34, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

/* Ensure the highlight stands out */
.hero .highlight {
    color: var(--light-gold);
    display: block;
    margin-top: 0.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--pure-white); /* Changed to white for better contrast */
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9); /* White text */
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .hero-bg-img {
        object-position: center 20%;
    }
    .hero {
        padding: 6rem 0 4rem;
    }
}

/* Ensure text stays readable on all screens */
@media (max-width: 768px) {
    .hero-bg-img {
        object-position: center 30%;
    }
}
/* Problem / Solution */
.problem-solution {
    padding: 6rem 0;
    background: rgba(45, 30, 34, 0.04);
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.problem-box, .solution-box {
    padding: 3rem;
    border-radius: 12px;
}

.problem-box {
    background: var(--warm-card);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
}

.solution-box {
    background: var(--dark-espresso);
    color: var(--pure-white);
}

.solution-box h2 { color: var(--light-gold); }
.solution-box p { color: rgba(255,255,255,0.8); }

.problem-box ul li, .solution-box ul li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
}
.solution-box ul li { border-bottom-color: rgba(255,255,255,0.1); }

.problem-box ul li:last-child, .solution-box ul li:last-child { border-bottom: none; }

.problem-box ul li::before { 
    content: "−"; 
    color: #c0392b; 
    font-weight: 700; 
    font-size: 1.2rem;
    line-height: 1.4;
}
.solution-box ul li::before { 
    content: "+"; 
    color: var(--light-gold); 
    font-weight: 700; 
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Services */
.services {
    padding: 6rem 0;
    background: var(--warm-card);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.light-text h2,
.section-header.light-text p { color: var(--pure-white); }
.section-header.light-text p { opacity: 0.8; max-width: 600px; margin: 0 auto; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.service-card {
    background: var(--pure-white);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(45, 30, 34, 0.03);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--fox-orange);
}

.service-card.featured {
    border: 2px solid var(--fox-orange);
    background: linear-gradient(to bottom, #FFF9F2, #fff);
}

.badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--dark-espresso);
    color: var(--pure-white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card-accent {
    height: 4px;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    width: 40px;
}
.accent-gold { background: var(--light-gold); }
.accent-orange { background: var(--fox-orange); }
.accent-dark { background: var(--dark-espresso); }

.service-features {
    margin: 1.5rem 0 2rem;
    flex-grow: 1;
}
.service-features li {
    padding: 0.6rem 0;
    padding-left: 1.4rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 6px;
    height: 6px;
    background: var(--fox-orange);
    border-radius: 50%;
}

.services-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* SMS Marketing Section */
.sms-marketing {
    padding: 6rem 0;
    background: var(--pure-white);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.sms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sms-content h2 {
    color: var(--dark-espresso);
    margin-bottom: 1rem;
}

.sms-content .lead {
    font-size: 1.25rem;
    color: var(--fox-orange);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.sms-content > p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.sms-benefits {
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}
.benefit-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.benefit-marker {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fox-orange);
    background: rgba(217, 138, 46, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.benefit-item h4 {
    margin-bottom: 0.4rem;
    color: var(--dark-espresso);
}

.benefit-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Phone Mockup */
.sms-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--dark-espresso);
    border-radius: 48px;
    padding: 14px;
    box-shadow: 0 24px 64px rgba(45, 30, 34, 0.25);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #F2F2F7;
    border-radius: 36px;
    overflow: hidden;
    padding: 3rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sms-bubble {
    max-width: 88%;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sms-bubble.incoming {
    background: var(--pure-white);
    color: var(--dark-espresso);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

.sms-bubble.outgoing {
    background: var(--fox-orange);
    color: var(--pure-white);
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}

.sms-time {
    display: block;
    font-size: 0.7rem;
    margin-top: 0.5rem;
    opacity: 0.6;
    font-weight: 500;
}

/* Work Samples Section */
.work-samples {
    padding: 6rem 0;
    background: var(--dark-espresso);
    color: var(--pure-white);
}

.work-samples .section-header {
    margin-bottom: 4rem;
}

.work-samples .section-header p {
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
}

.samples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.sample-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sample-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.06);
    border-color: var(--fox-orange);
}

.sample-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 280px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px 12px 0 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sample-image-wrapper.expanded {
    max-height: 3000px;
    border-radius: 0;
}

.sample-img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.sample-image-wrapper.expanded .sample-img {
    object-fit: contain;
    transform: scale(1.01);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(45, 30, 34, 0.95), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.expand-hint {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.sample-image-wrapper.expanded .image-overlay {
    opacity: 0;
    pointer-events: none;
}

.sample-image-wrapper.expanded .expand-hint {
    transform: translateY(10px);
}

.sample-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--dark-espresso);
    color: var(--pure-white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}

.sample-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sample-content h3 {
    color: var(--pure-white);
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
}

.sample-content p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--warm-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
    background: var(--pure-white);
    padding: 0 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(45, 30, 34, 0.03);
}

.faq-item summary {
    padding: 1.5rem 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-espresso);
    font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
    transition: var(--transition);
}
.faq-item[open] summary::after { content: '−'; }

.faq-item p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Contact / CTA Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--fox-orange) 0%, #C47A26 100%);
    color: var(--pure-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-text h2 { margin-bottom: 1rem; color: var(--pure-white); font-size: 2.5rem; }
.contact-text > p { color: rgba(255,255,255,0.9); margin-bottom: 2rem; font-size: 1.1rem; }

.call-benefits { margin-bottom: 2.5rem; }
.call-benefits li {
    padding: 0.6rem 0;
    font-size: 1.05rem;
    color: var(--pure-white);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.call-benefits li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--pure-white);
    border-radius: 50%;
    opacity: 0.6;
}

.contact-alt {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}
.contact-alt a {
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 500;
    color: var(--pure-white);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-espresso);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark-espresso);
    background: var(--pure-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--fox-orange);
    box-shadow: 0 0 0 3px rgba(217, 138, 46, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    background: var(--dark-espresso);
    color: rgba(255,255,255,0.5);
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

/* Contact Section CTA - High Contrast */
.btn-contact {
    background-color: var(--pure-white);
    color: var(--dark-espresso);
    box-shadow: 0 4px 15px rgba(45, 30, 34, 0.2);
}
.btn-contact:hover {
    background-color: var(--dark-espresso);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 30, 34, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
    .ps-grid, .sms-grid, .contact-content {
        grid-template-columns: 1fr;
    }
    .solution-box { order: -1; }
    .sms-visual { order: -1; margin-bottom: 2rem; }
    .phone-mockup { width: 260px; height: 520px; }
    .samples-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--warm-bg);
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        gap: 1.8rem;
        box-shadow: var(--shadow-sm);
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 1px solid var(--border-subtle);
    }
    .nav-links.active { transform: translateY(0); }
    .mobile-toggle { display: flex; }
    .mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .mobile-toggle.open span:nth-child(2) { opacity: 0; }
    .mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    
    .hero { padding: 5rem 0 4rem; }
    .services-grid { grid-template-columns: 1fr; }
    .cta-center p { margin-bottom: 1rem; }
    .benefit-item { flex-direction: column; gap: 1rem; }
    .benefit-marker { margin-bottom: 0.5rem; }
    .contact-form { padding: 2rem 1.5rem; }
}

.footer-links {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--pure-white);
}