/*
Theme Name: Trim Décor Landing Page
Theme URI: https://trimdecor.com
Author: The AI Docs Lab
Author URI: https://theaidocslab.com
Description: Custom landing page theme for Trim Décor - Veteran-owned trim and millwork specialist in Dallas Fort Worth. White & Gold elegant colors, SEO optimized, mobile responsive.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trim-decor
Tags: landing-page, one-page, custom-colors, responsive, veteran-owned
*/

/* ==========================================
   COLORS - WHITE & GOLD ELEGANT THEME
   ========================================== */
:root {
  --gold: #D4AF37;
  --gold-dark: #B8941F;
  --gold-light: #F4E5B8;
  --white: #FFFFFF;
  --off-white: #F9F9F9;
  --cream: #FFFEF7;
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --border-gold: #D4AF37;
  --shadow: rgba(212, 175, 55, 0.15);
}

/* ==========================================
   BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Playfair Display', 'Georgia', serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   HEADER / HERO SECTION
   ========================================== */
.hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
  padding: 80px 20px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.hero-logo {
  max-width: 300px;
  margin: 0 auto 30px;
  display: block;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
}

.hero .highlight {
  color: var(--gold);
}

.hero h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-gray);
  margin-bottom: 30px;
  font-family: 'Lato', sans-serif;
}

.hero .tagline {
  font-size: 20px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Lato', sans-serif;
}

.cta-button {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 18px 45px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
  font-family: 'Lato', sans-serif;
  box-shadow: 0 4px 15px var(--shadow);
}

.cta-button:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.3);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
  padding: 80px 20px;
  background: var(--off-white);
}

.services h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 50px;
  font-family: 'Playfair Display', serif;
}

.services h2 span {
  color: var(--gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-card {
  background: var(--white);
  padding: 35px;
  border-radius: 12px;
  border: 2px solid var(--gold-light);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow);
  border-color: var(--gold);
}

.service-card h3 {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.service-card p {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.8;
  font-family: 'Lato', sans-serif;
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery {
  padding: 80px 20px;
  background: var(--white);
}

.gallery h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 50px;
  font-family: 'Playfair Display', serif;
}

.gallery h2 span {
  color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 3px solid var(--gold);
  aspect-ratio: 4/3;
  box-shadow: 0 4px 15px var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.why-choose {
  padding: 80px 20px;
  background: var(--cream);
}

.why-choose h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 50px;
  font-family: 'Playfair Display', serif;
}

.why-choose h2 span {
  color: var(--gold);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature {
  text-align: center;
}

.feature-icon {
  font-size: 52px;
  color: var(--gold);
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.feature p {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.8;
  font-family: 'Lato', sans-serif;
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact-form {
  padding: 80px 20px;
  background: var(--white);
}

.contact-form h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.contact-form h2 span {
  color: var(--gold);
}

.contact-form > .container > p {
  text-align: center;
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 50px;
  font-family: 'Lato', sans-serif;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--cream);
  padding: 45px;
  border-radius: 12px;
  border: 2px solid var(--gold-light);
  box-shadow: 0 4px 20px var(--shadow);
}

.form-section-header {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
}

.section-number {
  background: var(--gold);
  color: var(--white);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
}

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

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-family: 'Lato', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  background: var(--white);
  border: 2px solid var(--gold-light);
  border-radius: 8px;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
  font-family: 'Lato', sans-serif;
}

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

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

.form-group select {
  cursor: pointer;
}

.form-hint {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 8px;
  font-family: 'Lato', sans-serif;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  cursor: pointer;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.radio-option {
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.radio-label {
  padding: 16px;
  background: var(--white);
  border: 2px solid var(--gold-light);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
  font-family: 'Lato', sans-serif;
}

.radio-option input[type="radio"]:checked + .radio-label {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.submit-button {
  width: 100%;
  background: var(--gold);
  color: var(--white);
  padding: 18px;
  font-size: 20px;
  font-weight: 700;
  border: 2px solid var(--gold);
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-family: 'Lato', sans-serif;
  box-shadow: 0 4px 15px var(--shadow);
}

.submit-button:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.3);
}

.form-note {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-gray);
  font-family: 'Lato', sans-serif;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--text-dark);
  padding: 40px 20px;
  text-align: center;
  border-top: 3px solid var(--gold);
}

.footer p {
  color: var(--gold-light);
  font-size: 16px;
  margin-bottom: 10px;
  font-family: 'Lato', sans-serif;
}

.footer .semper-fi {
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Lato', sans-serif;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero h2 {
    font-size: 18px;
  }
  
  .services h2,
  .gallery h2,
  .why-choose h2,
  .contact-form h2 {
    font-size: 32px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .radio-grid {
    grid-template-columns: 1fr;
  }
}
