@charset "utf-8";
/* CSS Document 



*/

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

:root {
	--color-snow: #fafbfc;
	--color-ice: #e8f4f8;
	--color-frost: #d4e9f2;
	--color-winter-blue: #7ba8bd;
	--color-slate: #4a5f6d;
	--color-charcoal: #2c3e50;
	--color-white: #ffffff;
	--color-black: #111;
	--font-serif: 'Cormorant Garamond', serif;
	--font-sans: Helvetica, 'Montserrat', sans-serif;
	
}

body {
	font-family: var(--font-sans);
	background: linear-gradient(135deg, var(--color-black) 10%, var(--color-charcoal) 90%);
	color: var(--color-frost);
	line-height: 1.6;
	min-height: 100vh;
}

/* Navigation */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(1, 1, 1, 0.95);
	backdrop-filter: blur(10px);
	padding: 0.5rem 2rem;
	z-index: 1000;
	border-bottom: 1px solid rgba(123, 168, 189, 0.1);
}

.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/*.logo {
	font-family: var(--font-serif);
	font-size: 1.8rem;
	font-weight: 300;
	letter-spacing: 2px;
	color: var(--color-snow);
	display: flex;
	align-items: center;
	gap: 0.8rem;
	text-decoration: none;
	transition: color 0.3s ease;
}

.logo:hover {
	color: var(--color-winter-blue);
}

.logo:hover .logo-icon {
	opacity: 1;
}

.logo-icon {
	width: 24px;
	height: 24px;
	opacity: 0.6;
}

.logo1 {
	float: left;
	display: inline-block;
	
	
}
*/

#popup {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      display: none;
      justify-content: center;
      align-items: center;
	  z-index: 5;
    }

    .popup-box {
      background: black;
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      width: 600px;
	  
    }

    button {
       padding: 10px 18px;
  	   margin: 5px;
       border: none;
  	   border-radius: 5px; /* ทำให้มนเต็ม */
       cursor: pointer;
       font-size: 14px;
	   background: #e8f4f8;
       transition: 0.3s;
    }

.nav-links {
	display: flex;
	gap: 2rem;
	list-style: none;
}

.nav-links a {
	text-decoration: none;
	color: var(--color-snow);
	font-size: 0.9rem;
	font-weight: 300;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: color 0.3s ease;
	position: relative;
	padding-top: 1.5rem;
}

.nav-links a::before {
	content:  '♥';  
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.85rem;
	color: var(--color-winter-blue);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.nav-links a.active::before,
.nav-links a:hover::before {
	opacity: 1;
}

.nav-links a:hover {
	color: var(--color-winter-blue);
}

/* Hero Section */
.hero {
	margin-top: 90px;
	padding: 12rem 2rem 10rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgb(0, 0, 0, 0.2);
	/*background: linear-gradient(rgba(250, 251, 252, 0.85), rgba(232, 244, 248, 0.9)); */
	z-index: 1;
}

.hero::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgb(0, 0, 0, 0.2);
	/* background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(123, 168, 189, 0.8) 100%); */
	z-index: 2;
	pointer-events: none;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	animation: heroSlide 18s infinite;
	opacity: 0;
}

.hero-bg:nth-child(1) {
	background-image: url('../imagehome/co1.jpg');
	animation-delay: 0s;
}

.hero-bg:nth-child(2) {
	background-image: url('../imagehome/co2.jpg');
	animation-delay: 6s;
}

.hero-bg:nth-child(3) {
	background-image: url('../imagehome/co3.jpg');
	animation-delay: 12s;
}

.hero-bg2 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	animation: heroSlide 18s infinite;
	opacity: 0;
}

.hero-bg2:nth-child(1) {
	background-image: url('../imagehome/co4.jpg');
	animation-delay: 0s;
}

.hero-bg2:nth-child(2) {
	background-image: url('../imagehome/co5.jpg');
	animation-delay: 6s;
}

.hero-bg2:nth-child(3) {
	background-image: url('../imagehome/co6.jpg');
	animation-delay: 12s;
}

@keyframes heroSlide {
	0% {
		opacity: 0;
	}

	5% {
		opacity: 1;
	}

	33% {
		opacity: 1;
	}

	38% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

.hero-content {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 3;
}

.hero h1 {
	font-family: var(--font-serif);
	font-size: 4.5rem;
	font-weight: 300;
	color: var(--color-frost);
	margin-bottom: 1.5rem;
	letter-spacing: 3px;
	line-height: 1.2;
	position: relative;
	z-index: 1;
}

.hero p {
	font-size: 1.1rem;
	color: var(--color-winter-blue);
	font-weight: 300;
	letter-spacing: 2px;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
}

/* Filter Section */
.home-container {
	padding: 2rem 2rem;
	text-align: center;
}

/*.home-buttons {
	display: inline-flex;
	gap: 2.5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.filter-btn {
	background: none;
	border: none;
	font-family: var(--font-sans);
	font-size: 0.95rem;
	color: var(--color-slate);
	cursor: pointer;
	padding: 0.5rem 0;
	position: relative;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	font-weight: 300;
	transition: color 0.3s ease;
}

.filter-btn::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 100%;
	height: 1px;
	background: var(--color-winter-blue);
	transition: transform 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
	color: var(--color-winter-blue);
}

.filter-btn.active::after {
	transform: translateX(-50%) scaleX(1);
}

*/


/* Gallery Section */


.top-banner {
    width: 100%;
    height: 450px;
	
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;
}
  
.top-banner h1 {
	
  	
  	text-align: center;
 	top: 52%;
/*  	transform: translateY(-50%); */
	font-family: var(--font-serif);
	font-size: 3rem;
	font-weight: 300;
	color: var(--color-frost);
	margin-bottom: 1.5rem;
	letter-spacing: 2px;
	line-height: 1.2;
	position: relative;
	z-index: 2;
} 
  
  
.gallery-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 1rem;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	grid-auto-flow: dense;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	cursor: pointer;
	background: var(--color-black);
	box-shadow: 0 4px 20px rgba(123, 168, 189, 0.08);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
}

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

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/*.gallery-item:nth-child(1) {
	animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
	animation-delay: 0.15s;
}

.gallery-item:nth-child(3) {
	animation-delay: 0.2s;
}

.gallery-item:nth-child(4) {
	animation-delay: 0.25s;
}

.gallery-item:nth-child(5) {
	animation-delay: 0.3s;
}

.gallery-item:nth-child(6) {
	animation-delay: 0.35s;
}

.gallery-item:nth-child(7) {
	animation-delay: 0.4s;
}

.gallery-item:nth-child(8) {
	animation-delay: 0.45s;
}

.gallery-item:nth-child(9) {
	animation-delay: 0.5s;
}
*/
.gallery-item.tall {
	grid-row: span 2;
}

.gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 40px rgba(123, 168, 189, 0.15);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(44, 62, 80, 0.8), transparent);
	padding: 1rem 1.2rem 1rem;
/*	transform: translateY(100%);  
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); */
}

.gallery-item:hover .gallery-overlay {
	transform: translateY(0);
}

.gallery-title {
/*	font-family: var(--font-serif); */
	font-size: 1rem;
	color: var(--color-white);
	font-weight: 500;
	margin-bottom: 0.3rem;
}

.gallery-category {
	font-size: 0.75rem;
	color: var(--color-frost);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 500;
}

/* Lightbox */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(250, 251, 252, 0.98);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.lightbox.active {
	display: flex;
	opacity: 1;
}

.lightbox-content {
	max-width: 90%;
	max-height: 85vh;
	position: relative;
	animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
	from {
		transform: scale(0.9);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

.lightbox-content img {
	max-width: 100%;
	max-height: 85vh;
	display: block;
	box-shadow: 0 20px 60px rgba(123, 168, 189, 0.2);
}

.lightbox-info {
	text-align: center;
	margin-top: 2rem;
}

.lightbox-info h3 {
	font-family: var(--font-serif);
	font-size: 2rem;
	color: var(--color-slate);
	font-weight: 300;
	margin-bottom: 0.5rem;
}

.lightbox-info p {
	font-size: 0.85rem;
	color: var(--color-winter-blue);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 300;
}

.lightbox-close {
	position: absolute;
	top: 2rem;
	right: 2rem;
	background: none;
	border: none;
	font-size: 3rem;
	color: var(--color-slate);
	cursor: pointer;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	font-weight: 200;
}

.lightbox-close:hover {
	color: var(--color-winter-blue);
	transform: rotate(90deg);
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 50px;
	height: 50px;
	cursor: pointer;
	font-size: 1.5rem;
	color: var(--color-slate);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-nav:hover {
	background: var(--color-white);
	color: var(--color-winter-blue);
}

.lightbox-prev {
	left: 2rem;
}

.lightbox-next {
	right: 2rem;
}

/* Footer */
footer {
	text-align: center;
	padding: 2rem 2rem 2rem;
	margin-top: 2rem;
	border-top: 1px solid rgba(123, 168, 189, 0.1);
}

footer p {
	color: var(--color-frost);
	font-size: 0.8rem;
/*	letter-spacing: 1.5px; */
	font-weight: 300;
}

footer a {
	color: var(--color-snow);
	text-decoration: none;
	transition: opacity 0.3s ease;
}

footer a:hover {
	opacity: 0.7;
}

/* About Section */
.about-section {
	max-width: 1400px;
	margin: 2rem auto 0;
	padding: 0 1rem;
	text-align: center;
}

.about-section h2 {
	padding-top: 6rem;
	font-family: var(--font-sans);
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--color-winter-blue);
	margin-bottom: 1rem;
	letter-spacing: 2px;
} 

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-top: 1rem;
	text-align: left;
}

.about-text p {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--color-frost);
/*	margin-bottom: 1rem; */
	font-weight: 300;
	text-align: left;
}
.about-text2 p {
	padding-top: 1rem;
	padding-bottom: 1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--color-frost);
	margin-bottom: 1rem; 
	font-weight: 300;
	text-align: left;
}

.about-text2 a {
	font-size: 0.9rem;
	text-decoration: none;
	color: var(--color-white);
	
	
	
}

/*.about-join  {
	font-size: 2rem;
	line-height: 2;
	color: var(--color-snow);

	font-weight: 400;
	text-align: left;
} */
.about-join a {
	font-size: 2rem;
/*	line-height: 1; */
	color: var(--color-snow);
	text-decoration: none;
/*	margin-bottom: 1rem; */
	font-weight: 500;
	text-align: center;
}

.about-join a:hover {
	opacity: 0.7;
}
.about-image {
	width: 100%;
	height: 400px;
	background: var(--color-frost);
	border-radius: 2px;
	overflow: hidden;
}

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

/*
.about-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1.5rem;
}

.stat-box {
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(123, 168, 189, 0.15);
	border-radius: 2px;
	text-align: center;
	transition: all 0.3s ease;
}

.stat-box:hover {
	background: rgba(255, 255, 255, 0.9);
	border-color: var(--color-winter-blue);
	transform: translateY(-3px);
}

.stat-number {
	font-family: var(--font-serif);
	font-size: 2rem;
	font-weight: 400;
	color: var(--color-winter-blue);
	margin-bottom: 0.3rem;
}

.stat-label {
	font-size: 0.75rem;
	color: var(--color-slate);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 300;
}
*/
/* Contact Section */

.contact-info {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-top: 3rem;
	flex-wrap: wrap;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-slate);
	font-size: 0.9rem;
	font-weight: 300;
}

.contact-item a {
	color: var(--color-slate);
	text-decoration: none;
	transition: color 0.3s ease;
}

.contact-item a:hover {
	color: var(--color-winter-blue);
}

/* Mobile Menu */
.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--color-slate);
	cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
	.hero {
		padding: 8rem 2rem 6rem;
	}

	.hero h1 {
		font-size: 3rem;
	}

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

	.mobile-menu-btn {
		display: block;
	}

	.nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-white);
		flex-direction: column;
		padding: 2rem;
		gap: 1.5rem;
		display: none;
		box-shadow: 0 10px 30px rgba(123, 168, 189, 0.1);
	}

	.nav-links a {
		padding-top: 0;
	}

	.nav-links a::before {
		display: none;
	}

	.nav-links.active {
		display: flex;
	}

	.lightbox-nav {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}

	.lightbox-prev {
		left: 1rem;
	}

	.lightbox-next {
		right: 1rem;
	}

	.lightbox-close {
		top: 1rem;
		right: 1rem;
		font-size: 2rem;
	}

	.about-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.about-stats {
		grid-template-columns: 1fr 1fr;
	}

	.about-section h2,
	.contact-section h2 {
		font-size: 2.5rem;
	}

	.contact-info {
		flex-direction: column;
		align-items: center;
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 6rem 1.5rem 5rem;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.hero p {
		font-size: 0.95rem;
	}

	.filter-buttons {
		gap: 1.5rem;
	}

	.filter-btn {
		font-size: 0.85rem;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.about-stats {
		gap: 0.75rem;
	}

	.stat-box {
		padding: 1rem;
	}

	.stat-number {
		font-size: 1.5rem;
	}

	.stat-label {
		font-size: 0.7rem;
	}
}