@charset "utf-8";
/* CSS Document 

ModernFloorCover 2026

*/

* {
	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;
	--font-serif: 'Cormorant Garamond', serif;
	--font-sans: 'Montserrat', sans-serif;
  --white-color:                  #ffffff;
  --primary-color:                #BC6C25;
  --secondary-color:              #DDA15E;
  --custom-btn-bg-color:          #BC6C25;
  --custom-btn-bg-hover-color:    #DDA15E;
  --border-color:                 #e9eaeb;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #7fffd4;
  --link-hover-color:             #E76F51;

  --body-font-family:             'Plus Jakarta Sans', sans-serif;

  --h1-font-size:                 68px;
  --h4-font-size:                 28px;
  --btn-font-size:                13px;
  --border-radius-medium:         20px;
  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;
  --font-weight-thin:             100;
  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
	font-family: var(--font-sans);
	background: linear-gradient(135deg, var(--color-snow) 0%, var(--color-ice) 100%);
	color: var(--color-charcoal);
	line-height: 1.6;
	min-height: 100vh;
}

/* Navigation */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 1.5rem 2rem;
	z-index: 1000;
	border-bottom: 1px solid rgba(123, 168, 189, 0.1);
}

.nav-container {
    height: 50px; /* adjust to desired navbar height */
    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-slate);
	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;
}

.nav-links {
	display: flex;
	gap: 2rem;
	list-style: none;
}

.nav-links a {
	text-decoration: none;
	color: var(--color-slate);
	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: 80px;
	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: 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: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(123, 168, 189, 0.05) 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 10s infinite;
	opacity: 0;
}

.hero-bg:nth-child(1) {
    background-image: url('images/slides/tuft.jpg');
    animation-delay: 0s;
}

.hero-bg:nth-child(2) {
    background-image: url('images/slides/od.jpg');
    animation-delay: 6s;
}

@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-slate);
	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 */
.filter-container {
	padding: 3rem 2rem;
	text-align: center;
}

.filter-container h2 {
	font-family: var(--font-serif);
	font-size: 3rem;
	font-weight: 300;
	color: var(--color-slate);
	margin-bottom: 1rem;
	letter-spacing: 2px;
}

.filter-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 */
.gallery-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
	grid-auto-flow: dense;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	cursor: pointer;
	background: var(--color-white);
	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-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(44, 62, 80, 0.8), transparent);
	padding: 2rem 1.5rem 1.5rem;
	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: 1.3rem;
	color: var(--color-white);
	font-weight: 300;
	margin-bottom: 0.3rem;
}

.gallery-category {
	font-size: 0.75rem;
	color: var(--color-frost);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 300;
}

/* 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: 4rem 2rem 3rem;
	margin-top: 4rem;
	border-top: 1px solid rgba(123, 168, 189, 0.1);
}

footer p {
	color: var(--color-winter-blue);
	font-size: 0.85rem;
	letter-spacing: 1.5px;
	font-weight: 300;
}

footer a {
	color: var(--color-winter-blue);
	text-decoration: none;
	transition: opacity 0.3s ease;
}

footer a:hover {
	opacity: 0.7;
}

/* About Section */
.about-section {
	max-width: 900px;
	margin: 6rem auto 0;
	padding: 0 2rem;
	text-align: center;
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	margin-top: 3rem;
	text-align: left;
}

/*.about-section {
    width: 100%;
    margin: 6rem 0 0;
    padding: 80px 2rem;
    text-align: center;

    background-image: url('images/slides/tuft.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 3rem auto 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: left;

    position: relative;
    z-index: 1;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
}*/



.about-section h2 {
	font-family: var(--font-serif);
	font-size: 3rem;
	font-weight: 300;
	color: var(--color-slate);
	margin-bottom: 2rem;
	letter-spacing: 2px;
}

.about-text p {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--color-slate);
	margin-bottom: 1.5rem;
	font-weight: 300;
}

.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-section {
	max-width: 700px;
	margin: 8rem auto 0;
	padding: 0 2rem;
	text-align: center;
}

.contact-section h2 {
	font-family: var(--font-serif);
	font-size: 3rem;
	font-weight: 300;
	color: var(--color-slate);
	margin-bottom: 2rem;
	letter-spacing: 2px;
}

.contact-section p {
	font-size: 1rem;
	color: var(--color-winter-blue);
	margin-bottom: 3rem;
	font-weight: 300;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.form-group label {
	font-size: 0.85rem;
	color: var(--color-slate);
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 300;
}

.form-group input,
.form-group textarea {
	padding: 1rem;
	border: 1px solid rgba(123, 168, 189, 0.2);
	background: var(--color-white);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	color: var(--color-charcoal);
	border-radius: 2px;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--color-winter-blue);
}

.form-group textarea {
	min-height: 150px;
	resize: vertical;
}

.submit-btn {
	padding: 1rem 3rem;
	background: var(--color-slate);
	color: var(--color-white);
	border: none;
	font-family: var(--font-sans);
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 300;
	border-radius: 2px;
}

.submit-btn:hover {
	background: var(--color-winter-blue);
	transform: translateY(-2px);
}

.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,
	.filter-container h2,
	.team-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;
	}
}

/* Logo container */
.logo {
    display: inline-block;
    text-decoration: none; /* remove underline */
    vertical-align: middle;
}

/* Logo image */
.logo-icon {
    display: block;
    max-width: 100%;       /* prevents overflow */
    height: auto;          /* maintain aspect ratio */
    width: 150px;          /* default desktop size */
    transition: all 0.3s ease;
}

/* Responsive: tablets */
@media (max-width: 991px) {
    .logo-icon {
        width: 120px;
    }
}

/* Responsive: mobile */
@media (max-width: 576px) {
    .logo-icon {
        width: 130px;
        margin: 0 auto;      /* center horizontally */
    }

    /* Optional: make parent container flex to center logo in navbar */
    .navbar {              /* replace with your actual navbar class */
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.about-card h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;          /* readable on mobile */
    font-weight: 300;
    color: var(--color-slate);
    margin-bottom: 0.4rem;
    letter-spacing: 2.5px;       /* tighter for small screens */
    text-transform: uppercase;
    text-align: center;
}

@media (min-width: 768px) {
    .about-card h2 {
        font-size: 0.7rem;
        letter-spacing: 3px;
        margin-bottom: 0.3rem;
    }
}

@media (min-width: 1200px) {
    .about-card h2 {
        font-size: 0.6rem;
        letter-spacing: 3.5px;
    }
}

#about {
    scroll-margin-top: 120px; /* adjust to your navbar height */
}

#product {
    scroll-margin-top: 50px; /* desktop */
}

@media (max-width: 768px) {
    #product {
        scroll-margin-top: 50px; /* mobile navbar height */
    }
}

#contact {
    scroll-margin-top: 130px; /* adjust to your navbar height */
}

#home {
    scroll-margin-top: 100px; /* adjust to your navbar height */
}

#team {
    scroll-margin-top: 140px; /* adjust to your navbar height */
}

.about-text p {
    font-size: 16px;        /* normal text size */
    line-height: 1.6;
}

.about-logo-inline {
    width: 100px;              /* logo size */
    height: auto;
    display: inline-block;
    vertical-align: text-top; /* align with first line */
    margin-right: 10px;       /* space between logo and text */
    position: relative;
    top: -16px;                /* slightly above text */
}

/* ✅ Mobile fix */
@media (max-width: 768px) {
    .about-text p {
        font-size: 13px;     /* smaller text on mobile */
        line-height: 1.5;
    }

    .about-logo-inline {
        width: 80px;         /* smaller logo on mobile */
        top: -10px;           /* less vertical shift */
        margin-right: 6px;
    }
}

.stat-box:nth-child(2) .stat-number::after {
    content: "+";
}

.about-images .stat-box {
    text-align: center;
    padding: 20px;
}

.about-images img {
    width: 70px;       /* mini image size */
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: 0.3s ease;
}

/* Hover effect */
.about-images img:hover {
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 768px) {
    .about-images img {
        width: 55px;
        height: 55px;
    }
}

.about-subtitle {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--color-slate);
	margin-bottom: -0.8rem;
	letter-spacing: 10px;
}

.zoom-img {
    cursor: pointer;
    transition: 0.3s ease;
}

.zoom-img:hover {
    transform: scale(1.05);
}

/* Modal background */
.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

/* Enlarged image */
.img-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Close button */
.img-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.about-images .stat-box {
    overflow: hidden;
    cursor: pointer;
}

.about-images .stat-box img {
    transition: transform 0.4s ease;
}

/* Hover effect */
.about-images .stat-box:hover img {
    transform: scale(1.6); /* zoom image */
}

.about-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 8px 8px 18px rgba(0,0,0,0.08),
                -8px -8px 18px rgba(255,255,255,0.9);
    margin-bottom: 24px;
}

.about-card p {
    line-height: 1.7;
    margin-bottom: 14px;
}

.about-logo-inline {
    max-width: 140px;
    display: block;
    margin-bottom: 18px;
}

@media (max-width: 576px) {
    .about-card {
        padding: 26px 20px;
    }

    .about-logo-inline {
        max-width: 170px;
        margin: 0 auto 20px;
    }

    .about-card p {
        text-align: center;
    }
}

#categoryInfoBlock p {
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

#categoryInfoBlock .gallery-overlay {
    background: #f8f5eb; /* light background for contrast */
    color: #333;
    padding: 15px;
    text-align: center;
    border-left: 4px solid #333;
}

@media (max-width: 768px) {
    .logo {
        display: flex;
        justify-content: center;
        width: 200%;
    }

    .logo-icon {
        margin: 0 auto;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(120px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(120px);
}

.slide-in-right.animate {
    animation: slideInRight 0.6s ease-out forwards;
}

/* ===============================
   TEAM GRID SYSTEM
================================ */
.team-section {
	max-width: 1200px;
	margin: 6rem auto 0;
	padding: 0 2rem;
	text-align: center;
}

.team-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 16px 18px 18px;
    text-align: center;
    height: 100%;
    margin: 0; /* ✅ fixed for Bootstrap grid */

    box-shadow: 8px 8px 18px rgba(0,0,0,0.08),
                -8px -8px 18px rgba(255,255,255,0.9);

    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}

/* Mobile padding tweak */
@media (max-width: 576px) {
    .team-card {
        padding: 28px 20px 32px;
        min-height: 360px;
    }
}

/* Hover effect (merged & preserved style) */
@media (hover: hover) {
    .team-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 45px rgba(0,0,0,0.15);
    }
}

/* Team image */
.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid rgba(255,255,255,0.7);
    transition: transform 0.3s ease;
}

/* Image hover effect */
@media (hover: hover) {
    .team-card:hover img {
        transform: scale(1.05);
    }
}

/* Mobile image size */
@media (max-width: 576px) {
    .team-card img {
        width: 170px;
        height: 170px;
    }
}

/* Typography */
.team-card h5 {
    font-weight: 600;
    margin-bottom: 0;  /* remove gap */
}

.team-role {
    font-size: clamp(13px, 1vw, 14px);
    color: rgba(55, 65, 81, 0.7); /* dark gray with 70% opacity */
    opacity: 1;                     /* keep text opacity at full, color handles fading */
    margin-bottom: clamp(4px, 1vw, 6px); /* small gap below role */
    display: block;
}

.team-desc {
    font-size: clamp(12px, 0.9vw, 13px);
    line-height: clamp(1.3, 1.5vw, 1.5);
    opacity: 0.85;
    margin: 0;
}

.team-card p {
    font-size: 14px;
    opacity: 0.75;
    margin: 0;
}

/* ===== PRO TEAM GRID FIX (NO STYLE CHANGE) ===== */

.team-section .row {
    display: flex;
    flex-wrap: wrap;
}

/* Desktop: 3 cards in one row */
@media (min-width: 992px) {
    .team-section .col-lg-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
        padding: 12px; /* spacing without breaking layout */
    }
}

/* Tablet: 2 cards in one row */
@media (min-width: 576px) and (max-width: 991px) {
    .team-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 12px;
    }
}

/* Mobile: 1 card in one row */
@media (max-width: 575px) {
    .team-section .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 12px;
    }
}

/* Increase team card size on desktop only */
@media (min-width: 992px) {
    .team-card {
        padding: 34px 30px 36px;   /* bigger card */
        min-height: 460px;         /* taller card */
    }

    .team-card img {
        width: 250px;
        height: 250px;             /* bigger image */
    }

    .team-desc {
        font-size: 14px;           /* slightly bigger text */
    }
}

/* ===============================
   TEAM SECTION HEADING (ULTRA PREMIUM)
================================ */

/* Header wrapper */
.team-header {
    text-align: center;       /* horizontal centering */
    margin-bottom: 2rem;      /* same as contact-section spacing */
    display: block;           /* remove flex to avoid distortion */
}

/* Team Section Heading */
.team-header h2 {
    font-family: var(--font-serif);
    font-size: 2rem;          /* same as contact-section */
    font-weight: 300;
    color: var(--color-slate);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.hero-section {
    background: 
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url("images/hero-bg.jpg") center center / cover no-repeat;
        
    position: relative;
    min-height: 100vh;
}


/* Desktop adjustments */
@media (min-width: 992px) {
    .team-header {
        margin-bottom: 4rem;        /* luxury spacing above cards */
    }

    .team-header h2 {
        font-size: 3rem;            /* keep same as contact-section */
    }

    .team-header p.team-subtitle {
        font-size: 1.2rem;          /* slightly larger for desktop */
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .team-header h2 {
        font-size: 2rem;            /* scale down for small screens */
    }

    .team-header p.team-subtitle {
        font-size: 0.95rem;         /* readable on mobile */
    }
}

/* Base subtitle styling */
.team-subtitle {
    position: relative;
    display: inline-block;
    color: #6b7280; /* dark gray faded */
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    text-align: center;
    overflow: visible;
    z-index: 1;
}

/* Firecracker sparkle stars */
.team-subtitle .sparkle-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 240, 180, 0.9); /* soft gold */
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 240, 180, 0.9);
    opacity: 0;
    z-index: 2;
    animation: firecracker 2s infinite;
}

/* Firecracker twinkle animation */
@keyframes firecracker {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    10% { opacity: 1; transform: scale(1.5); }
    50% { opacity: 0.2; transform: scale(0.8); }
    70% { opacity: 0.8; transform: scale(1.2); }
}

/* Shimmer pseudo-element (optional) */
.team-subtitle::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,200,0.25) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 3;
}

.team-subtitle.continuous::after {
    animation: continuousShimmer 3s linear infinite;
}

@keyframes continuousShimmer {
    0% { left: -75%; }
    100% { left: 125%; }
}

/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: hsl(200, 40%, 95%);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: #2C3E50;
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-thin);
  line-height: normal;
  transition: all 0.3s;
  padding: 12px 28px;
  font-family: var(--font-sans);
}

.custom-btn:hover {
  background: var(--color-frost);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.custom-border-btn:hover {
  background: var(--white-color);
  color: var(--secondary-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.custom-btn-italic {
  font-style: italic;
}

@media screen and (min-width: 991px) {
  .hero-section {
    height: 100vh;
  }
}

.hero-section h1 {
  color: var(--white-color);
}

.small-text {
  color: var(--secondary-color);
}

.hero-section .custom-border-btn {
  border: 2px solid #C5D3DD;
  color: #C5D3DD;
  transition: 0.3s ease;
}

.hero-section .custom-border-btn:hover {
  background: rgba(185, 228, 255, 0.15);
  border-color: #8FD3FF;
  color: #FFFFFF;
}



.hero-section .container {
  position: relative;
  z-index: 9;
}

@media screen and (max-width: 991px) {
  .hero-section {
    padding-top: 148px;
    padding-bottom: 100px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 38px;
  }

  h4 {
    font-size: 22px;
  }

  .hero-section::after {
    width: 200px;
    height: 200px;
  }
}  

/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  position: relative;
  min-height: 100vh;
  background: url("images/home.png") center/cover no-repeat;
  background-color: var(--dark-color);
  overflow: hidden;
  text-align: center;
}

.hero-section::after {
background-color: rgba(0, 0, 0, 0.5);  /* semi-transparent dark */
  border-radius: var(--border-radius-medium);
  content: "";
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-55%, -50%) rotate(45deg);
  width: 250px;
  height: 350px;
  pointer-events: none;
}

/* Target only the "Our Story" button */
.hero-section .custom-btn.custom-border-btn:first-of-type {
    margin-top: 40px;   /* Moves it down */

}

@media screen and (min-width: 991px) {
  .hero-section {
    height: 100vh;
  }
}

.hero-section h1 {
  color: var(--white-color);
}

.hero-section h1 {
    letter-spacing: 0.5px;
}

.hero-section h1 {
    color: #ffffff;
    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.35),   /* edge definition */
        0 6px 18px rgba(0, 0, 0, 0.35); /* soft depth */
}

.small-text {
  color: var(--secondary-color);
}

/* Base button weight + soft glow */
.hero-section .custom-border-btn {
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: 0 0 0 1px rgba(143, 211, 255, 0.35);
    transition: all 0.25s ease;
}

/* Primary emphasis: Our Story */
.hero-section .custom-border-btn:first-child {
    font-weight: 600;
    box-shadow:
        0 6px 18px rgba(143, 211, 255, 0.45);
}

.hero-section .custom-border-btn {
  border: 2px solid #C5D3DD;
  color: #C5D3DD;
  transition: 0.3s ease;
}


.hero-section .custom-border-btn {
  background: rgba(185, 228, 255, 0.15);
  border-color: #8FD3FF;
  color: #FFFFFF;
}

.hero-section .custom-border-btn {
  box-shadow: 0 0 0 1px rgba(143, 211, 255, 0.35);
}

.hero-section .custom-border-btn:hover {
  background: rgba(185, 228, 255, 0.25);
  border-color: #A6DDFF;
}

.hero-section .container {
  position: relative;
  z-index: 9;
}

.hero-slides {
  width: 100%;
  height: 100%;
  position: absolute !important;
}

.opening-hours-list {
  margin: 0;
  padding: 0;
}

.opening-hours-list li {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  margin-bottom: 10px;
}

.opening-hours-list li .underline {
  background-color: rgba(255, 255, 255, 0.75);
  width: 35%;
  height: 1px;
  margin: auto 15px 0 15px;
}

.hero-section::after {
  animation: floatShape 8s ease-in-out infinite;
}

@media (max-width: 576px) {
  .hero-section::after {
    animation-duration: 6s;
  }
}


/*---------------------------------------
  HERO Mobile Adjustment view       
-----------------------------------------*/

@media (max-width: 576px) {

    /* Hero section spacing */
    .hero-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Title */
    .hero-section h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    /* Images */
    .hero-section img {
        max-width: 100%;
        height: auto;
    }

    /* Specific image scaling */
    .hero-section img[src*="1983"] {
        width: 120px;
        height: auto;
    }

    .hero-section img[src*="crafting"] {
        width: 320px;
        height: auto;
    }

    /* Buttons */
    .hero-section .btn {
        font-size: 13px;
        padding: 8px 14px;
        border-width: 1px;
    }

    /* Reduce extra spacing */
    .hero-section p {
        margin-bottom: 10px;
    }

    .hero-section h4 {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {

    .hero-section::after {
        width: 220px;
        height: 300px;
        top: 52%;
        left: 52%;
        transform: translate(-50%, -50%) rotate(45deg);
        background-color: rgba(0, 0, 0, 0.35);
    }

}
@media (max-width: 576px) {
    .hero-section::after {
        animation: floatShape 6s ease-in-out infinite;
    }
}

@keyframes floatShape {
    0%, 100% { transform: translate(-50%, -50%) rotate(45deg); }
    50% { transform: translate(-50%, -55%) rotate(45deg); }
}

.about-heading {
    position: relative;
    display: inline-block;
    z-index: 2;
}

/* Logo container */
.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

/* Tagline – default (desktop) */
.logo-tagline {
    font-size: 12px;
    letter-spacing: 0.6px;
    color: #777;
    margin-top: 4px;
    line-height: 1.3;
    white-space: nowrap;
}

/* Tablet */
@media (max-width: 992px) {
    .logo-tagline {
        font-size: 11px;
        white-space: normal;
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .logo-icon {
        width: 150px;
    }

    .logo-tagline {
        font-size: 10px;
        line-height: 1.2;
        max-width: 220px;
        color: #888;
    }
}

.team-description {
  font-size: 14px;
  max-width: 750px;
  margin: 10px auto 0;
  line-height: 1.6;
  color: #555;
}

