/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-purple: #5e4576;
  --brand-gold: #e0b37a;
  --text-color: #443c36;
  --light-bg: #fdf8f3;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);

  /* Legacy compatibility */
  --primary-brown: var(--brand-purple);
  --golden-wheat: var(--brand-gold);
  --rich-coffee: var(--brand-purple);
  --cream: var(--light-bg);
  --dark-text: var(--text-color);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

/* Typography */
.double-delight {
  font-family: "Bebas Neue", "Impact", "Arial Black", sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Language Toggle */
.language-toggle {
  z-index: 1000;
  display: flex;
  gap: 10px;
  background: var(--white);
  padding: 5px;
  border-radius: 25px;
  box-shadow: 0 2px 10px var(--shadow);
}

.language-toggle button {
  padding: 8px 20px;
  border: none;
  background: transparent;
  color: var(--dark-text);
  cursor: pointer;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.language-toggle button.active {
  background: var(--primary-brown);
  color: var(--white);
}

.language-toggle button:hover {
  background: var(--golden-wheat);
  color: var(--white);
}

/* Navigation */
.navbar {
  background: var(--brand-purple);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px var(--shadow);
}

.nav-container {
  max-width: 100%;
  margin: 0 2rem;
  padding: 0 01rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

.logo .tagline {
  color: var(--cream);
  font-size: 0.9rem;
  font-style: italic;
}

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

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.nav-menu a:hover {
  color: var(--cream);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(107, 66, 38, 0.7), rgba(139, 69, 19, 0.8)),
    url("assets/images/bakery-main.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h3 {
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--golden-wheat);
  color: var(--dark-text);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
  background: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--rich-coffee);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--primary-brown);
  margin-bottom: 3rem;
  font-style: italic;
}

/* About Section */
.about {
  background: var(--light-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
}

.about-text h3 {
  color: var(--rich-coffee);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-text);
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow);
  flex: 1;
}

.stat-item h4 {
  font-size: 2rem;
  color: var(--primary-brown);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--dark-text);
}

/* Work Section */
.work {
  background: var(--white);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: translateY(-10px);
}

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

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

.work-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(107, 66, 38, 0.95), transparent);
  color: var(--white);
  padding: 2rem;
  transform: translateY(70%);
  transition: transform 0.3s ease;
}

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

.work-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.work-overlay p {
  font-size: 1rem;
}

/* Feature Cards */
.work-item.feature-card {
  background: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.feature-content {
  text-align: center;
  padding: 2rem;
}

.feature-content .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-content h3 {
  color: var(--rich-coffee);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-content p {
  color: var(--dark-text);
  font-size: 1rem;
}

/* Brand Section */
.brand-section {
  background: var(--light-bg);
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
}

.brand-section h3 {
  font-size: 2rem;
  color: var(--rich-coffee);
  margin-bottom: 2rem;
}

.brand-colors {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.color-box {
  width: 150px;
  height: 150px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.color-box:hover {
  transform: scale(1.1);
}

.color-box span {
  color: var(--white);
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Testimonials Section */
.testimonials {
  background: var(--light-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: var(--golden-wheat);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-text);
  margin-bottom: 1rem;
  font-style: italic;
}

.customer-name {
  font-weight: 600;
  color: var(--primary-brown);
  text-align: right;
}

/* Contact Section */
.contact {
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
  font-size: 2rem;
  color: var(--rich-coffee);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-item .icon {
  font-size: 2rem;
}

.info-item h4 {
  color: var(--primary-brown);
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--dark-text);
  line-height: 1.6;
}

.social-links {
  margin-top: 2rem;
}

.social-links h4 {
  color: var(--primary-brown);
  margin-bottom: 1rem;
}

.social-links a {
  display: block;
  color: var(--primary-brown);
  text-decoration: none;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--golden-wheat);
}

/* Contact Form */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid var(--cream);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-brown);
}

.submit-button {
  padding: 1rem 2rem;
  background: var(--primary-brown);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: var(--rich-coffee);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--rich-coffee), var(--primary-brown));
  color: var(--white);
  text-align: center;
  padding: 2rem;
}

.footer p {
  margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--rich-coffee);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content h3 {
    font-size: 1.5rem;
  }

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

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-content {
    grid-template-columns: 1fr;
  }

  .stats {
    flex-direction: column;
  }

  .brand-colors {
    gap: 1rem;
  }

  .color-box {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 600px) {
  .logo h1 {
    font-size: 1.3rem;
  }

  .logo .tagline {
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

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

  .language-toggle {
    top: 10px;
    right: 10px;
  }

  .language-toggle button {
    padding: 6px 15px;
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .uber-button {
    flex-direction: column;
    text-align: center;
  }

  .uber-icon {
    margin-bottom: 1rem;
  }

  .video-container video {
    height: 200px;
  }
}

/* New Section Styles */

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.order-button {
  background: var(--brand-gold) !important;
  color: var(--text-color) !important;
}

.order-button:hover {
  background: var(--brand-purple) !important;
  color: var(--white) !important;
}

/* Video Section */
.video-section {
  background: var(--white);
  padding: 4rem 0;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
}

.video-container video {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* Order Section */
.order-section {
  background: var(--brand-purple);
  padding: 4rem 0;
  color: var(--white);
}

.order-section .section-title,
.order-section .section-subtitle {
  color: var(--white);
}

.best-sellers {
  display: flex;
  flex-direction: row;
  gap: 25px;
  width: 100%;
  justify-content: center;
}

.best-seller-item {
  border-radius: 15px;
}

.order-options {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.uber-button {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 3rem;
  background: var(--white);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.uber-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.uber-icon {
  font-size: 3rem;
}

.uber-button h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--brand-purple);
}

.uber-button p {
  margin: 0;
  color: var(--text-color);
  opacity: 0.8;
}

/* Brand Logo Icon */
.brand-logo {
  font-family: "Bebas Neue", "Impact", "Arial Black", sans-serif !important;
  font-size: 2.5rem !important;
  font-weight: bold;
  color: var(--brand-purple);
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* Footer Updates */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-main {
  flex: 1;
}

.footer-credits {
  text-align: right;
}

.footer-credits p {
  font-size: 0.9rem;
  opacity: 0.9;
  color: var(--light-bg);
}

.tagline-footer {
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Color box updates for background color */
.color-box:last-child span {
  color: var(--text-color) !important;
  text-shadow: none !important;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-credits {
    text-align: center;
  }
}
