/* Manna Cake - Calgary Custom Cakes
 * Fresh baked custom cakes for all occasions
 * Located in Calgary, Alberta, Canada
 */

:root {
  --primary: #8B6F47;
  --primary-light: #C4A77D;
  --secondary: #F5E6D3;
  --accent: #E8D4C4;
  --text: #4A3728;
  --text-light: #6B5344;
  --white: #FFFFFF;
  --cream: #FDF8F3;
  --shadow: rgba(74, 55, 40, 0.1);
  --shadow-hover: rgba(74, 55, 40, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

/* Header & Navigation */
.header {
  background: var(--white);
  box-shadow: 0 2px 20px var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 95px;
}

.logo img, .logo svg {
  height: 95px;
  width: auto;
  max-width: 180px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

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

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

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* Hero Banner */
.hero {
  margin-top: 80px;
  position: relative;
  height: 400px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 2px solid var(--primary);
}

.hero-btn:hover {
  background: transparent;
  color: var(--white);
}

/* Section Styles */
.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-hover);
}

.product-image {
  height: 250px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}

.product-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
}

.product-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
}

/* Our Story Section */
.story-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--cream) 100%);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
}

.story-image img {
  width: 100%;
  height: auto;
  display: block;
}

.story-text h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--text);
}

.story-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.8;
}

/* Floating Order Button */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.floating-btn a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 5px 25px rgba(139, 111, 71, 0.4);
  transition: all 0.3s;
}

.floating-btn a:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(139, 111, 71, 0.5);
}

.floating-btn svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  background: var(--text);
  color: var(--white);
  padding: 80px 20px 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-contact p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qr-code {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.qr-code img {
  width: 100px;
  height: 100px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    transform: translateY(-150%);
    transition: transform 0.3s;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero {
    height: 350px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .story-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-brand img {
    margin: 0 auto 20px;
  }
  
  .qr-code {
    margin: 15px auto 0;
  }
  
  .floating-btn {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-btn a {
    padding: 15px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 300px;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .product-image {
    height: 200px;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
}

/* Page Header */
.page-header {
  margin-top: 80px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  padding: 80px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Menu Page */
.menu-categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.menu-category {
  padding: 12px 30px;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.menu-category:hover,
.menu-category.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--text);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 5px;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text);
}

.contact-item p {
  color: var(--text-light);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 5px 25px var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

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

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: var(--text);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .page-header {
    padding: 60px 20px;
  }
  
  .page-header h1 {
    font-size: 1.8rem;
  }
}

/* Order Page */
.order-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.order-card {
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 25px var(--shadow);
  transition: transform 0.3s;
}

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

.order-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text);
}

.order-card p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .order-options {
    grid-template-columns: 1fr;
  }
  
  .order-card {
    padding: 30px 20px;
  }
}
