/* Custom CSS for Safran Studio */
:root {
  --primary-color: #111111;
  --secondary-color: #c5a059; /* Gold */
  --accent-color: #e5d9c5; /* Beige */
  --bg-light: #f9f6f0; /* Cream */
  --text-dark: #333333;
  --text-light: #ffffff;
  --transition: all 0.3s ease-in-out;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  padding: 15px 0;
  transition: var(--transition);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color) !important;
  letter-spacing: 1px;
}

.navbar-brand span {
  color: var(--secondary-color);
}

.nav-link {
  font-weight: 500;
  color: var(--primary-color) !important;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  position: relative;
  margin: 0 10px;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/hero-bg.png') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.hero-content h1 {
  color: var(--text-light);
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

/* Page Header (inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c2c2c 60%, #3a2e1e 100%);
  padding: 130px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.png') center/cover no-repeat;
  opacity: 0.12;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: #ffffff !important;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header p,
.page-header .lead {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Content Box (privacy policy, about etc.) */
.content-box {
  background: #ffffff;
  border-radius: 4px;
  padding: 50px 50px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.07);
  margin: 50px 0;
}

.content-box h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  border-left: 4px solid var(--secondary-color);
  padding-left: 14px;
}

.content-box ul {
  padding-left: 20px;
  line-height: 2;
}

.content-box ul li {
  margin-bottom: 6px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--accent-color);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.btn-gold {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 12px 35px;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-gold:hover {
  background-color: #a68444;
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline-light {
  padding: 12px 35px;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-outline-light:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.8rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: #666;
  max-width: 600px;
  margin: 15px auto 0;
}

/* Cards */
.product-card {
  background: var(--text-light);
  border: none;
  border-radius: 0;
  transition: var(--transition);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  margin-bottom: 30px;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  transition: var(--transition);
  opacity: 0;
}

.product-card:hover .product-overlay {
  bottom: 0;
  opacity: 1;
}

.card-body {
  padding: 25px 20px;
  text-align: center;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.price {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Feature Icons */
.feature-card {
  text-align: center;
  padding: 40px 20px;
  background: white;
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: var(--secondary-color);
}

.feature-icon {
  font-size: 3.5rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* Counters */
.counter-section {
  background: url('../images/counter-bg.jpg') center/cover fixed;
  position: relative;
  padding: 100px 0;
}

.counter-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.85);
}

.counter-box {
  color: var(--text-light);
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 30px 0;
}

.counter-num {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--secondary-color);
  margin-bottom: 10px;
  display: block;
}

.counter-text {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--accent-color);
  padding: 80px 0 30px;
  border-top: 5px solid var(--secondary-color);
}

.footer h5 {
  color: var(--text-light);
  margin-bottom: 25px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

.footer p {
  color: #a0a0a0;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer a {
  color: #a0a0a0;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.05);
  color: var(--secondary-color);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
  font-size: 1.2rem;
}

.social-icons a:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px) translateX(0);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 60px;
  padding-top: 25px;
  text-align: center;
  font-size: 14px;
  color: #888;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  line-height: 60px;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Page Headers */
.page-header {
  padding: 160px 0 100px;
  background: linear-gradient(rgba(17,17,17,0.8), rgba(17,17,17,0.8)), url('../images/page-header-bg.jpg') center/cover;
  color: var(--text-light);
  text-align: center;
}

.page-header h1 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 3.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Product Filters */
.filter-sidebar {
  background: white;
  padding: 30px;
  border-radius: 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.filter-sidebar h5 {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
}

.filter-list {
  list-style: none;
  padding: 0;
}

.filter-list li {
  margin-bottom: 12px;
}

.filter-list a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
}

.filter-list a:hover {
  color: var(--secondary-color);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background: rgba(17, 17, 17, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  border: 1px solid var(--secondary-color);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

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

.gallery-icon {
  color: var(--secondary-color);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.gallery-overlay h5 {
  color: white;
  font-size: 1.1rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--secondary-color);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
}

.timeline-content {
  background: white;
  padding: 30px;
  border-radius: 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  width: 45%;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-date {
  position: absolute;
  top: 30px;
  background: var(--secondary-color);
  color: white;
  padding: 5px 15px;
  font-weight: bold;
}

.timeline-item:nth-child(odd) .timeline-date {
  left: -130px;
}

.timeline-item:nth-child(even) .timeline-date {
  right: -130px;
}

/* Contact Info Box */
.contact-info-box {
  background: white;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  text-align: center;
}

.contact-info-box i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.form-control {
  border-radius: 0;
  padding: 12px 15px;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: none;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
  }
  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date {
    position: static;
    display: inline-block;
    margin-bottom: 15px;
  }
}

/* Fade-in-up animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
