/* General Styles, Variables, and Base Typography */

:root {
    /* Color Palette */
    --primary-color: #007bff; /* A vibrant blue for primary actions/highlights */
    --secondary-color: #6c757d; /* A muted grey for secondary elements */
    --accent-color: #28a745; /* A green for success or strong accents */
    --text-color-dark: #343a40; /* Dark text for readability */
    --text-color-light: #6a6a6a; /* Lighter text for paragraphs */
    --white-color: #ffffff;
    --light-grey-bg: #f8f9fa; /* Light background for sections */
    --border-color: #e9ecef; /* Light border color */
    --overlay-color: rgba(0, 0, 0, 0.5); /* Dark overlay for hero/images */

    /* Font Families */
    --font-montserrat: 'Montserrat', sans-serif;
    --font-playfair: 'Playfair Display', serif;

    /* Spacing */
    --padding-sm: 15px;
    --padding-md: 30px;
    --padding-lg: 60px;
    --margin-sm: 10px;
    --margin-md: 20px;
    --margin-lg: 40px;

    /* Border Radius */
    --border-radius: 8px;

    /* Transitions */
    --transition-speed: 0.3s;
}

/* Basic Reset & Box-sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-montserrat);
    line-height: 1.6;
    color: var(--text-color-light);
    background-color: var(--white-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-playfair);
    color: var(--text-color-dark);
    margin-bottom: var(--margin-md);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--margin-lg);
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--margin-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: darken(var(--primary-color), 10%); /* Placeholder for darken, ideally use a specific color or filter */
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* General Section Padding */
.section-padding {
    padding: var(--padding-lg) 0;
}

.text-center {
    text-align: center;
}

.bg-light-grey {
    background-color: var(--light-grey-bg);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-white {
    color: var(--white-color);
}

.ml-3 {
    margin-left: 15px; /* Adjust as needed */
}

.mt-4 {
    margin-top: 20px; /* Adjust as needed */
}

/* Example for css/layout.css or css/style.css */
.contact-hero-subpage {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero/hero-subpage-contact.webp') no-repeat center center/cover;
    /* You'll need to create an image like images/hero/hero-subpage-contact.webp */
}

/* Styles for the contact details and form grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column for mobile */
    gap: var(--padding-lg); /* Larger gap for separation */
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr; /* Info on left, form on right */
    }
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start; /* Align icon to top of text block */
    margin-bottom: var(--margin-md);
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-color-dark);
}

.contact-info .info-item .contact-icon {
    width: 30px; /* Size for contact icons */
    height: 30px;
    margin-right: 15px;
    flex-shrink: 0; /* Prevent icon from shrinking */
    color: var(--primary-color); /* If SVG, style with CSS */
}

.contact-info h2 {
    text-align: left; /* Align heading to the left within the info block */
    margin-bottom: var(--margin-lg);
}

.contact-form-container h2 {
    text-align: left; /* Align heading to the left within the form block */
    margin-bottom: var(--margin-lg);
}

.contact-form .form-group {
    margin-bottom: var(--margin-md);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color-dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-montserrat);
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing only */
}

.contact-social-links {
    margin-top: var(--margin-lg);
    display: flex;
    align-items: center;
    gap: var(--margin-sm);
}
.contact-social-links h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color-dark);
}
.contact-social-links img {
    width: 28px;
    height: 28px;
    transition: transform var(--transition-speed) ease;
}
.contact-social-links a:hover img {
    transform: scale(1.1);
}

/* Map Section */
.map-section .section-title {
    margin-bottom: var(--margin-md); /* Adjust spacing below map title */
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden; /* Ensures the iframe respects border-radius */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0 auto; /* Center the map */
    max-width: 1000px; /* Optional: constrain map width */
}