/* Global Variables & Base Styles */
:root {
    /* Color Palette */
    --bg-main: #ffffff;             /* White (Main Background) */
    --accent-primary: #7B2F18;      /* Primary Accent (Text, Buttons, Links) */
    --accent-secondary: #FCE6C8;    /* Secondary Accent (CTA Fills, Hovers) */
    --text-base: #333333;           /* Standard dark text */
    --text-subtle: #6a6a6a;         /* Subtle text color */
    
    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Transitions & Effects */
    --transition-speed: 0.3s;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; 
    background-color: var(--bg-main);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-base);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.contact-page-main {
    flex-grow: 1;
}


/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------- */
/* SECTION PADDING (Reduced for compactness) */
/* --------------------------------- */
.section {
   text-align: center;
}
.payments-section{
    padding: 0px 0px 40px 0px !important;
}

.contact-form-section {
    padding: 0 0 30px 0; /* Space below the form wrapper */
    margin-top: -15px;
}

.contact-info-section {
    padding-top: 30px; /* Space above the info cards */
    padding-bottom: 80px; 
    text-align: center; 
}

/* Typography */
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-base);
    margin-bottom: 25px;
}
.detail-heading, .form-heading {
    text-align: left;
}


/* 2. CONTACT LAYOUT */
.contact-form-wrapper {
    max-width: 700px; 
    margin: 0 auto;
    background-color: var(--accent-secondary);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-details-wrapper {
    max-width: 1000px; 
    margin: 0 auto;
    text-align: left; 
}

/* 3. CONTACT DETAILS STYLES */
.contact-info-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    font-style: normal;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--accent-secondary);
    background-color: var(--bg-main);
    transition: background-color 0.2s;
}
.contact-info-card:hover {
    background-color: var(--accent-secondary);
}

.icon-primary {
    color: var(--accent-primary);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.info-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-base);
    margin-bottom: 5px;
}

.info-text, .info-text a {
    font-size: 1rem;
    color: var(--text-subtle);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.info-text a:hover {
    color: var(--accent-primary);
}

.hours-card .info-text {
    line-height: 2;
}

/* 4. CONTACT FORM STYLES */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--accent-primary);
    border-radius: 5px;
    background-color: var(--bg-main);
    color: var(--text-base);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-speed);
}

input:focus,
textarea:focus {
    border-color: var(--text-base);
    box-shadow: 0 0 0 3px rgba(123, 47, 24, 0.2);
    outline: none;
}

textarea {
    resize: vertical;
}

/* Button Styling */
.btn {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) var(--ease-out);
    border: none;
    display: inline-block;
    width: auto; 
    align-self: flex-start;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-main);
    border: 2px solid var(--accent-primary);
}

.btn-primary:hover {
    background-color: var(--bg-main);
    color: var(--accent-primary);
    box-shadow: 0 5px 15px rgba(123, 47, 24, 0.3);
}

.form-notice {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

#form-message {
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
}
.message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.hidden {
    display: none;
}


/* 5. SCROLL ANIMATION EFFECTS */
[data-animate-on-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-animate-on-scroll].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* 6. RESPONSIVENESS */
@media (max-width: 1024px) {
    .section { padding: 60px 0; }
    .contact-hero-section { padding-bottom: 30px; }
    .contact-form-section { padding-bottom: 20px; }
    .contact-info-section { 
        padding-top: 20px; 
        padding-bottom: 60px; 
    }
    
    .contact-info-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 30px 20px;
    }
    .contact-info-card {
        width: calc(50% - 10px);
    }
    .hours-card {
        width: 100%;
    }
    .btn-primary {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .section { padding: 40px 0; }
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1.2rem; }
    
    .contact-form-wrapper {
        padding: 30px 15px;
        max-width: 100%; 
    }
    
    .contact-info-card {
        width: 100%;
    }
    .contact-info-group {
        gap: 20px;
    }
    .contact-hero-section { padding-bottom: 20px; }
    .contact-form-section { padding-bottom: 15px; }
    .contact-info-section { 
        padding-top: 15px; 
        padding-bottom: 40px; 
    }
    .btn-primary {
        align-self: stretch;
        width: 100%;
    }
}

/*---Contact Us Page---*/
.custom-contact .container{
	width:100%;
}
.custom-contact{
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	width:100%;
}
.inner-contact{
	display:flex;
	flex-direction:row;
	max-width:1200px;
	width:100%;
	justify-content:center;
	align-items:center;
}
.inner-contact section{
	width:50%;
}
@media screen and (max-width: 780px) {
	.inner-contact{
		flex-direction:column;
		margin-top: -40px;
	}
	.inner-contact section{
	width:100%;
}
}
