
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box; /* The holy grail */
}

:root {
	--irish-green: #169b62;
	--irish-orange: #ff7900;
	--irish-orange2: #ff883e;
	--navy-dark: #2c3e50;
	--navy-medium: #34495e;
	--accent-violet: #6c5ce7;
	--text-dark: #333;
	--text-light: #ecf0f1;complimentary colours;
	--light-grey: #f0f0f5;
	--dark-grey: #d0d0d5;
}


body {
	color: #333333;
	background-color: #ffffff;
	font-family: 'Segoe UI', sans-serif;
	font-size: 0.9rem;
}

@media (max-width: 480px) {
	body{
		font-size: 0.8rem;
	}
}

/* Header Section
 * <!-- Photo by <a href="https://unsplash.com/@yellow1111?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Caitlin O’Brien</a> -->
*/
.header {
    background: linear-gradient(rgba(0, 0, 32, 0.6), rgba(0, 0, 32, 0.6)), url('/img/header-back-1.jpg') center/cover;
    color: white;
    position: relative;
    padding-bottom: 20px;
    padding-top: 20px;
}

.titlebar{
	display: flex;
	justify-content: space-between;
}


.logo-link{
	margin-left: 20px;
	margin-right: 10px;
}

.logo {
	 max-height: 60px;
	 width: 100%;
 }
 .logo-link2{
	 display: none;
 }

 .logo2 {
	 max-height: 60px;
	 display: none;
 }

/*.logo-font {
	position: absolute;
	top: 85px;
	left: 85px;
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 1.6rem;
	color: #dddddd;
}*/

/* Quick Search Bar */
.quick-search {
    max-width: 600px;
}

.tagline {
	margin-bottom: 12px;
	text-align: center;
	font-size: 1.4rem;
}

input[type="submit"], button {
	padding: 3px 12px;
	background: var(--irish-green);
	border: none;
	border-radius: 5px 5px 5px 5px;
	cursor: pointer;
	color: #fff;
	font-weight: 800;
}

input[type="submit"]:hover, button:hover {
	background: #118351;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}



.search-form-title {
	display: grid;
	grid-template-columns: 27% 27% 27% 1fr;
	gap: 10px;
	margin-right: 10px;
}

.search-form-title input, .search-form-title select {
	padding: 3px 10px 3px 10px;
	border: none;
	border-radius: 4px;
}


.search-form-title input[type="submit"] {
	justify-self: end;
}

.advanced-search-link {
    text-align: center;
    margin-top: 10px;
}

.advanced-search-link a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
}

.advanced-search-link.N-wide-scrn {
	display: none;
}


/* Navigation Menu */
.nav-menu {
	background: var(--navy-dark);
	padding: 8px 15px 8px 15px;
	margin-left: 10px;
	margin-right: 20px;
	font-weight: 400;
	border-radius: 5px;
}

.nav-links {;
	list-style: none;
	margin: 0 auto;
}

.nav-links li {
	padding: 3px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
}

.nav-links a:hover {
	color: var(--irish-orange);
}

.content-main {
	max-width: 1200px;
	min-height: 300px;
	background-color: var(--light-grey);
	margin: 0 auto;
	border: solid #e5e5e5 1px;
	padding: 25px;
}

/*should be moved to the property details page */
.agent-logo2 {
    width: 60px;
    background: #ccc;
    border: 2px solid var(--dark-grey);
}

/* Why Choose Us Section */
.why-choose-us {
    background: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.benefit-card {
    padding: 1rem;
    background-color: #F5F5F5;
    border-radius: 4px;
}

/* Footer Section */
footer {
    background: var(--navy-medium);
    color: white;
    padding: 1rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
	color: var(--irish-orange);
}

.newsletter input {
    padding: 0.5rem;
    width: 100%;
    margin-top: 1rem;
}

table {
	margin-top: 5px;
}

th, td {
  padding: 5px 10px 0px 0px;
  text-align: left;
}
th {
	font-weight: 600;
}

/* Site-wide setting for modal headers - no idea what I though it was only for login dlgs */
.modal-header.log-reg {
	background: var(--navy-medium);
	color: var(--text-light);
	padding-bottom: 10px;
}

.modal-header.log-reg span {
	color: var(--text-light);
}


@media (max-width: 1150px) {

	.logo {
		margin-right: 10px;
	}
}

@media (max-width: 700px) {
	.logo-link{
		display: none;
	}

	.logo {
		display: none;
	}
	.logo-link2{
		display: block;
	}

	.logo2 {
		display: block;
	}
	.quick-search {
		margin-left: 20px;
	}
}

@media (max-width: 600px) {

	.logo2 {
		max-height: 40px;
	}

	.nav-links {
		gap: 1rem;
	}

	.tagline {
		font-size: 1.1rem;
		padding-left: 10px;
		padding-right: 10px;
	}

	.search-form-title {
		grid-template-columns: 50% 1fr;
		gap: 10px;
		padding-left: 15px;
	}

	.advanced-search-link.N-wide-scrn {
		display: block;
		grid-column: 2;
	}

	.advanced-search-link.wide-scrn {
		display: none;
	}

}

@media (max-width: 520px) {

	.tagline {
		font-size: 0.9rem;
	}
}

@media (max-width: 480px) {

	.tagline {
		font-size: 0.9rem;
	}

	.search-form-title input, .search-form-title select {
		font-size: 0.7rem;
	}

	.quick-search {
		position: static;
		transform: none;
		margin: 0px auto;
		padding: 10px;
	}

}

@media (max-width: 420px) {
	.header{
		padding-bottom: 0px;
	}
	.tagline {
		display: none;
	}
	.logo-link2 {
		padding-bottom: 10px;
	}
	.logo2 {
		margin-left: auto;
		margin-right: auto;
	}
	.quick-search {
		padding-top: 0px;
	}
	.titlebar {
		display: block;
	}
	.nav-menu {
		width: 100%;
		align-items: center;
		padding: 0px;
		margin: 0px;
	}
	.nav-links {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-content: flex-start;
		row-gap: 0px;
		padding-top: 2px;
		padding-bottom: 2px;
	}

}