/* public/css/contact.css */

/* Add a new color variable if you didn't already in the previous step */
:root {
    /* Keep your existing variables from global.css */
    /* --primary-color: #b52c3a; */
    /* --secondary-color: #30A148; */
    /* ... etc ... */

    /* Ensure the social icon background color variable is here (light green from the image) */
    --social-bg-light: #e8f5e9; /* A pleasant light green */
    --contact-text-secondary: #555; /* For text like phone/email */
}


.contact-page-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Styling for the main page header if you kept it */
 .contact-header {
    text-align: center;
    margin-bottom: 50px;
}
.contact-header h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.contact-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}


/* Styling for the main two-column layout */
.contact-main-layout {
    display: flex;
    flex-wrap: wrap; /* Allow stacking on smaller screens */
    gap: 40px; /* Space between the map and content columns */
    align-items: flex-start; /* Align items to the top */
}

.contact-map-side,
.contact-content-side {
    flex: 1; /* Allow columns to grow and shrink */
    min-width: 320px; /* Minimum width before stacking (adjust as needed) */
}

/* Map Section Styling */
.contact-map-side .map-container {
    width: 100%;
    height: 450px; /* Adjust height as needed */
    border-radius: 10px; /* Rounded corners as in the image */
    overflow: hidden; /* Ensures map iframe respects border-radius */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Subtle shadow */
}

.contact-map-side .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0; /* Remove iframe border */
}

/* Right Content Side Styling */
.contact-content-side h2 { /* Styling for "Travel Company" heading */
    font-family: 'Syne', sans-serif; /* Use the heading font */
    font-size: 2rem; /* Adjust size to match image prominence */
    color: var(--text-color); /* Dark color for heading as in image */
    margin-bottom: 20px; /* Space below heading */
}

/* Styling for Contact Details List */
.contact-detail-list {
    list-style: none;
    padding: 0;
    /* Adjust margin based on desired spacing below the heading */
    margin: 0 0 20px 0; /* Space below the contact details list */
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px; /* Reduce space between list items for tighter look */
    color: var(--contact-text-secondary); /* Lighter text color for info items */
}

.contact-detail-item:last-child {
     margin-bottom: 0; /* No bottom margin on the last item in the list */
}


.contact-detail-item i {
    font-size: 1.2rem; /* Slightly smaller icon if needed */
    color: var(--primary-color); /* Use primary color for icons */
    margin-right: 15px;
    width: 25px;
    text-align: center;
    margin-top: 3px;
}

.contact-detail-item span {
    flex: 1;
    line-height: 1.6;
}


/* Styling for Social Icons List */
.social-icons-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0; /* Space above and below social icons */
    display: flex;
    gap: 10px; /* Space between icons */
}

.social-icons-list li a {
    display: inline-flex; /* Use inline-flex */
    align-items: center;
    justify-content: center;
    padding: 10px; /* Padding inside the icon background */
    border-radius: var(--border-radius); /* Keep your rounded corners, or adjust to 50% for circles if preferred */
    background-color: var(--social-bg-light); /* Light green background */
    color: var(--secondary-color); /* Icon color (matches your green secondary color) */
    font-size: 1.1rem; /* Icon size */
    transition: background-color 0.3s, color 0.3s;
}

.social-icons-list li a:hover {
    background-color: var(--secondary-color); /* Green background on hover */
    color: white; /* White icon on hover */
}

/* Styling for the Generic Text Block */
.contact-text-block p {
    font-size: 1rem;
    color: var(--text-color); /* Standard text color */
    line-height: 1.6;
}


/* Responsive Adjustments */
@media (max-width: 992px) {
     .contact-main-layout {
        gap: 30px; /* Adjust gap on medium screens */
    }
    .contact-content-side h2 {
        font-size: 1.8rem;
    }
     .contact-map-side .map-container {
        height: 400px; /* Adjust map height on medium screens */
    }
}

@media (max-width: 768px) {
     .contact-main-layout { /* Stack columns vertically on smaller screens */
        flex-direction: column;
        gap: 40px; /* Restore original gap when stacked */
    }
     .contact-map-side .map-container { /* Adjust map height when stacked */
        height: 350px;
    }
    /* Ensure full width when stacked */
     .contact-map-side,
     .contact-content-side {
         min-width: auto; /* Remove min-width constraint */
         width: 100%; /* Make them take full width */
     }
     .contact-content-side h2 {
        font-size: 1.6rem;
    }
    /* Adjust spacing when stacked if needed */
    .contact-detail-list,
    .social-icons-list {
        margin-left: 0;
        margin-right: 0;
    }
}