/* ==========================================================================
   DS CorpBD - V3 Organic Luxury Design
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,800;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary-color: #2c3620; /* Deep Olive Green */
  --primary-light: #445331;
  --accent-color: #c96a4a; /* Terracotta / Warm Earth */
  --bg-color: #fcf9f2; /* Warm Beige / Off-white */
  --bg-secondary: #f4ede1; /* Slightly darker warm beige */
  --text-dark: #1e1e1c; 
  --text-light: #ffffff;
  --text-muted: #5a5a54;
  --card-bg: #ffffff; 
  --border-color: #e3dec9; 
  --transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1); 
  --shadow: 0 12px 24px rgba(44, 54, 32, 0.08);
  --shadow-hover: 0 20px 40px rgba(44, 54, 32, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .nav-brand span {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: 20px; }

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.section { padding: 7rem 0; }
.section:nth-child(even) { background-color: var(--bg-secondary); }

.section-title {
  text-align: center; font-size: 3rem; font-weight: 800;
  margin-bottom: 4rem; position: relative;
}
.section-title::after {
  content: '✦'; display: block; color: var(--accent-color);
  font-size: 1.5rem; margin-top: 10px; opacity: 0.7;
}

.btn {
  display: inline-block; padding: 1rem 2.5rem; font-weight: 700;
  border-radius: 50px; cursor: pointer; transition: var(--transition);
  border: 1px solid transparent; text-align: center; font-size: 0.95rem;
  letter-spacing: 1px; text-transform: uppercase; font-family: 'Lato', sans-serif;
}
.btn-primary {
  background-color: var(--primary-color); color: var(--text-light);
}
.btn-primary:hover {
  background-color: var(--accent-color); transform: translateY(-3px); box-shadow: var(--shadow);
}
.btn-accent {
  background-color: var(--accent-color); color: var(--text-light);
}
.btn-accent:hover {
  background-color: var(--primary-color); transform: translateY(-3px); box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent; border-color: var(--primary-color);
  color: var(--primary-color);
}
.btn-outline:hover { background: var(--primary-color); color: var(--text-light); }

/* Elegant Navbar */
.navbar {
  background-color: rgba(252, 249, 242, 0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky; top: 0; left: 0; width: 100%; z-index: 1000;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.nav-brand { display: flex; align-items: center; gap: 15px; }
.nav-brand img { height: 45px; }
.nav-brand span { font-size: 1.8rem; font-weight: 800; letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-link { font-weight: 600; color: var(--text-dark); font-size: 1rem; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--accent-color); }
.nav-link::after {
  content: ''; position: absolute; width: 0; height: 2px;
  bottom: -5px; left: 50%; transform: translateX(-50%);
  background-color: var(--accent-color); transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 15px; }
.navbar .nav-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--primary-color); }

/* Hero Section - Edge-to-Edge Full Screen */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(rgba(44, 54, 32, 0.5), rgba(44, 54, 32, 0.8)), url('https://images.pexels.com/photos/2802527/pexels-photo-2802527.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat fixed;
  position: relative; overflow: hidden;
  padding: 0; margin-top: -90px; /* Pull up under navbar */
  text-align: center;
}
.hero .container { position: relative; z-index: 2; padding-top: 90px; }
.hero-text { max-width: 1000px; margin: 0 auto; }
.hero .giant-text { font-size: 7.5rem; margin-bottom: 1rem; font-weight: 800; line-height: 1.1; color: #ffffff !important; text-shadow: 0 10px 30px rgba(0,0,0,0.5); letter-spacing: -2px; }
.hero .subtitle-text { font-size: 1.8rem; margin-bottom: 2.5rem; color: #f4ede1 !important; font-family: 'Lato', sans-serif; text-shadow: 0 4px 15px rgba(0,0,0,0.5); font-weight: 300; }
.btn-outline-light { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--primary-color); box-shadow: var(--shadow); }

/* About Snippet */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
.about-image { position: relative; }
.about-image img { border-radius: 250px 250px 20px 20px; box-shadow: var(--shadow); border: 8px solid #fff; }

/* Organic Cards */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.product-card {
  background: var(--card-bg); border-radius: 30px;
  overflow: hidden; transition: var(--transition);
  box-shadow: var(--shadow); border: 1px solid var(--border-color);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.product-img { height: 250px; width: 100%; object-fit: cover; border-radius: 30px 30px 0 0; }
.product-info { padding: 2.5rem 2rem; text-align: center; }
.product-info h3 { font-size: 1.6rem; margin-bottom: 0.8rem; color: var(--primary-color); }
.product-info p { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; margin-bottom: 1rem; border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid var(--border-color); overflow: hidden;
}
.faq-question {
  padding: 1.5rem 2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; color: var(--primary-color); font-size: 1.15rem; font-family: 'Playfair Display', serif;
}
.faq-question i { color: var(--accent-color); transition: transform 0.4s ease; background: var(--bg-secondary); width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.faq-question.active i { transform: rotate(180deg); background: var(--accent-color); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 2rem 2rem; color: var(--text-muted); }

/* Team Section */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 3rem; margin-top: 4rem; }
.team-card { text-align: center; }
.team-img { width: 100%; aspect-ratio: 3/4; object-fit: contain; border-radius: 120px 120px 20px 20px; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.team-info h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.team-info p { color: var(--accent-color); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; }

/* Masonry Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem;
}
.gallery-item { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.6s ease; filter: sepia(0.2) contrast(1.1); }
.gallery-item:hover img { transform: scale(1.05); filter: sepia(0) contrast(1); }
.gallery-item.hidden { display: none; }
.text-center { text-align: center; }

/* Footer */
.footer { background: var(--primary-color); color: rgba(255,255,255,0.7); padding: 5rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4rem; margin-bottom: 4rem; }
.footer-col h4 { font-size: 1.4rem; margin-bottom: 2rem; color: #fff; position: relative; display: inline-block; }
.footer-col h4::after { content: ''; position: absolute; width: 50%; height: 2px; background: var(--accent-color); bottom: -5px; left: 0; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { transition: var(--transition); }
.footer-links a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }
.footer .nav-brand span { color: #fff; }

/* Support Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(44, 54, 32, 0.7); backdrop-filter: blur(5px);
  display: flex; justify-content: center; align-items: center; z-index: 2000;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--bg-color); border-radius: 30px; padding: 3.5rem; width: 90%; max-width: 500px; position: relative;
  transform: translateY(20px); transition: var(--transition); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); border: 1px solid var(--border-color);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 20px; right: 25px; font-size: 1.8rem; cursor: pointer; color: var(--text-muted); }
.modal-close:hover { color: var(--accent-color); }
.modal-title { color: var(--primary-color); margin-bottom: 2rem; font-size: 2.2rem; text-align: center; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-dark); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 1rem; border: 2px solid var(--border-color); border-radius: 12px; font-family: inherit; transition: var(--transition); background: #fff;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 4px rgba(201, 106, 74, 0.1); }

/* Page Header */
.page-header { padding: 8rem 0 5rem; background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); text-align: center; }
.page-header h1 { font-size: 4rem; margin-bottom: 1rem; }
.page-header p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 3.5rem; }
  .about-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .about-image img { border-radius: 30px; margin: 0 auto; max-width: 500px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .navbar .nav-toggle { display: block; }
  .nav-links.active {
    display: flex; flex-direction: column; position: absolute; top: 90px; left: 0; width: 100%;
    background: var(--bg-color); padding: 2rem 0; border-bottom: 1px solid var(--border-color); gap: 15px; box-shadow: var(--shadow);
  }
  .nav-actions.active {
    display: flex; flex-direction: column; position: absolute; top: 320px; left: 0; width: 100%;
    background: var(--bg-color); padding: 0 0 2rem; border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow);
  }
  .hero-text { padding: 2rem 1.5rem; }
  .hero h1 { font-size: 2.8rem; }
  .page-header h1 { font-size: 3rem; }
}
