/* 
   Kevin Haggard Magic Website Styles
   Color palette: Blues and grays
*/

/* Base Styles & Typography */
:root {
	--primary-blue: #304D6D;
	--secondary-blue: #4A6FA5;
	--light-blue: #89A9D9;
	--dark-gray: #333333;
	--medium-gray: #6A6A6A;
	--light-gray: #E0E0E0;
	--white: #FFFFFF;
	--shadow: rgba(0, 0, 0, 0.1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 20px;
}

body {
	font-family: 'Raleway', sans-serif;
	line-height: 1.6;
	color: var(--dark-gray);
	background-color: var(--white);
}

h1, h2, h3, h4 {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	color: var(--primary-blue);
}

h1 {
	font-size: 3rem;
	margin-bottom: 0.5rem;
	color: white !important;
}

h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

h3 {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

p {
	margin-bottom: 1rem;
}

a {
	text-decoration: none;
	color: var(--secondary-blue);
	transition: color 0.3s ease;
}

a:hover {
	color: var(--primary-blue);
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem;
}

.section-title {
	text-align: center;
	margin-bottom: 3rem;
	position: relative;
}

.section-title:after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background-color: var(--secondary-blue);
	margin: 0.5rem auto 0;
}

/* Header */
header {
	background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
	color: var(--white);
	padding: 1rem 0;
}

/* Hero Section */
.hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 2rem 0 4rem;
	flex-wrap: wrap;
}

.hero-content {
	flex: 1;
	color: var(--white);
	padding: 2rem;
	min-width: 300px;
}

.hero-content h2 {
	color: var(--light-gray);
	font-weight: 400;
	margin-bottom: 1.5rem;
}

.hero-content p {
	margin-bottom: 2rem;
	font-size: 1.1rem;
}

.profile-image {
	max-width: 100%;
	height: auto;
	max-height: 500px;
	border-radius: 10px;
	box-shadow: 0 10px 20px var(--shadow);
	margin: 0 auto;
}

/* About Section */
.about-section {
	padding: 5rem 0;
	background-color: var(--white);
}

.about-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.about-text {
	flex: 1;
	min-width: 300px;
	padding: 1rem;
}

/* Services Section */
.services-section {
	padding: 5rem 0;
	background-color: var(--light-gray);
}

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

.service-card {
	background-color: var(--white);
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 5px 15px var(--shadow);
	transition: transform 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
}

/* Gallery Section */
.gallery-section {
	padding: 5rem 0;
	background-color: var(--white);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}

.gallery-item img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	transition: transform 0.3s ease;
	box-shadow: 0 5px 15px var(--shadow);
}

.gallery-item img:hover {
	transform: scale(1.03);
}

/* Contact Section */
.contact-section {
	padding: 5rem 0;
	background-color: var(--light-gray);
}

.contact-info-centered {
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
	padding: 2rem;
	background-color: var(--white);
	border-radius: 8px;
	box-shadow: 0 5px 15px var(--shadow);
}

.contact-details {
	margin-top: 2rem;
	font-size: 1.2rem;
	line-height: 2;
}

.contact-details a {
	color: var(--primary-blue);
	font-weight: 500;
	transition: color 0.3s ease;
}

.contact-details a:hover {
	color: var(--secondary-blue);
	text-decoration: underline;
}

/* Footer */
footer {
	background-color: var(--dark-gray);
	color: var(--white);
	padding: 1.5rem 0;
	text-align: center;
}

.footer-bottom {
	text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
	h1 {
		font-size: 2.5rem;
	}
	
	h2 {
		font-size: 1.8rem;
	}
	
	.hero {
		flex-direction: column;
		text-align: center;
	}
	
	.profile-image {
		margin-bottom: 2rem;
	}
	
	.about-content {
		flex-direction: column;
		text-align: center;
		gap: 2rem;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.container {
		width: 95%;
	}
	
	.hero-content {
		padding: 1rem;
	}
}