/*
Theme Name: Kame Massage
Description: Custom WordPress theme for Kame Massage Spa
Version: 1.0
Author: Your Name
*/

/* CSS Variables */
:root {
	--primary: #8B7355;
	--primary-foreground: #ffffff;
	--background: #FAFAFA;
	--foreground: #1A1A1A;
	--card: #F5F5F5;
	--muted-foreground: #6B6B6B;
	--border: #E0E0E0;
	--accent: #D4C4B0;

	--kame-ink: #0A0A0A;
    --kame-ink-soft: #1A1714;
    --kame-cream: #F5EFE6;
    --kame-paper: #FBF8F2;
    --kame-gold: #B8915C;
    --kame-gold-soft: #D4B896;
    --kame-gold-deep: #8E6E43;
    --kame-text-on-light: #2A1F14;
    --kame-text-muted-light: #6A5947;
    --kame-text-on-dark: #F5EFE6;
    --kame-text-muted-dark: #B8AC9B;
    --display: "Cormorant Garamond", Georgia, serif;
    --sans: "Montserrat", system-ui, sans-serif;
}

/* Reset & Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background-color: var(--background);
	color: var(--foreground);
	line-height: 1.6;
	min-height: 100vh;
}

::selection {
	background-color: rgba(139, 115, 85, 0.2);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 400;
	line-height: 1.2;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	color: var(--foreground);
}

@media (min-width: 768px) {
	.section-title {
		font-size: 3rem;
	}
}

/* Hero Section */
.hero-section {
	position: relative;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}

.hero-background {
	position: absolute;
	inset: 0;
}

.hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: white;
	z-index: 10;
	padding: 0 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
	animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-subtitle {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	margin-bottom: 1rem;
	opacity: 0.8;
	animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@media (min-width: 768px) {
	.hero-subtitle {
		font-size: 1rem;
	}
}

.hero-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 3rem;
	margin-bottom: 2rem;
	letter-spacing: -0.02em;
	animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-title svg {
	max-width: 50%;
	height: auto;
	fill: white !important;
}

@media (min-width: 768px) {
	.hero-title {
		font-size: 4.5rem;
	}
}

@media (min-width: 1024px) {
	.hero-title {
		font-size: 6rem;
	}
}

.hero-description {
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-size: 1.25rem;
	opacity: 0.9;
	margin-bottom: 2.5rem;
	max-width: 36rem;
	animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

@media (min-width: 768px) {
	.hero-description {
		font-size: 1.5rem;
	}
}

.hero-cta {
	display: inline-block;
	background-color: white;
	color: var(--foreground);
	padding: 1.5rem 2rem;
	font-size: 0.875rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease;
	animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-cta:hover {
	background-color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator {
	position: absolute;
	bottom: 2.5rem;
	left: 50%;
	transform: translateX(-50%);
	width: 1px;
	height: 4rem;
	background: linear-gradient(to bottom, transparent, white, transparent);
	animation: bounce 2s infinite;
}

@media (max-width: 767px) {
	.scroll-indicator {
		display: none;
	}
}

@keyframes bounce {
	0%, 100% {
		transform: translateX(-50%) translateY(0);
	}
	50% {
		transform: translateX(-50%) translateY(-10px);
	}
}

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

@media (min-width: 768px) {
	.about-section {
		padding: 8rem 0;
	}
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
	align-items: center;
}

@media (min-width: 768px) {
	.about-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.about-content {
	opacity: 0;
	transform: translateX(-30px);
	animation: fadeInLeft 0.8s ease-out forwards;
}

@keyframes fadeInLeft {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.about-text {
	color: var(--muted-foreground);
	font-size: 1.125rem;
	line-height: 1.8;
	margin-bottom: 2rem;
}

.about-stats {
	display: flex;
	gap: 2rem;
	margin-top: 3rem;
}

.stat-item {
	display: flex;
	flex-direction: column;
}

.stat-number {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.875rem;
	color: var(--foreground);
}

.stat-label {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted-foreground);
	margin-top: 0.25rem;
}

.about-image-wrapper {
	position: relative;
	opacity: 0;
	transform: scale(0.95);
	animation: fadeInScale 0.8s ease-out 0.2s forwards;
}

@keyframes fadeInScale {
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.image-border {
	position: absolute;
	top: -20px;
	right: -20px;
	width: 100%;
	height: 100%;
	border: 1px solid rgba(139, 115, 85, 0.2);
	z-index: 0;
}

.about-image {
	position: relative;
	z-index: 10;
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	filter: grayscale(100%);
	transition: filter 0.7s ease;
	object-position: bottom;
}

.about-image:hover {
	filter: grayscale(0%);
}

/* Featured Service */
.featured-service {
	padding: 6rem 0;
	background-color: var(--card);
	overflow: hidden;
	position: relative;
}

.featured-bg-blur {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
}

.featured-bg-blur-1 {
	top: 0;
	left: 0;
	width: 16rem;
	height: 16rem;
	background-color: rgba(139, 115, 85, 0.05);
	transform: translate(-50%, -50%);
}

.featured-bg-blur-2 {
	bottom: 0;
	right: 0;
	width: 24rem;
	height: 24rem;
	background-color: rgba(212, 196, 176, 0.1);
	transform: translate(50%, 50%);
}

.featured-grid {
	display: flex;
	flex-direction: column;
	gap: 3rem;
	align-items: center;
	position: relative;
	z-index: 10;
}

.featured-duration {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-bottom: 2rem;
}

@media (min-width: 1024px) {
	.featured-grid {
		flex-direction: row;
		gap: 5rem;
	}
}

.featured-image-wrapper {
	width: 100%;
	position: relative;
}

@media (min-width: 1024px) {
	.featured-image-wrapper {
		width: 50%;
	}
}

.featured-image-container {
	position: relative;
	aspect-ratio: 3/4;
	overflow: hidden;
	border-radius: 2px;
}

.featured-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 1s ease;
}

.featured-image:hover {
	transform: scale(1.05);
}

.featured-badge {
	position: absolute;
	top: 1.5rem;
	left: 1.5rem;
	background-color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	padding: 0.5rem 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.star-icon {
	width: 1rem;
	height: 1rem;
	color: var(--primary);
	fill: var(--primary);
}

.featured-badge span {
	font-size: 0.75rem;
	font-weight: bold;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--foreground);
}

.featured-content {
	width: 100%;
}

@media (min-width: 1024px) {
	.featured-content {
		width: 50%;
	}
}

.featured-label {
	color: var(--primary);
	font-size: 0.75rem;
	font-weight: bold;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.sparkles-icon {
	width: 1rem;
	height: 1rem;
}

.featured-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2.5rem;
	color: var(--foreground);
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.featured-title {
		font-size: 3rem;
	}
}

.featured-description {
	color: var(--muted-foreground);
	font-size: 1.125rem;
	line-height: 1.8;
	margin-bottom: 2rem;
}

.featured-benefits {
	list-style: none;
	margin-bottom: 2.5rem;
}

.featured-benefits li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.benefit-bullet {
	width: 0.375rem;
	height: 0.375rem;
	background-color: var(--primary);
	border-radius: 50%;
	margin-top: 0.5rem;
	flex-shrink: 0;
}

.featured-benefits span {
	color: var(--muted-foreground);
	line-height: 1.6;
}

.featured-cta {
	display: inline-block;
	background-color: var(--primary);
	color: var(--primary-foreground);
	padding: 1.5rem 2.5rem;
	font-size: 0.875rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.featured-cta:hover {
	background-color: rgba(139, 115, 85, 0.9);
}

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

.services-header {
	text-align: center;
	max-width: 42rem;
	margin: 0 auto 4rem;
}

.services-label {
	color: var(--primary);
	font-size: 0.75rem;
	font-weight: bold;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 1rem;
	display: block;
}

.services-subtitle {
	color: var(--muted-foreground);
}

.services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.services-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.service-card {
	background-color: white;
	border: 1px solid var(--border);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	opacity: 0;
	transform: translateY(20px);
}

.service-card.visible {
	animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.service-image-wrapper {
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
}

.service-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.service-card:hover .service-image {
	transform: scale(1.05);
}

.service-content {
	padding: 1.5rem;
}

.service-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.5rem;
	color: var(--foreground);
	margin-bottom: 0.75rem;
}

.service-description {
	color: var(--muted-foreground);
	font-size: 0.875rem;
	line-height: 1.6;
}

.services-cta-wrapper {
	text-align: center;
	margin-top: 4rem;
}

.services-cta {
	display: inline-block;
	border: 2px solid var(--primary);
	color: var(--primary);
	padding: 1rem 2rem;
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.services-cta:hover {
	background-color: var(--primary);
	color: white;
}

/* Contact Section */
.contact-section {
	padding: 6rem 0;
	background-color: rgba(245, 245, 245, 0.3);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
}

/* @media (min-width: 1024px) {
	.contact-grid {
		grid-template-columns: repeat(2, 1fr);
	}
} */

.contact-label {
	color: var(--primary);
	font-size: 0.75rem;
	font-weight: bold;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 1rem;
	display: block;
}

.contact-subtitle {
	color: var(--muted-foreground);
	font-size: 1.125rem;
	margin-bottom: 2.5rem;
}

.contact-features {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.contact-feature {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.feature-icon {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background-color: rgba(139, 115, 85, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	margin-top: 0.25rem;
	flex-shrink: 0;
}

.feature-content h4 {
	font-weight: 500;
	color: var(--foreground);
	margin-bottom: 0.25rem;
}

.feature-content p {
	font-size: 0.875rem;
	color: var(--muted-foreground);
}

.contact-form-wrapper {
	background-color: var(--background);
	padding: 2.5rem;
	border: 1px solid var(--border);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
	.contact-form-wrapper {
		padding: 2.5rem;
	}
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.form-row {
		grid-template-columns: repeat(2, 1fr);
	}
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-group label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--muted-foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
	padding: 0.75rem;
	background-color: var(--background);
	border: 1px solid var(--border);
	font-family: inherit;
	font-size: 0.875rem;
	color: var(--foreground);
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

.form-submit {
	width: 100%;
	padding: 1.5rem;
	background-color: var(--primary);
	color: var(--primary-foreground);
	border: none;
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.form-submit:hover {
	background-color: rgba(139, 115, 85, 0.9);
}

/* Animation on scroll */
@media (prefers-reduced-motion: no-preference) {
	.about-content,
	.about-image-wrapper,
	.featured-image-wrapper,
	.featured-content {
		animation-play-state: paused;
	}
	
	.about-content.in-view,
	.about-image-wrapper.in-view,
	.featured-image-wrapper.in-view,
	.featured-content.in-view {
		animation-play-state: running;
	}
}

/* Responsive adjustments */
@media (max-width: 767px) {
	.container {
		padding: 0 1rem;
	}
	
	.about-section,
	.services-section,
	.contact-section {
		padding: 4rem 0;
	}
	
	.featured-service {
		padding: 4rem 0;
	}
}