/* --- GENERAL RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #f4f1ec;
  color: #111;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 2s ease;
}

body.loaded {
  opacity: 1;
}


/* --- HEADER --- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: linear-gradient(90deg, #0a0a0a, #1a1a1a);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
}

.navbar .nav-links {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: gold;
}


/* --- MENU ICON (MOBILE) --- */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- TABS --- */

 .tabIcon {
 	display: none;
  	font-size: 2.5rem; 
  	text-align: center; 
  	margin-bottom: 10px;
  	cursor: pointer;
  }

.tabs {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  gap: 15px;
}

.tab {
  padding: 10px 25px;
  cursor: pointer;
  border-radius: 25px;
  background: #eee;
  transition: all 0.3s ease;
}

.tab.active {
  background: linear-gradient(45deg, #ffd700, #ffb400);
  color: #fff;
  font-weight: 600;
}

/* --- TAB CONTENTS --- */
.tab-contents {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Tabs & Cards content fade-in */
.tab-content, .feature-content, .money-content, .message, .content {
  opacity: 0;
  padding: 20px;
  transform: translateY(20px);
  transition: all 0.5s ease-in-out;
  display: none; /* hide initially */
}

.tab-content.active,
.feature-content.active,
.section-content,
.money-content.active,
.message.active,
.content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.card-options {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-content: center;
}

.card-option {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  gap: 20px;
  padding: 20px;
  transform: translateY(20px);
  transition: all 0.5s ease-in-out;
  border: 1px solid gold;
}

.card-option.active {
  display: flex;
  flex-wrap: wrap;
  max-height: 500px; /* controls height */
  overflow-y: auto; /* enables vertical scroll */
  opacity: 1;
  padding-right: 10px; /* space for scrollbar */
  scroll-behavior: smooth;
  transform: translateY(0);
}

.card-option::-webkit-scrollbar {
	display: none;
}

.show {
	text-align: center;
	cursor: pointer;
	margin: 20px;
	padding: 20px;
	transition: all 0.6s ease-in-out;
	border: 1px solid gold;
	border-radius: 15px;
	width: 25%;
	background-color: #fff;
	scroll-snap-align: start;
	scroll-behavior: smooth;
}

.show:hover {
	transform: translateY(-5px);
	opacity: 0.9;
}

.show img {
	transition: transform 0.4s ease;
}

.show:hover img {
	transform: scale(1.08);
}

.show-text {
	max-width: 28%;
}

.image-box img {
	width: 100%;
	height: auto;
	display: block;
	transition: opacity .6s ease, transform .8s ease;
}

.backview {
	position: absolute;
	border-radius: 16px;
	top: 0;
	left: 0;
	opacity: 0;
}

.image-box:hover .backview {
	opacity: 1;
	transform: scale(1.08);
	border-radius: 16px;
}

.image-box:hover .frontview {
	opacity: 0;
}

 .image-box{
position:relative;
overflow:hidden;
}

.cart-thing {
	display: flex;
}

.cart-count {
	font-size: 12px;
	color: red;
	padding: 0;
}

/* button hidden state */
.add-to-cart{
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translate(-50%, 40px);
  opacity:0;
  background:rgba(0,0,0,0.85);
  background-color: burlywood;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  color:black;
  padding:12px 18px;
  cursor: pointer;
  border-radius:30px;
  font-size:14px;
  backdrop-filter: blur(10px);
  transition:all 0.4s ease;
}

.image-box:hover .add-to-cart{
  transform:translate(-50%, 0);
  opacity:1;
}

.cart-container {
	display: block;
	margin: 10px;
	padding: 10px;

}


.price-tag {
	background-color: white;
	margin: 15px;
	padding: 15px;
}

/* --- PROFILE SECTION --- */
.profile-section {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.profile-card, .profile-card--secondary {
  flex: 1;
  min-width: 280px;
  padding: 25px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.profile-card:hover, .profile-card--secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.profile-card h2 {
  font-family: 'Playfair Display', serif;
  color: #222;
  margin-bottom: 15px;
}

button {
  padding: 10px 25px;
  border: 1px solid;
  border-radius: 50px;
  background: linear-gradient(45deg, #ffd700, #ffb400);
  color: #111;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
	background: black;
	color: white;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* --- DEVELOPMENT SECTION --- */
.layout-cards {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.layout-card {
  padding: 15px 25px;
  border-radius: 50px;
  background: #eee;
  cursor: pointer;
  transition: all 0.3s ease;
}

.layout-card:hover {
  background: linear-gradient(45deg, #ffd700, #ffb400);
  color: #fff;
}

/* --- SECTIONS CARDS --- */
.section-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.section-card {
  flex: 1;
  text-align: center;
  min-width: 250px;
  padding: 25px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid gold;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 250px;
  height: 400px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
  position: relative;
}



.section-card.active {
  border: 2px solid gold;
  box-shadow: 0 12px 25px rgba(0,0,0,0.5);
  height: 500px;
  color: white;
  text-shadow: 0 5px 10px rgba(0, 0, 0, 1.0);
  width: 350px;
  transform: scale(1.03);

}



.section-card h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}

/* --- CARDS --- */
.card {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Profile / Feature / Layout Cards */
.profile-card, .feature-card, .layout-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.profile-card:hover,
.feature-card:hover,
.layout-card:hover,
.section-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 25px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #ffd700, #ffb400); /* subtle gold */
  color: #111;
}


.image-overlay {
  position: relative;
}

.image-overlay::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
  border-radius: 15px; /* match the image card */
}


/* --- PRICING --- */
.pricing-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
  justify-content: center;
}

.pricing-card {
  flex: 1;
  max-width: 300px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-card.active {
	border: 1px solid black;
	transform: scale(1.8);
	cursor: pointer;
	transition: all 0.3s ease;
}

.pricing-card:hover {
  background: linear-gradient(45deg, #ffd700, #ffb400);
  color: #fff;
}

.pricing-content {
	opacity: 0;
	max-height: 0;
	overflow: hidden;
}

.pricing-content.active {
	opacity: 1;
	max-height: 400px;
	transition: all 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 15px;
}

.accordion-content.active {
  max-height: 200px; /* adjust based on content */
  padding: 10px 15px;
}


/* --- FEATURES --- */
.feature-cards {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card {
  padding: 15px 25px;
  border-radius: 50px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.feature-card:hover {
  background: linear-gradient(45deg, #ffd700, #ffb400);
  color: #eee;
}

/* --- CONTACT FORM --- */
.contact-form-section form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: auto;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-form-section input {
  padding: 10px;
  border-radius: 50px;
  border: 1px solid #ccc;
}

img {
	width: 100%;
	max-width: 300px;
	border-radius: 12px;
	height: 300px;
}

.modal-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  background: rgba(0,0,0,0.7);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  transform: translateY(-50px);
  transition: transform 0.4s ease;
  color: white;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

/* --- FOOTER --- */
.footer {
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 30px 10px;
}

/* --- MEDIA QUERIES (MOBILE) --- */
@media (max-width: 768px) {

	body {
		overflow-x: hidden;
	}

  .profile-section, .section-cards, .layout-cards, .pricing-options, .feature-cards {
    flex-direction: column;
    gap: 15px;
  }

.card-options {
	min-width: 700px;
}

.card-option {
	display: none;
	scroll-snap-type: y mandatory;
	margin-bottom: 20px;
	max-height: 500px;
	width: 400px;
	border: none;
}

.card-option.active {
   display: flex;
   flex-direction: row;
   padding: 0;
   margin: 5px;
   gap: 5px 0;
   overflow-y: auto;
   scroll-behavior: smooth;
}

.card-option::-webkit-scrollbar {
	display: none;
}

.show {
min-width:150px;
flex-shrink:0;
background:#fff;
border-radius:10px;
overflow:hidden;
scroll-snap-align: start;
}
  .image-box img {
  	width: 100%;
  	display: block;
  }

 

  .menu-icon {
    display: block;
  }

  .tabIcon {
  display: block;
  text-align: center;
  align-content: center;
  text-shadow: 0 10px 20px rgba(0,0,0,1.5);
  }

  .section-card {
  	max-height: 500px;
  }

  .nav-links {
  	opacity: 0;
    flex-direction: column;
    gap: 10px;
    background: #111;
    position: absolute;
    top: 70px;
    right: 5%;
    width: 200px;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateX(100%);
  }

  .nav-links.show {
    transform: translateX(0);
    opacity: 1;
 }

 .tabs {
 	max-height: 0;
 	opacity: 0;
 	margin: auto;
 	padding: auto;
 	transition: transform 0.5s ease, opacity 0.5s ease;
 	transform: translateY(-20px);
 }

 .tabs.active {
 	max-height: 200px;
 	opacity: 1;
 	transform: translateY(0);
 }

 .tab {
 	max-width: 200px;
 	width: 150px;
 	max-height: 50px;
 	margin: 5px;
 	gap: 5px;
 	padding: 10px;
 }

 .tab-content{
 	max-width: 750px;
 }

}
