/*
Theme Name: PrimePitch Estates
Author: Gemini
Description: V11 - Single Premium Font (Outfit), Short Tagline, Ultra-Slim Footer.
Version: 11.0
*/

/* --- NEW FONT: Outfit (Modern, Premium, Uniform) --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #121653; 
    --accent: #C5A059;  
    --text: #2c3e50;    
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-color: #cccccc;
}

/* --- Global Reset & Typography --- */
* { box-sizing: border-box; }

/* Applied 'Outfit' to EVERYTHING for uniformity */
body { margin: 0; padding: 0; font-family: 'Outfit', sans-serif; color: var(--text); line-height: 1.6; font-size: 16px; font-weight: 400; }
h1, h2, h3, h5 { font-family: 'Outfit', sans-serif; color: var(--primary); margin-top: 0; font-weight: 700; line-height: 1.1; letter-spacing: -0.5px; }
h4 { font-family: 'Outfit', sans-serif; color: var(--accent); margin-top: 0; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.9rem; }

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

a { text-decoration: none; color: var(--primary); transition: 0.3s ease; }
img { max-width: 100%; height: auto; display: block; border-radius: 2px; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--white); padding: 16px 40px; border-radius: 0; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; border: 1px solid var(--accent); }
.btn:hover { background: transparent; color: var(--accent); }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { color: var(--primary); background: transparent; }

/* --- Header (Slim) --- */
.site-header { 
    background: var(--primary); 
    position: sticky; top: 0; z-index: 1000; 
    padding: 15px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo a { color: var(--white); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-navigation li { margin-left: 35px; }
.main-navigation a { color: rgba(255,255,255,0.9); font-weight: 500; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.main-navigation a:hover { color: var(--accent); }

/* --- Home Hero --- */
.home-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center; 
    height: 85vh; 
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.home-hero h1 { color: var(--white); white-space: nowrap; margin-bottom: 30px; }

/* Button Container (For Mobile Flex) */
.hero-btns {
    margin-top: 40px;
}

/* --- Page Headers --- */
.page-hero {
    background-color: var(--primary);
    background-image: url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&w=1920&q=80');
    background-blend-mode: multiply;
    background-size: cover; background-position: center;
    padding: 100px 0;
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.9); font-size: 1.2rem; font-style: italic; font-weight: 300; }

/* --- Interactive Services --- */
.services-interactive { display: grid; grid-template-columns: repeat(3, 1fr); height: 500px; }
.service-item { position: relative; background-size: cover; background-position: center; overflow: hidden; cursor: pointer; }
.service-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 22, 83, 0.4); 
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: 0.5s ease; padding: 40px; text-align: center;
}

/* --- UPDATED H3 STYLING (ADDED SHADOW) --- */
.service-item h3 { 
    color: var(--white); 
    z-index: 2; 
    position: relative; 
    border-bottom: 2px solid var(--accent); 
    padding-bottom: 10px; 
    transition: 0.3s; 
    font-size: 1.8rem; 
    /* Strong text shadow for crisp readability against images */
    text-shadow: 0 2px 5px rgba(0,0,0,0.8); 
}

.service-desc { color: var(--white); opacity: 0; transform: translateY(20px); transition: 0.5s ease; font-size: 1rem; margin-top: 15px; font-weight: 300; }
.service-item:hover .service-overlay { background: rgba(18, 22, 83, 0.95); }
.service-item:hover .service-desc { opacity: 1; transform: translateY(0); }
.service-item:hover h3 { transform: translateY(-10px); border-color: transparent; }

/* --- Global Image Offset --- */
.image-content img, .about-image img {
    box-shadow: 20px 20px 0 var(--shadow-color);
    position: relative;
    z-index: 2;
}

/* --- Layouts --- */
.about-grid, .service-detail-row { display: flex; gap: 60px; align-items: flex-start; margin: 150px 0; }
.service-detail-row.reverse { flex-direction: row-reverse; }
.service-txt, .text-content, .about-content { flex: 1; }
.service-pic, .image-content, .about-image { flex: 1; }

/* --- Process Grid --- */
.process-section { padding: 100px 0; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 50px; }

/* --- Complete Care Grid --- */
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.extra-card { background: var(--white); padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-top: 3px solid var(--accent); transition: 0.3s; }
.extra-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

/* --- Footer --- */
.site-footer { background: #111; color: #999; padding: 60px 0 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 10px; border-bottom: 1px solid #222; padding-bottom: 50px; }
.footer-col h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 25px; letter-spacing: 1px; text-transform: uppercase; }

.footer-socials { display: flex; gap: 15px; margin-top: 20px; }
.social-icon { width: 35px; height: 35px; background: rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; border-radius: 50%; transition: 0.3s; }
.social-icon:hover { background: var(--accent); }
.social-icon svg { width: 16px; height: 16px; fill: var(--white); }

/* Copyright (MINIMAL PADDING) */
.copyright { 
    text-align: center; 
    padding: 0; /* Zero Padding on container */
    font-size: 0.75rem; 
    color: #555; 
    line-height: 40px; /* Controls height explicitly */
}
.copyright p { margin: 0; color: #fff }

/* --- Contact Form 7 Premium Styling --- */

/* Form Container Grid */
.prime-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Input Fields (Text, Email, Phone, Textarea) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0; /* Sharp edges for premium feel */
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text);
    transition: all 0.3s ease;
}

/* Focus State (Active) */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--primary); /* Navy Border */
    outline: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Textarea specific height */
.wpcf7 textarea {
    height: 120px;
    resize: vertical;
}

/* Placeholder Color */
.wpcf7 ::placeholder {
    color: #999;
    opacity: 1;
}

/* Acceptance/Consent Checkbox */
.acceptance-box {
    font-size: 0.9rem;
    color: #666;
}
.acceptance-box input[type="checkbox"] {
    width: auto !important;
    margin-right: 10px;
    accent-color: var(--accent); /* Gold Checkbox */
}
.acceptance-box a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Submit Button (Matches Theme Buttons) */
.wpcf7 input[type="submit"] {
    background-color: var(--primary); /* Navy Background */
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 18px 40px;
    border: 1px solid var(--primary);
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.wpcf7 input[type="submit"]:hover {
    background-color: var(--accent); /* Gold on Hover */
    border-color: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Error/Success Messages */
.wpcf7-not-valid-tip {
    color: #d9534f;
    font-size: 0.85rem;
    margin-top: 5px;
}
.wpcf7-response-output {
    border: none !important;
    padding: 15px !important;
    margin-top: 20px !important;
    background: #f4f6f8;
    text-align: center;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
    .header-inner, .about-grid, .service-detail-row, .footer-grid, .care-grid { display: flex; flex-direction: column; }
	
	.main-navigation li { margin-left: 15px; }
    .main-navigation a { font-size: 0.85rem; }

    /* 2. Hero Buttons: Side-by-side */
    .hero-btns {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    .hero-btns .btn {
        padding: 14px 20px; /* Smaller padding to fit */
        font-size: 0.8rem;
        margin-left: 0 !important; /* Reset margin from inline style */
    }
    .services-interactive { grid-template-columns: 1fr; height: auto; }
    .service-item { height: 300px; }
    .image-content img, .about-image img { margin-bottom: 40px; }
    .home-hero h1 { font-size: 2rem; white-space: normal; }
	
	
	
	/* 3. Hero Font */
    .home-hero h1 { font-size: 2.5rem; white-space: normal; }

    /* 4. Layout Stacking */
    .header-inner, .about-grid, .footer-grid, .care-grid { display: flex; flex-direction: column; }
    
    /* 5. Services Page Fixes */
    .service-detail-row, .service-detail-row.reverse { 
        display: flex; 
        flex-direction: column !important; /* Forces stack */
        margin-bottom: 80px; 
    }
    .service-detail-row h2 {
        font-size: 1.8rem; /* Smaller H2 on mobile */
    }
    /* Ensure image takes full width and isn't small/aligned right */
    .image-content, .service-pic {
        width: 100%;
    }
    .image-content img {
        width: 100%;
        margin-bottom: 30px;
    }

    .services-interactive { grid-template-columns: 1fr; height: auto; }
    .service-item { height: 300px; }
	
	.prime-form-grid {
        grid-template-columns: 1fr 1fr; /* 2 Columns */
    }
    .full-width {
        grid-column: span 2; /* Spans across both columns */
    }
	
	
	.prime-form-grid {
        display: flex !important;       /* Overrides grid */
        flex-direction: column !important; /* Forces vertical stack */
        gap: 15px !important;
    }

    .prime-form-grid .form-group {
        width: 100% !important;        /* Forces container to be full width */
        margin: 0 !important;
    }

    .wpcf7 input[type="text"], 
    .wpcf7 input[type="email"], 
    .wpcf7 input[type="tel"], 
    .wpcf7 textarea {
        width: 100% !important;        /* Forces input itself to be full width */
        max-width: 100% !important;
        box-sizing: border-box !important; /* Prevents padding from breaking width */
    }
}