/*
Theme Name: Jakes Moving Theme
Theme URI: https://jakesmoving.com
Author: Gemini CLI
Author URI: https://jakesmoving.com
Description: A custom theme for Jakes Moving & Storage landing page.
Version: 1.0
*/

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* CSS VARIABLES (THEME) */
:root {
    --primary-green-bg: #1A3023;   /* Slightly darker green for better visibility */
    --light-content-bg: #F3F4F0; /* Original light content area */
    --accent-teal: #2DD4BF;      /* NEW teal from palette */
    --accent-blue: #38BDF8;      /* NEW blue from palette */
    --dark-text: #1F2937;
    --light-text: #FFFFFF;
    --serif-font: 'Cormorant Garamond', serif;
    --sans-font: 'Inter', sans-serif;
    --border-radius: 16px;
    --container-width: 1200px;
}

/* GENERAL RESET & BODY STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans-font);
    background-color: var(--primary-green-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

/* HEADER & NAVIGATION */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background-color: var(--primary-green-bg);
    color: var(--light-text);
}

.logo {
   display: block;
   height: 40px; /* Adjust height as needed */
}

.logo img {
    height: 100%;
    width: auto;
}

.main-nav a {
    color: var(--light-text);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.main-nav a:hover {
    opacity: 0.8;
}

.header-meta {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
}

.header-meta svg {
    margin-right: 0.5rem;
    color: var(--accent-teal);
}

/* MAIN CONTENT AREA */
main {
    overflow: hidden;
}

/* UTILITY & HELPERS */
.section {
    padding: 6rem 3rem;
}

.section-tag {
    display: inline-block;
    background-color: var(--accent-teal);
    color: var(--primary-green-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

h1, h2, h3 {
    font-family: var(--serif-font);
    color: var(--dark-text);
    font-weight: 700 !important;
}

h2 {
    font-size: 3.5rem !important;
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 550px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: #4B5563;
}

/* HERO SECTION */
.hero-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 5rem 3rem;
    /* background-image: url('https://images.pixieset.com/90939649/17b6214ca2ceb939e0449bfade5ead3f-xxlarge.jpg'); */ /* Removed for video background */
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    position: relative;
    overflow: hidden; /* Ensures pseudo-element respects the border-radius */
    min-height: 600px; /* Ensure section has height */
    z-index: 1; /* Ensure hero content is above video */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Add shadow for readability */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(30, 57, 42, 0.95) 0%, rgba(30, 57, 42, 0.4) 100%);
}

.hero-content {
    max-width: 50%;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-button {
    background-color: var(--accent-teal);
    color: var(--dark-text);
    text-decoration: none;
    padding: 0.9rem 1.75rem;
    border-radius: 99px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #5eead4;
}

.secondary-link {
    color: var(--light-text);
    font-weight: 600;
    text-decoration: none;
}

/* LIGHT CONTENT WRAPPER */
.light-content-wrapper {
    background-color: var(--light-content-bg);
    overflow: hidden;
}

/* SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
}

.service-card-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

/* TESTIMONIALS SECTION */
#testimonials {
    background-color: #fff;
}

.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    display: grid;
    grid-template-columns: 300px 1fr 1fr;
    align-items: center;
    gap: 2rem;
    background-color: var(--light-content-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.testimonial-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.testimonial-details h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-details p {
    color: #555;
}

.testimonial-quote {
    font-style: italic;
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
}

.testimonial-quote::before {
    content: '“';
    font-family: var(--serif-font);
    font-size: 4rem;
    font-style: normal;
    position: absolute;
    left: -0.5rem;
    top: -1.5rem;
    color: var(--accent-teal);
    line-height: 1;
}

.stars {
    color: var(--accent-teal);
    margin-top: 1rem;
    font-size: 1.2rem;
}

/* CONTACT FORM SECTION */
#contact {
     background-color: var(--primary-green-bg);
}

#contact h2, #contact .section-intro {
    color: var(--light-text);
}

.contact-form {
    max-width: 700px;
    margin: 3rem auto 0 auto;
    background-color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--sans-font);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}

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

.form-submit-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    background-color: var(--accent-teal);
    color: var(--dark-text);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
     background-color: #5eead4;
}

/* FOOTER */
.main-footer {
    background-color: var(--primary-green-bg);
    color: var(--light-text);
    padding: 4rem 3rem 2rem 3rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px; /* Larger logo for the footer */
    width: auto;
}

.footer-info {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    opacity: 0.8;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* RESPONSIVE DESIGN */
@media (min-width: 769px) {
    main {
        margin: 0 2rem;
    }
    .hero-section {
        border-radius: var(--border-radius);
    }
    .light-content-wrapper {
        border-radius: var(--border-radius);
    }
    .main-header, .main-footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 1024px) {
    .main-header { padding: 1.5rem; }
    .main-nav { display: none; }
    .hero-content { max-width: 80%; }
    .hero-content h1 { font-size: 3.5rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-card { grid-template-columns: 1fr; text-align: center; }
    .testimonial-card img { height: 250px; }
    .testimonial-quote { padding-left: 0; text-align: left;}
    .testimonial-quote::before { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 1.5rem; }
    h2 { font-size: 2.5rem; }
    .main-header { padding: 1rem; }
    .hero-section { flex-direction: column; text-align: center; padding: 4rem 1.5rem; }
    .hero-content { max-width: 100%; }
    .hero-actions { justify-content: center; flex-direction: column; gap: 1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 2rem; }
}

/* Animation Styles */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}