/* Reset */

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

/* Base styles */

html, body {
	height: 100%;
}

body {
	font-family: 'Open Sans', sans-serif;
	color: #2f3e46;
	background: #fbf5ed;
	line-height: 1.6;
	height: 100%;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex: 1;
}

.container {
	width: 95%; 
	margin: 0 auto;
}

/* Header */

.header {
	background-color: #f4b6c2;
	border-bottom: 1px solid #eeeeee;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 0;
	position: relative;
}

/* Logo */

/* Text logo (mobile) */

.logo {
	font-family: 'Fredoka', sans-serif;
	font-weight: 500;
	font-size: 28px; 
	color: #2f3e46;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

/* Desktop image logo hidden on mobile */

.logo-img {
	display: none;
}

.logo-img img {
	height: 100%;
	min-height: auto;
	width: clamp(100px, 20vw, 180px);
}

.slogan, .phone  {
	display: none;
}

/* Hamburger */

.hamburger {
	width: 28px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 5px;
	border-radius: 15px;
	margin-left: auto;

}

.hamburger span {
	height: 3px;
	background: #2f3e46;
	border-radius: 13px;
	display: block;
}

.drop {
	display: block;
}

.dropdown-content {
	display: none;
}
/* Mobile nav */

.nav {
	position: absolute;
	top: 70px;
	left: 0;
	width: 100%;
	background: #ffffff;
	display: none;
	flex-direction: column;
	padding: 20px;
	border-bottom: 1px solid #eeeeee;
}

.nav a {
	text-decoration: none;
	color: #1270a2;
	padding: 10px 0;
	font-weight: 600;
	font-family: 'Open Sans', sans-serif; 
	display: inline-block;
	transition: transform 0.2s ease;
	transform-origin: center;
	font-size: clamp(19px, 1.2vw, 25px);
	gap: 40px;
}

.nav a:hover {
	text-decoration: underline;
}

/* Show menu */

.nav.active {
	display: flex;
}

/* Home intro */

.intro {
	padding: 60px 0;
	text-align: center;
}

.intro h1 {
	font-family: 'Fredoka', sans-serif;
	font-size: 32px;
	margin-bottom: 20px;
}

.intro p {
	margin-bottom: 15px;
	color: #8b5e3c;
}

/* Home columns */

.home-columns {
	padding: 40px 0;
}

.columns {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.card {
	background: #ffffff;
	padding: 25px;
	border-radius: 10px;
	box-shadow: 0 5px 12px rgba(0,0,0,0.06);
}

.card h2 {
	font-family: 'Fredoka', sans-serif;
	margin-bottom: 10px;
}

.card p {
	margin-bottom: 10px;
}

.card img {
	display: none;
}

/* ABOUT PAGE */
.about-intro {
	padding: 60px 0;
}

.about-intro h1 {
	margin-bottom: 10px;
	font-family: 'Fredoka', sans-serif;
	font-size: 32px;
}

.about-intro h2 {
	margin-bottom: 20px;
}

.signature {
	margin-top: 20px;
	font-style: italic;
}

/* columns */
.about-columns {
	padding: 40px 0;
}

.about-grid {
	display: grid;
	gap: 30px;
}

/* blocks */
.fetch, .hours {
	background: #ffffff;
	padding: 25px;
	border-radius: 8px;
	box-shadow: 0 5px 12px rgba(0,0,0,0.06);
}

.fetch h3, .hours h3 {
	margin-bottom: 10px;
}

/* small dog image */
.about-dog {
	text-align: center;
	padding-bottom: 60px;
}

.about-dog img {
	width: 180px;
	border-radius: 12px;
	margin-bottom: 10px;
	margin-top: 20px;
}

.dog-caption {
	font-style: italic;
}

/* SALON PAGE */
.salon-title{
	padding:60px 0 20px;
}

.salon-title h1{
	font-family: 'Fredoka', sans-serif;
	font-weight: bold;
	font-size: 32px;
}

.salon-intro{
	padding-bottom:40px;
}

.salon-services{
	padding:40px 0;
}

.salon-grid{
	display:grid;
	gap:30px;
}

.kennel-grid {
	display: grid;
	gap: 30px;
}

.salon-card{
	background: #ffffff;
	padding:25px;
	border-radius:12px;
	box-shadow: 0 5px 12px rgba(0,0,0,0.06);
}

.salon-card ul{
	padding-left:20px;
	margin:10px 0;
}

.price{
	font-weight:700;
	margin-top:10px;
}

/* coupon */

.salon-coupon{
	text-align:center;
	padding:40px 0 60px;
}

.salon-card ul li a {
	color: #1270a2;
	font-weight: bold;
}

.coupon-img{
	width: 250px;
	margin-bottom:15px;
	border-radius: 10px;
}

.coupon-caption{
	max-width:500px;
	margin:auto;
}

/* CONTACT PAGE */

.contact-page{
	padding:60px 0;
}

.contact-page h1{
	font-family:'Fredoka', sans-serif;
	font-weight:700;
	font-size:32px;
	margin-bottom:20px;
}

.contact-intro{
	max-width:700px;
	margin-bottom:30px;
}

.contact-info{
	background:#E0DAD9;
	padding:25px;
	border-radius:10px;
	max-width:500px;
}

.contact-image {
	text-align: center;
	padding: 20px 0;
}

.contact-img {
	width: 100%;
	max-width: 500px;
	border-radius: 12px;
}

/* COUPON PAGE */
.coupon-title {
	padding: 60px 0 20px;
}

.coupon-title h1 {
	font-family: 'Fredoka', sans-serif;
	font-weight: bold;
	font-size: 32px;
}

.coupon-intro {
	padding-bottom: 40px;
}

.coupon-card {
	margin-bottom: 40px;
	text-align: center;
}

.coupon-img {
	width: 250px;
	border-radius: 12px;
	margin-bottom: 15px;
}

.coupon-caption {
	max-width: 500px;
	margin: auto;
}

/* STAFF PAGE */

.staff-title {
	padding: 60px 0 20px;
}

.staff-section {
	padding: 40px 0;
}

/* card */
.staff-card {
	display: flex;
	flex-direction: column;
	gap: 15px;
	background: #E0DAD9;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 25px;
}

.staff-card img {
	width: 100%;
	border-radius: 12px;
}

/* text */
.staff-card h3 {
	margin-bottom: 10px;
}

/* SHOP PAGE */

.shop-title {
	padding: 60px 0 20px;
}

.shop-intro {
	padding-bottom: 40px;
}

.shop-items {
	padding: 40px 0;
}

.shop-card {
	display: flex;
	flex-direction: column;
	gap: 15px;
	background: #E0DAD9;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 25px;
}

.shop-card img {
	width: 100%;
	border-radius: 12px;
}

.shop-card h3 {
	margin-bottom: 10px;
}

.shop-video {
	padding: 30;
	text-align: center;
}

.video {
	width: 100%;
	max-width: 700px;
	aspect-ratio: 16/9;
	border: none;
	border-radius: 12px;
}

/* GALLERY PAGE */

.gallery-title {
	padding: 60px 0 20px;
}

.gallery-intro {
	padding-bottom: 30px;
}

.gallery-layout {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.gallery-grid img {
	width: 100%;
	border-radius: 12px;
	transition: transform 0.2s;
	aspect-ratio: 1.5 / 1.5;
}

.gallery-grid img:hover {
	transform: scale(1.05);
}

/* TESTIMONIALS */

.testimonials-table {
	width: 100%;
	border-collapse: collapse;
}

.testimonials-table td {
	padding: 20px;
}

/* alternating colors */
.testimonials-table tr:nth-child(even) {
	background-color: #E0DAD9;
}

.testimonials-table tr:nth-child(odd) {
	background-color: #ffffff;
}

/* divider line */
.testimonials-table tr:not(:last-child) {
	border-bottom: 3px solid #1270a2;
}

/* FORM PAGE */

.form-section {
	padding: 40px 0;
}

form {
	background: #E0DAD9;
	padding: 25px;
	border-radius: 12px;
	max-width: 600px;
	margin: auto;
}

fieldset {
	border: 2px dashed #2f3e46;
	padding: 20px;
}

legend {
	font-weight: bold;
	font-size: 20px;
}

label {
	display: block;
	margin-top: 15px;
	font-weight: 600;
}

input, select {
	width: 100%;
	padding: 10px;
	margin-top: 5px;
	border-radius: 8px;
	border: 1px solid #ccc;
	font-size: 16px;
}

.form-buttons {
	margin-top: 20px;
	display: flex;
	gap: 10px;
}

button {
	flex: 1;
	padding: 12px;
	border: none;
	border-radius: 10px;
	background: #f4b6c2;
	font-size: 16px;
	cursor: pointer;
}

button:hover {
	background: #fc758f;
}

.signup-link {
	background: #8b5e3c;
	color: white !important;
	padding: 12px 20px;
	border-radius: 10px;
	margin-left: 10px;
	text-align: center;
}

.signup-link:hover {
	transform: scale(1.05);
}

.search {
	padding: 6px 6px;
	border-radius: 9px;
	border: 1px solid #ccc;
	margin-left: 5px;
	display: none;
	max-height: 50px;
	max-width: 220px;
}


/* FOOTER */
footer {
    background-color: #f4b6c2;
    color: #2f3e46;
    text-align: center;
    padding-top: 15px;
    font-size: 14px;
    margin-top: 20px;
	width: 100%;
}

footer li a, p a {
	color: #1270a2;
	font-weight: bold;
}

/* Desktop and up */

@media (min-width: 768px) {

	.hamburger {
		display: none;
	}

	/* Desktop header layout */

	.logo {
		display: none; 
	}

	.logo-img {
		display: block;
	}

	.phone {
		display: block;
		margin-top: 6px;
		font-weight: 600;
		text-decoration: none;
		color: #1270a2;
	}

	.slogan {
		display: block;
		margin-top: 12px;
		font-size: 25px;
		font-family: 'Fredoka', sans-serif;
		color: #2f3e46;
		text-align: center;
	}

	/* header layout */

	.header-inner {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
		align-items: center;
		gap: 10px 40px;
	}

	/* left block (logo + phone) */
	.header-left {
		grid-row: 1 / 3;
	}

	/* nav on first row right */
	.nav {
		grid-column: 2;
		grid-row: 1;
		justify-content: center;
	}

	/* tagline under nav */
	.slogan {
		grid-column: 2;
		grid-row: 2;
	}

	.nav {
		position: static;
		display: flex;
		flex-direction: row;
		gap: 30px;
		padding: 0;
		width: auto;
		border: none;
		background: transparent;
		margin-left: auto;
		margin-right: auto;
	}

	.nav a:hover,
	.dropdown:hover .drop {
		transform: scale(1.06);
	}

	/* Dropdown desktop */

	.dropdown {
		position: relative;
	}

	.dropdown-content {
		position: absolute;
		top: 100%;
		left: 0;
		background: #ffffff;
		min-width: 200px;
		border: 1px solid #eeeeee;
		border-radius: 10px;
		display: none;
		flex-direction: column;
		padding: 8px 0;
		box-shadow: 0 10px 20px rgba(0,0,0,0.08);
		z-index: 100;
	}

	/* show on hover */
	.dropdown:hover .dropdown-content {
		display: flex;
	}

	/* dropdown links */
	.dropdown-content a {
		display: block;
		padding: 10px 16px;
		color: #1270a2;
		text-decoration: none;
	}

	.dropdown-content a:hover {
		background: #fbf5ed;
		transform: none;
	}
	
	/* home columns*/
	.columns {
		flex-direction: row;
		align-items: stretch;
	}

	.card {
		flex: 1;
	}
	
	.card img {
		display: block;
		width: 100%;
		aspect-ratio: 3 / 4;
		max-height: 800px;
		border-radius: 8px;
		margin-bottom: 15px;
	}
	
	.salon-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.kennel-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.coupon-card {
		display: grid;
		grid-template-columns: auto 1fr;
		align-items: center;
		gap: 30px;
		text-align: left;
	}
	
	.coupon-img {
		margin-bottom: 0;
	}
	
	.staff-card {
		flex-direction: row;
		align-items: center;
	}

	.staff-card img {
		width: 250px;
	}
	
	.shop-card {
		flex-direction: row;
		align-items: center;
	}

	.shop-card img {
		width: 220px;
	}
	
	.gallery-layout {
		flex-direction: row;
	}

	.gallery-text {
		width: 30%;
	}

	.gallery-grid {
		width: 70%;
		grid-template-columns: repeat(3, 1fr);
	}
	
	.gallery-grid {
		align-items: center;
	}
	
	body.gallery-bg {
		background-image: url("../images/background.jpeg");
		background-size: cover;
		background-position: center;
	}

	.gallery-title,.gallery-intro, .gallery-section {
		background: #fbf5ed;
		max-width: 1000px;
		margin: 0 auto;
	}
	
	.search {
		display: block;
	}

}
