/*
Theme Name: Elevate Your Décor
Theme URI: https://elevateyourdecor.com
Author: Todd Bleeker
Description: Custom theme for Elevate Your Décor using handcrafted HTML/CSS/JS.
Version: 1.0
*/

:root {
    --evergreen: #0F3D3E;
    --champagne: #D9C7A3;
    --white: #FFFFFF;
    --gray-light: #F7F7F7;
    --gray-dark: #333333;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Garamond, serif;
    background-color: var(--white);
    color: var(--gray-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Logo Styling */
.logo {
    max-width: 800px;
    width: 70%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.25));
    animation: fadeIn 1.5s ease-out;
}

/* Typography */
h1, h2, h3 {
    font-family: Garamond, serif;
    color: var(--evergreen);
    margin-bottom: 12px;
}

p, li {
    font-family: Arial, sans-serif;
    font-size: 17px;
}

/* -----------------------------------
   HERO SECTION WITH BACKGROUND IMAGE
   ----------------------------------- */

/* Parallax Hero */
.hero {
    height: 80vh;
    background: linear-gradient(
                rgba(15, 61, 62, 0.55),
                rgba(15, 61, 62, 0.55)
              ),
              url("images/hero.jpg") center/cover no-repeat;
    background-attachment: fixed; /* Parallax magic */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    font-size: 56px;
    color: var(--white);
    text-shadow: 0px 2px 6px rgba(0,0,0,0.4);
}

.tagline {
    font-size: 22px;
    margin-top: 10px;
    font-family: Arial, sans-serif;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 30px;
}

/* Buttons */
.btn, .btn-secondary {
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 18px;
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn {
    background-color: var(--champagne);
    color: var(--evergreen);
    font-weight: bold;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid var(--champagne);
    color: var(--champagne);
}

.btn-secondary:hover {
    transform: translateY(-3px);
}

/* -----------------------------------
   SECTION LAYOUT + GRID
   ----------------------------------- */

.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section.alt {
    background-color: var(--gray-light);
}

/* Two-column layout */
.columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

/* Services grid */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service {
    background-color: var(--white);
    padding: 24px;
    border-left: 6px solid var(--champagne);
    border-radius: 6px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.12);
}

/* Why Choose Us */
.why-list {
    margin-top: 20px;
    padding-left: 20px;
}

.why-list li {
    margin-bottom: 12px;
}

/* Contact */
#contact a {
    color: var(--evergreen);
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: var(--evergreen);
    color: var(--white);
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

/* -----------------------------------
   ANIMATIONS
   ----------------------------------- */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Service Page Hero */
.service-link {
    text-decoration: none;
    color: inherit;
}

.cta {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--gray-light);
}

.cta h2 {
    color: var(--evergreen);
    margin-bottom: 10px;
}

.cta .btn, .cta .btn-secondary {
    margin-top: 20px;
}

/* Top Navigation */
.top-nav {
    position: sticky;
    top: 0;
    background-color: var(--white);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.top-nav img {
    height: 50px;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    color: var(--evergreen);
    font-weight: bold;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--champagne);
}

/* Service Page Layout */
.service-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    background-color: var(--gray-light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
}

.service-sidebar h3 {
    color: var(--evergreen);
    margin-bottom: 16px;
}

.service-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.service-sidebar li {
    margin-bottom: 12px;
}

.service-sidebar a {
    text-decoration: none;
    font-family: Arial, sans-serif;
    color: var(--evergreen);
    font-weight: bold;
    transition: color 0.2s ease;
}

.service-sidebar a:hover {
    color: var(--champagne);
}

/* Main Content */
.service-content {
    width: 100%;
}

.service-sidebar a.active {
    color: var(--champagne);
}
/* Compact Service Header */
.service-header {
    background-color: var(--evergreen);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    border-bottom: 6px solid var(--champagne);
}

.service-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.service-header .tagline {
    font-size: 18px;
    font-family: Arial, sans-serif;
    opacity: 0.9;
}

.section,
.cta {
    scroll-margin-top: 90px;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 150px;
    }
}
