/* 
   Wallpaper Installer in Carson City - Nature-Inspired Sophistication Theme
   Colors: Muted Sage Green, Soft Cream, Deep Charcoal, Warm Gold
*/

:root {
    --primary: #4A5D4E; /* Muted Sage Green */
    --primary-dark: #3A4A3E;
    --accent: #B89B5E; /* Warm Gold */
    --text-dark: #2C2C2C; /* Deep Charcoal */
    --text-light: #555555;
    --bg-light: #F9F7F2; /* Soft Cream */
    --bg-alt: #EFECE5;
    --white: #FFFFFF;
    --border: rgba(74, 93, 78, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --header-height: 90px;
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

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

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

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

.section-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.1;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 35px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    border-radius: 0;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 93, 78, 0.2);
}

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

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow);
}

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

.logo-text {
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-text .location {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-top: -5px;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    position: relative;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    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(90deg, var(--bg-light) 30%, rgba(249, 247, 242, 0.6) 60%, transparent 100%);
}

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

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

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

.about-text p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.about-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    padding: 20px;
}

.about-img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.image-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 70%;
    background-color: var(--primary);
    opacity: 0.1;
    z-index: 1;
}

/* Services Section */
.services-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-item {
    background-color: var(--white);
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-bottom-color: var(--accent);
}

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

.service-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Gallery Section */
.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-card {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 93, 78, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-hover span {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid var(--white);
    padding: 10px 20px;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-hover {
    opacity: 1;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-item {
    background-color: var(--white);
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
}

.review-item::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.05;
}

.review-content p {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.review-info strong {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.info-list {
    margin-top: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.info-item p, .info-item a {
    color: var(--text-light);
    font-weight: 500;
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: underline;
}

.contact-form-container {
    background-color: var(--white);
    padding: 50px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    background-color: var(--bg-light);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
}

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

.form-success-msg i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

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

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.7;
    max-width: 450px;
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    opacity: 0.7;
    font-weight: 500;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

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

/* Animations */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

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

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .contact-layout, .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .services-layout, .gallery-showcase, .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-nav { gap: 40px; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-light);
        padding: 50px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero h1 { font-size: 2.5rem; }
    
    .hero-btns {
        justify-content: center;
    }
    
    .services-layout, .gallery-showcase, .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-btns { flex-direction: column; }
}
