/* ==========================
   GLOBAL STYLES
========================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Lato', sans-serif; 
    background-color: #ffffff; 
    color: #45454d; 
    line-height: 1.6;
}

:root {
    --graphite: #45454d;
    --rosewood: #9b6c6b;
    --platinum: #edeeef;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==========================
			HEADER
========================== */
.main-header {
    background: var(--platinum);
    padding: 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo-main { font-family: 'Montserrat', sans-serif; font-size: 22px; display: block; letter-spacing: 1px; }
.logo-sub { font-size: 12px; letter-spacing: 6px; color: var(--rosewood); font-weight: 300; }

.nav-menu a { text-decoration: none; color: var(--graphite); margin-left: 25px; font-size: 14px; font-weight: 400; }
.btn-cta { 
    background: var(--rosewood); 
    color: white !important; 
    padding: 10px 20px; 
    border-radius: 4px; 
    font-family: 'Montserrat';
}

.btn-primary {
    background: var(--graphite);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s ease;
}

.btn-primary:hover {
    background: var(--rosewood);
}

.logo-img {
    height: 133px;
    width: auto;
    display: block;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--graphite);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.phone-icon-header {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
}

/* ==========================
            HERO
========================== */
.hero { 
	padding: 100px 0; 
	background: linear-gradient(90deg, var(--platinum) 50%, #ffffff 50%); 
} 

.hero-grid { 
	display: grid; 
	grid-template-columns: 1fr 1fr; 
	gap: 50px; 
	align-items: stretch; 
}

.hero-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 48px; 
    line-height: 1.1; 
    margin-bottom: 20px; 
    color: var(--graphite);
}

.hero-text p { 
    font-size: 18px; 
    margin-bottom: 30px; 
    opacity: 0.8; 
}

.hero-image-container { 
	position: relative; 
	width: 100%; 
	height: 100%; 
	border-radius: 12px; 
	overflow: hidden; 
	box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
} 

.hero-fit-image { 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
	object-fit: cover; 
	display: block; 
}

.overlay-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--graphite);
    color: white;
    padding: 8px 15px;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 5;
}
/* ==========================
		SERVICES
========================== */
.services-detail {
    padding: 80px 0;
    background-color: var(--platinum);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px; /* Made wider to fit the image */
    margin: 40px auto 0;
}

.service-item {
    background: #ffffff;
    display: flex; /* This puts image and text side-by-side */
    overflow: hidden; /* Keeps the image corners rounded */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* The Photo Square */
.service-image {
    flex: 0 0 250px; /* Fixed width for the photo square */
    background-color: #ddd; /* Placeholder color if image is missing */
    height: auto;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures photo fills the square without stretching */
}

/* The Text Content */
.service-text {
    padding: 40px;
    flex: 1;
    border-left: 4px solid var(--graphite);
}

.service-text h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--graphite);
    margin-bottom: 15px;
    font-size: 22px;
}

.service-text p {
    font-size: 16px;
    color: var(--graphite);
    opacity: 0.8;
}

/* ==========================
		CONTACT
========================== */
.contact-section {
    padding: 80px 0;
    background-color: #ffffff; /* Contrast against the platinum services section */
}

.contact-header p {
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

/* Left and Right Columns */
.contact-left, .contact-right {
    flex: 1;
    background: var(--platinum);
    padding: 40px;
    border-radius: 8px;
    min-height: 320px;
}

.contact-header h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--graphite);
    margin-bottom: 30px;
    font-size: 28px;
    border-bottom: 3px solid var(--rosewood);
    display: inline-block;
    padding-bottom: 5px;
}

/* Contact Info Styling */
.contact-line {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    object-fit: contain;
    /* If your icons are black/dark, this makes them match the Rosewood theme */
    filter: sepia(1) saturate(5) hue-rotate(315deg); 
}

.contact-line strong {
    margin-right: 8px;
    color: var(--graphite);
}

.contact-line a {
    color: var(--rosewood);
    text-decoration: none;
    font-weight: 700;
}

/* Business Hours Styling */
.business-hours {
    list-style: none;
    padding: 0;
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-family: 'Lato', sans-serif;
}

.business-hours span:first-child {
    font-weight: bold;
    color: var(--graphite);
}

.closed {
    color: var(--rosewood);
    font-weight: bold;
    text-transform: uppercase;
}

/* ==========================
        FORM
========================== */

.quote-form input,
.quote-form textarea,
.quote-form select {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
    outline: none;
    border-color: var(--rosewood);
}

.quote-form label {
    font-weight: bold;
    color: var(--graphite);
}

/* ==========================
        THANK YOU PAGE
========================== */

.thankyou-box {
    background: var(--platinum);
    padding: 50px;
    border-radius: 10px;
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.thankyou-box h2 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    color: var(--graphite);
}

.thankyou-box p {
    margin-bottom: 10px;
    font-size: 17px;
}

/* ==========================
		FOOTER
========================== */
.site-footer {
    background-color: var(--graphite);
    color: var(--platinum);
    padding: 40px 0;
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
}

.designer-tag {
    font-size: 0.8em;
    /* Using your specific light color for the credit */
    color: #ede9de; 
    opacity: 0.7;
}

/* Ensure the main content doesn't touch the footer on short pages */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.services-section {
    flex: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-grid, .services-grid { grid-template-columns: 1fr; }
    .hero { background: var(--platinum); text-align: center; }
    .hero-text h1 { font-size: 32px; }
}

@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .service-item { flex-direction: column; }
    .service-image { flex: 0 0 200px; }
    .service-text { border-left: none; border-top: 4px solid var(--graphite); }
}