/* ============================================
   CARTER FAMILY PRODUCTIONS - MAIN STYLESHEET
   Minimal Structure - No Traditional Header
   Color Palette:
   - Off/Warm White: #FAF9F6
   - Soft Charcoal: #5A5A5A
   - Dark Gray: #333333
   - Light Gray: #E5E5E5
   - Burgundy: #800020
   - Black: #000000
   - Parchment Tan (for logo triangle): #F5F0E8
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333333;
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Logo Overlay - Top Left with Triangle Background */
.logo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 288px;
    height: 288px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    background-color: #F5F0E8;
}

.logo-overlay img {
    position: absolute;
    top: 44px;
    left: 44px;
    height: 70px;
    width: auto;
    max-width: 248px;
    z-index: 1001;
}

/* Hamburger Menu - Top Right */
.hamburger-menu {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.hamburger-line {
    width: 30px;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s;
}

.hamburger-menu:hover .hamburger-line {
    background-color: #800020;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: #000000;
    z-index: 999;
    transition: right 0.3s ease;
    padding: 100px 50px 50px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 30px;
}

.mobile-menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 24px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
    display: block;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: #800020;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section - Full Bleed */
.hero-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    margin: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Photo Credit Overlay */
.photo-credit {
    position: absolute;
    bottom: 28px;
    right: 28px;
    z-index: 10;
    color: rgba(204, 204, 204, 0.6);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: right;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 600px;
    width: 100%;
    padding-left: clamp(40px, 10vw, 120px);
    padding-right: 40px;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0 0 -5vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.veteran-badge {
    font-size: 13px;
    color: #FAF9F6;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.95;
    font-weight: 400;
    text-align: left;
}

.hero-slogan {
    font-size: 56px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 50px;
    letter-spacing: 1px;
    color: #FFFFFF;
    text-align: left;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* CTA Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: #800020;
    color: #FFFFFF;
    text-decoration: none;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: inherit;
}

.btn:hover {
    background-color: #600018;
    transform: translateX(5px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.btn-outline:hover {
    background-color: #FFFFFF;
    color: #333333;
}

.btn-arrow::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s;
}

.btn:hover .btn-arrow::after {
    transform: translateX(5px);
}

/* Full-Width Content Sections */
.full-width-section {
    padding: 120px 40px;
    background-color: #FFFFFF;
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 300;
    color: #333333;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Featured Work section title - bold */
.full-width-section:has(.work-grid) .section-header h2 {
    font-weight: 700;
}

/* Our Services section title - bold */
.services-section .section-header h2 {
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: #5A5A5A;
    line-height: 1.8;
}

/* Featured Work / Portfolio Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.work-item {
    position: relative;
    background-color: transparent;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.work-item:hover {
    transform: translateY(-5px);
}

.work-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.work-item:hover img {
    transform: scale(1.05);
}

/* Cal's Door Company logo - full visibility without cropping */
.work-item:has(.cals-logo) {
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.cals-logo {
    object-fit: contain !important;
    object-position: center;
    width: 100%;
    height: auto;
    max-height: 400px;
    max-width: 100%;
    padding: 30px 20px;
    background-color: #FFFFFF;
    box-sizing: border-box;
    display: block;
    flex-shrink: 0;
}

/* Young Auto Glass logo - full visibility without cropping */
.work-item:has(.young-logo) {
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.young-logo {
    object-fit: contain !important;
    object-position: center;
    width: 100%;
    height: auto;
    max-height: 400px;
    max-width: 100%;
    padding: 30px 20px;
    background-color: #FFFFFF;
    box-sizing: border-box;
    display: block;
    flex-shrink: 0;
}

/* Carter Family Productions logo - full visibility without cropping */
.work-item:has(.cfp-logo) {
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.cfp-logo {
    object-fit: contain !important;
    object-position: center;
    width: 100%;
    height: auto;
    max-height: 400px;
    max-width: 100%;
    padding: 30px 20px;
    background-color: #FFFFFF;
    box-sizing: border-box;
    display: block;
    flex-shrink: 0;
}

/* Stronghall Consulting logo - full visibility without cropping */
.work-item:has(.stronghall-logo) {
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.stronghall-logo {
    object-fit: contain !important;
    object-position: center;
    width: 100%;
    height: auto;
    max-height: 400px;
    max-width: 100%;
    padding: 30px 20px;
    background-color: #FFFFFF;
    box-sizing: border-box;
    display: block;
    flex-shrink: 0;
}

.work-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F0E8;
    border: 2px dashed #CCCCCC;
    transition: transform 0.5s, background-color 0.3s;
}

.work-item:hover .work-placeholder {
    transform: scale(1.05);
    background-color: #E8E3DB;
}

.placeholder-text {
    color: #5A5A5A;
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.work-item-info {
    padding: 30px;
    background-color: #FFFFFF;
}

.work-item-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.work-item-info p {
    font-size: 16px;
    color: #5A5A5A;
    line-height: 1.6;
}

.work-item-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #800020;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    transition: gap 0.3s;
}

.work-item-link:hover {
    gap: 15px;
}

.work-item-link::after {
    content: '→';
    font-size: 18px;
}

/* Services Section */
.services-section {
    background-color: #FAF9F6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background-color: #FFFFFF;
    padding: 50px 40px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 16px;
    color: #5A5A5A;
    line-height: 1.8;
}

.service-unavailable {
    opacity: 0.7;
    background-color: #F5F5F5;
}

.service-unavailable h3 {
    color: #666666;
}

.unavailable-badge {
    font-size: 14px;
    font-weight: 400;
    color: #800020;
    font-style: italic;
}

/* Content Sections - Standard Pages */
.content-section {
    padding: 100px 40px 120px;
    background-color: #FFFFFF;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.content-section h1 {
    font-size: 56px;
    font-weight: 300;
    color: #333333;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.content-section h2 {
    font-size: 36px;
    font-weight: 300;
    color: #333333;
    margin-bottom: 30px;
    margin-top: 60px;
    letter-spacing: 0.5px;
}

.content-section h3 {
    font-size: 24px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 20px;
    margin-top: 40px;
    letter-spacing: 0.5px;
}

.content-section p {
    font-size: 18px;
    color: #5A5A5A;
    margin-bottom: 25px;
    line-height: 1.8;
}

.content-section ul {
    font-size: 18px;
    color: #5A5A5A;
    margin-left: 30px;
    margin-bottom: 30px;
    line-height: 2;
}

.content-section li {
    margin-bottom: 10px;
}

/* About Page - Full Bleed Background Image */
.about-hero {
    position: relative;
    width: 100vw;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 80px 40px;
    color: #FFFFFF;
}

.about-hero-content h1 {
    font-size: 56px;
    font-weight: 300;
    color: #FFFFFF;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.about-content {
    background-color: #FFFFFF;
    padding: 100px 40px;
    width: 100%;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #FAF9F6;
    padding: 50px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333333;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #E5E5E5;
    border-radius: 0;
    font-size: 16px;
    font-family: inherit;
    background-color: #FFFFFF;
    color: #333333;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #800020;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-top: 60px;
    align-items: start;
}

.contact-info {
    background-color: #FAF9F6;
    padding: 50px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 300;
    color: #333333;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 15px;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info p {
    font-size: 16px;
    color: #5A5A5A;
    margin-bottom: 25px;
    line-height: 1.8;
}

.contact-info a {
    color: #800020;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #600018;
}

/* Footer */
footer {
    background-color: #F5F0E8;
    color: #333333;
    padding: 80px 40px 40px;
    margin-top: 0;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    color: #333333;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p,
.footer-section a {
    color: #5A5A5A;
    font-size: 15px;
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #800020;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #E5E5E5;
    color: #5A5A5A;
    font-size: 14px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    height: 70px;
    width: auto;
    max-width: 400px;
    filter: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        padding-left: clamp(30px, 8vw, 100px);
        padding-right: 30px;
    }
    
    .hero-slogan {
        font-size: 42px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .work-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .full-width-section {
        padding: 80px 30px;
    }
    
    .content-section {
        padding: 100px 30px 80px;
    }
}

@media (max-width: 768px) {
    .logo-overlay {
        width: 216px;
        height: 216px;
    }
    
    .logo-overlay img {
        top: 33px;
        left: 33px;
        height: 55px;
        max-width: 185px;
    }
    
    .hamburger-menu {
        top: 20px;
        right: 20px;
    }
    
    .hero-content {
        padding-left: clamp(20px, 8vw, 80px);
        padding-right: 20px;
    }
    
    .hero-slogan {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section h1 {
        font-size: 36px;
    }
    
    .content-section h2 {
        font-size: 28px;
    }
    
    .about-hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .logo-overlay {
        width: 173px;
        height: 173px;
    }
    
    .logo-overlay img {
        top: 26px;
        left: 26px;
        height: 48px;
        max-width: 145px;
    }
    
    .hamburger-menu {
        top: 15px;
        right: 15px;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-content {
        padding-left: clamp(20px, 8vw, 60px);
        padding-right: 20px;
        padding-top: 0;
        padding-bottom: 0;
        max-width: 100%;
        margin: 0 0 -3vh 0;
    }
    
    .hero-slogan {
        font-size: 24px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        width: auto;
        justify-content: center;
    }
    
    .full-width-section {
        padding: 60px 20px;
    }
    
    .content-section {
        padding: 100px 20px 60px;
    }
    
    .photo-credit {
        bottom: 24px;
        right: 24px;
        font-size: 12px;
    }
}
