/* 
    Standout Paper Texas - Southern Contemporary Style
    Palette: Warm Ivory (#fdfaf5), Charcoal (#2d3436), Rust (#b33939), Muted Blue (#4b6584)
*/

:root {
    --primary: #2d3436;
    --primary-light: #636e72;
    --accent: #b33939;
    --accent-light: #d63031;
    --secondary: #4b6584;
    --bg-light: #fdfaf5;
    --bg-alt: #f5f0e6;
    --bg-dark: #1e272e;
    --text: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(45, 52, 54, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg-light);
    background-image: radial-gradient(var(--bg-alt) 1px, transparent 1px);
    background-size: 30px 30px;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', serif;
    color: var(--primary);
    line-height: 1.1;
    font-weight: 700;
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 120px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

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

.section-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.section-heading {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 2rem;
}

.section-subtext {
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    border-radius: 0;
}

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

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(179, 57, 57, 0.2);
}

.btn-header {
    padding: 12px 24px;
    font-size: 0.75rem;
    background-color: var(--accent);
    color: var(--white);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(253, 250, 245, 0.98);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary);
    letter-spacing: -0.5px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white); /* High contrast for hero overlay */
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.header.scrolled .nav-menu a {
    color: var(--primary);
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: var(--transition);
}

.header.scrolled .menu-toggle .bar {
    background: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(45, 52, 54, 0.7) 0%, rgba(45, 52, 54, 0.4) 100%);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    color: var(--white);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 25px;
    margin-bottom: 5rem;
}

.hero-trust {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-item i {
    color: var(--accent);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.image-stack {
    position: relative;
    padding: 40px;
}

.about-img {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 20px 20px 0 var(--bg-alt);
}

.image-accent-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border: 1px solid var(--accent);
    z-index: 1;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.15rem;
}

.about-features {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bg-alt);
}

.feat-item i {
    color: var(--accent);
    font-size: 1.4rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1px;
    background-color: var(--bg-alt);
    border: 1px solid var(--bg-alt);
}

.service-card {
    background: var(--white);
    padding: 80px 60px;
    transition: var(--transition);
}

.service-card:hover {
    background-color: var(--bg-alt);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2.5rem;
}

.service-card h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* How It Works */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
}

.process-step {
    position: relative;
}

.step-icon {
    font-family: 'Fraunces', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.1;
    margin-bottom: -40px;
}

.process-step h3 {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    position: relative;
    z-index: 2;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
}

.review-card {
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 2.5rem;
    opacity: 0.3;
}

.review-card p {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 3rem;
    color: var(--primary);
}

.review-author {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--accent);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
}

.contact-list {
    margin: 4rem 0;
}

.contact-item {
    display: flex;
    gap: 30px;
    margin-bottom: 3rem;
}

.contact-item i {
    font-size: 1.6rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-item p, .contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.map-wrapper {
    margin-top: 4rem;
    border: 1px solid var(--bg-alt);
    filter: grayscale(1);
}

.form-box {
    background: var(--white);
    padding: 80px;
    border: 1px solid var(--bg-alt);
}

.form-box h3 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.form-box p {
    margin-bottom: 4rem;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 35px;
}

.form-group label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 20px 0;
    border: none;
    border-bottom: 1px solid var(--bg-alt);
    background: transparent;
    font-family: inherit;
    font-size: 1.1rem;
    transition: var(--transition);
}

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

.form-success-msg {
    text-align: center;
    padding: 60px 0;
}

.form-success-msg i {
    font-size: 5rem;
    color: #27ae60;
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 120px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 120px;
    margin-bottom: 100px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    opacity: 0.7;
    max-width: 500px;
    font-size: 1.1rem;
}

.footer-nav {
    display: flex;
    gap: 100px;
}

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

.footer-nav ul li {
    margin-bottom: 20px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-contact-info p {
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-contact-info a {
    color: var(--white);
    text-decoration: none;
}

.footer-copyright {
    opacity: 0.5;
    font-size: 0.95rem;
}

/* Animations */
.reveal-fade {
    opacity: 0;
    transition: all 1.2s ease-out;
}

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1.2s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1.2s ease-out;
}

.active {
    opacity: 1;
    transform: translate(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .header {
        padding: 20px 0;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-light);
        padding: 150px 50px;
        transition: var(--transition);
        text-align: center;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 40px;
    }
    
    .nav-menu a {
        font-size: 1.5rem;
        color: var(--primary);
    }
    
    .header-action {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .hero-grid, .about-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-btns, .hero-trust {
        justify-content: center;
    }
    
    .footer-nav {
        gap: 60px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .form-box {
        padding: 60px 30px;
    }
}
