/*
Theme Name: Aquarium Studio
Theme URI: https://aquariumstudio.com
Author: Aquarium Studio
Author URI: https://aquariumstudio.com
Description: Elite aquarium design studio theme — luxury minimalist FSE block theme with fluid typography, cinematic imagery, and premium design system.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aquarium-studio
Tags: full-site-editing, block-patterns, custom-colors, custom-typography, wide-blocks, one-column
*/

/* ============================================================
   AQUARIUM STUDIO — BASE STYLES
   No external libraries. 100% native CSS + WordPress blocks.
   ============================================================ */

/* --- Reset & Box Model ---------------------------------------- */
*, *::before, *::after {
	box-sizing: border-box;
}

/* --- Document ------------------------------------------------- */
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	background-color: #FFFFFF;
	color: #1A1A1A;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* --- Images --------------------------------------------------- */
img, video {
	max-width: 100%;
	height: auto;
	display: block;
}

/* --- Focus Styles (Accessibility) ----------------------------- */
:focus-visible {
	outline: 2px solid #5B9BD5;
	outline-offset: 3px;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.wp-block-template-part[data-slug="header"] {
	position: sticky;
	top: 0;
	z-index: 100;
}

.as-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem 3rem;
	background: rgba(255,255,255,0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(26,26,26,0.08);
	transition: box-shadow 0.3s ease;
}

.as-header--scrolled {
	box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* ============================================================
   AQUARIUM STUDIO — HERO SECTION
   ============================================================ */
.as-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.as-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.as-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	will-change: transform;
}

.as-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(26,26,26,0.1) 0%,
		rgba(26,26,26,0.3) 40%,
		rgba(26,26,26,0.82) 100%
	);
	z-index: 1;
}

.as-hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 6rem 3rem 5rem;
	max-width: 90rem;
	margin: 0 auto;
}

.as-hero__label {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #A8D4F5;
	margin-bottom: 1.5rem;
}

.as-hero__title {
	font-size: clamp(3rem, 7vw, 5rem);
	font-weight: 200;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: #FFFFFF;
	margin: 0 0 1.5rem;
	max-width: 18ch;
}

.as-hero__subtitle {
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	font-weight: 300;
	line-height: 1.6;
	color: rgba(240,248,255,0.8);
	max-width: 50ch;
	margin: 0 0 3rem;
}

.as-hero__cta {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.as-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 2.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.as-btn--primary {
	background: #FFFFFF;
	color: #1A1A1A;
}

.as-btn--primary:hover {
	background: #F0F8FF;
	color: #1A1A1A;
}

.as-btn--outline {
	background: transparent;
	color: #FFFFFF;
	border: 1px solid rgba(255,255,255,0.5);
}

.as-btn--outline:hover {
	background: rgba(255,255,255,0.1);
	border-color: #FFFFFF;
}

.as-hero__scroll-indicator {
	position: absolute;
	bottom: 2rem;
	right: 3rem;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255,255,255,0.5);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.as-hero__scroll-line {
	width: 1px;
	height: 3rem;
	background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
	animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
	0%, 100% { transform: scaleY(1); opacity: 0.5; }
	50% { transform: scaleY(0.5); opacity: 1; }
}

/* ============================================================
   SECTION — SHARED LAYOUT
   ============================================================ */
.as-section {
	padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 4vw, 3rem);
}

.as-section--dark {
	background: #1A1A1A;
	color: #FFFFFF;
}

.as-section--ice {
	background: #F0F8FF;
	color: #1A1A1A;
}

.as-section__inner {
	max-width: 90rem;
	margin: 0 auto;
}

.as-eyebrow {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #5B9BD5;
	margin-bottom: 1rem;
}

.as-eyebrow--light {
	color: #A8D4F5;
}

.as-section__heading {
	font-size: clamp(2.25rem, 4vw, 3.5rem);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 1.5rem;
}

.as-section__lead {
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	font-weight: 300;
	line-height: 1.7;
	color: rgba(26,26,26,0.65);
	max-width: 58ch;
}

.as-section__lead--light {
	color: rgba(240,248,255,0.65);
}

/* ============================================================
   GALLERY SECTION — CINEMATIC GRID
   ============================================================ */
.as-gallery {
	padding: 0;
	background: #1A1A1A;
}

.as-gallery__header {
	padding: clamp(5rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 5vw, 5rem);
	max-width: 90rem;
	margin: 0 auto;
}

.as-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
	gap: 2px;
}

.as-gallery__item {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3/4;
	cursor: pointer;
}

.as-gallery__item:first-child {
	grid-row: span 2;
	aspect-ratio: auto;
}

.as-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.as-gallery__item:hover img {
	transform: scale(1.04);
}

.as-gallery__item-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		transparent 50%,
		rgba(26,26,26,0.85) 100%
	);
	opacity: 0;
	transition: opacity 0.4s ease;
	display: flex;
	align-items: flex-end;
	padding: 2rem;
}

.as-gallery__item:hover .as-gallery__item-overlay {
	opacity: 1;
}

.as-gallery__item-caption {
	color: #FFFFFF;
}

.as-gallery__item-caption h3 {
	font-size: 1.25rem;
	font-weight: 400;
	letter-spacing: -0.01em;
	margin: 0 0 0.25rem;
}

.as-gallery__item-caption p {
	font-size: 0.8125rem;
	font-weight: 400;
	color: rgba(240,248,255,0.7);
	margin: 0;
	letter-spacing: 0.05em;
}

@media (max-width: 768px) {
	.as-gallery__grid {
		grid-template-columns: 1fr;
	}
	.as-gallery__item:first-child {
		grid-row: auto;
	}
	.as-gallery__item {
		aspect-ratio: 4/3;
	}
}

/* ============================================================
   SERVICES SECTION — MAINTENANCE CARDS
   ============================================================ */
.as-services {
	background: #FFFFFF;
}

.as-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
	margin-top: 4rem;
}

.as-service-card {
	background: #F5F5F5;
	padding: 3rem 2.5rem;
	position: relative;
	overflow: hidden;
	transition: background 0.3s ease;
}

.as-service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #A8D4F5, #5B9BD5);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.as-service-card:hover {
	background: #F0F8FF;
}

.as-service-card:hover::before {
	transform: scaleX(1);
}

.as-service-card--featured {
	background: #1A1A1A;
	color: #FFFFFF;
}

.as-service-card--featured::before {
	background: linear-gradient(90deg, #5B9BD5, #A8D4F5);
}

.as-service-card--featured:hover {
	background: #2C2C2C;
}

.as-service-card__icon {
	width: 3rem;
	height: 3rem;
	margin-bottom: 2rem;
	color: #5B9BD5;
}

.as-service-card--featured .as-service-card__icon {
	color: #A8D4F5;
}

.as-service-card__tag {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #5B9BD5;
	margin-bottom: 0.75rem;
}

.as-service-card--featured .as-service-card__tag {
	color: #A8D4F5;
}

.as-service-card__title {
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 1rem;
}

.as-service-card__desc {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: rgba(26,26,26,0.6);
	margin: 0 0 2rem;
}

.as-service-card--featured .as-service-card__desc {
	color: rgba(240,248,255,0.6);
}

.as-service-card__price {
	display: flex;
	align-items: baseline;
	gap: 0.25rem;
	margin-bottom: 2rem;
}

.as-service-card__price-amount {
	font-size: 2.5rem;
	font-weight: 200;
	letter-spacing: -0.03em;
	line-height: 1;
}

.as-service-card__price-period {
	font-size: 0.875rem;
	color: rgba(26,26,26,0.5);
}

.as-service-card--featured .as-service-card__price-period {
	color: rgba(240,248,255,0.5);
}

.as-service-card__features {
	list-style: none;
	padding: 0;
	margin: 0 0 2.5rem;
}

.as-service-card__features li {
	padding: 0.6rem 0;
	font-size: 0.875rem;
	color: rgba(26,26,26,0.7);
	border-bottom: 1px solid rgba(26,26,26,0.06);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.as-service-card--featured .as-service-card__features li {
	color: rgba(240,248,255,0.7);
	border-bottom-color: rgba(240,248,255,0.06);
}

.as-service-card__features li::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #5B9BD5;
	flex-shrink: 0;
}

.as-service-card--featured .as-service-card__features li::before {
	background: #A8D4F5;
}

@media (max-width: 900px) {
	.as-services__grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.as-testimonials {
	background: #1A1A1A;
	color: #FFFFFF;
}

.as-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2px;
	margin-top: 4rem;
}

.as-testimonial-card {
	background: #2C2C2C;
	padding: 3rem;
	position: relative;
	transition: background 0.3s ease;
}

.as-testimonial-card:hover {
	background: #3D3D3D;
}

.as-testimonial-card__quote-mark {
	font-size: 4rem;
	line-height: 1;
	color: #5B9BD5;
	font-family: Georgia, serif;
	margin-bottom: 1.5rem;
	opacity: 0.6;
}

.as-testimonial-card__text {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: rgba(240,248,255,0.8);
	margin: 0 0 2rem;
	font-style: italic;
	font-weight: 300;
}

.as-testimonial-card__author {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.as-testimonial-card__avatar {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: linear-gradient(135deg, #5B9BD5, #A8D4F5);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 600;
	color: #1A1A1A;
	flex-shrink: 0;
}

.as-testimonial-card__name {
	font-size: 0.9375rem;
	font-weight: 500;
	color: #FFFFFF;
	margin: 0 0 0.125rem;
}

.as-testimonial-card__detail {
	font-size: 0.8125rem;
	color: rgba(240,248,255,0.4);
	letter-spacing: 0.05em;
}

.as-testimonials__cta {
	text-align: center;
	padding-top: 5rem;
}

@media (max-width: 768px) {
	.as-testimonials__grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   FOOTER
   ============================================================ */
.as-footer {
	background: #111111;
	color: rgba(240,248,255,0.5);
	padding: 5rem 3rem 2.5rem;
}

.as-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 4rem;
	max-width: 90rem;
	margin: 0 auto;
	padding-bottom: 4rem;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.as-footer__brand-name {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #FFFFFF;
	margin-bottom: 1rem;
}

.as-footer__brand-desc {
	font-size: 0.875rem;
	line-height: 1.7;
	color: rgba(240,248,255,0.4);
	max-width: 28ch;
}

.as-footer__col-heading {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #FFFFFF;
	margin-bottom: 1.5rem;
}

.as-footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.as-footer__links li {
	margin-bottom: 0.75rem;
}

.as-footer__links a {
	font-size: 0.875rem;
	color: rgba(240,248,255,0.45);
	text-decoration: none;
	transition: color 0.2s ease;
}

.as-footer__links a:hover {
	color: #F0F8FF;
}

.as-footer__bottom {
	max-width: 90rem;
	margin: 0 auto;
	padding-top: 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.8125rem;
}

@media (max-width: 900px) {
	.as-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
}

@media (max-width: 600px) {
	.as-footer__grid {
		grid-template-columns: 1fr;
	}
	.as-header {
		padding: 1rem 1.25rem;
	}
	.as-hero__content {
		padding: 4rem 1.25rem 3rem;
	}
}

/* ============================================================
   STATS BAR
   ============================================================ */
.as-stats {
	background: #F0F8FF;
	padding: 3rem;
	border-top: 1px solid rgba(26,26,26,0.06);
	border-bottom: 1px solid rgba(26,26,26,0.06);
}

.as-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	max-width: 90rem;
	margin: 0 auto;
	text-align: center;
}

.as-stat__number {
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 200;
	letter-spacing: -0.03em;
	color: #1A1A1A;
	line-height: 1;
	margin-bottom: 0.5rem;
}

.as-stat__label {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(26,26,26,0.5);
}

@media (max-width: 600px) {
	.as-stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

.wp-site-blocks {
	padding-top: 0;
	padding-bottom: 0;
}
