:root {
  --primary-color: #1C1C1C;   /* Charcoal Black */
  --secondary-color: #F8EDE3; /* Champagne Cream */
  --accent-color: #e4a0b7;    /* Metallic Gold */
  --text-color: #FAF9F6;      /* Off-white */
}

html,body {
  background: linear-gradient(-120deg,var(--secondary-color),var(--accent-color));
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  zoom:1;
  transform: none;
  width:100%;
  padding: 0;
}

#header{
    display: flex;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.header-text{
  display: none;
}

#navbar{
    background-color: var(--accent-color);
    height: 2.5rem;
    width:60%;
    margin-left: auto;
    margin-right: auto;
    display:flex;
    border-radius:25px;
    transition:width 0.3s ease-in-out;
}

#navbar:hover{
    width:40%;
    cursor: pointer;
}

#navbar ul{
    list-style-type: none;
    gap: 20px;
    width: 100%;
    display: flex;
    height: 100%;
    margin:0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.navlink{
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition:color 0.2s ease-in-out;
}
    
.navlink:hover{
    color:var(--text-color);
}

section{
    max-width: 100%;
}

#home{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 10px;
}

.hero-text p{
  line-height: 1.8;
}

h1, h2, h3 {
  color: var(--accent-color);
  text-align: center;
  font-family: 'Playfair Display', sans-serif;
}

.btn {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--accent-color);
}

.btn-outline{
    margin-left: 15px;
}

#about{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.about-text{
    width: 60%;
    line-height: 1.8;
}

.about-img{
  max-width: 30%;
  max-height: 85%;
}

.about-contact{
    text-align: center;
}

.about-contact a{
    text-decoration: none;
}

.about-contact a:hover{
    text-decoration: underline;
}

.pricing{
  background-color:var(--secondary-color);
  color: var(--primary-color);
  padding: 1rem;
}

.pricing-inner{
  width:100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap:10px;
  line-height: 1.8;
}

.pricing-heading{
  border-bottom:1px solid var(--accent-color);
}

.pricing-card{
  border:1px solid var(--accent-color);
}

.pricing-card li{
  list-style-type: none;
}

.pricing-card li::before{
  content: "►";
  color: var(--accent-color);
  margin-right:3px;
}

.pricing-notes li{
  list-style-type: none;
}

.pricing-notes li:first-child::before{
  content:"1) ";
}

.pricing-notes li:nth-child(2)::before{
  content:"2) "
}

.pricing-notes li:nth-child(3)::before{
  content:"3) "
}

.pricing-notes{
  width:650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cakes-section {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--secondary-color);
}

.cakes-section h2,.pricing-section-heading{
  font-family: 'Playfair Display', serif;
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cakes-intro {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--primary-color);
}

.cake-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.cake-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  max-width: 300px;
  border: 1px solid var(--accent-color);
}

.cake-card:hover {
  transform: scale(1.03);
}

.cake-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cake-card h3 {
  color: var(--accent-color);
  margin-top: 1rem;
}

.cake-card p {
  color: var(--primary-color);
  padding: 0 1rem;
}

.cake-card button {
  margin: 1rem 0;
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.cake-card button:hover {
  background-color: var(--primary-color);
  color: var(--accent-color);
}

#testimonials {
  background: linear-gradient(-90deg, #f8ede3, #fffaf0 40%, #f8ede3);
  padding: 5rem 8%;
  text-align: center;
}

#testimonials h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
}

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #ffffffd9;
  border: 1px solid var(--accent-color);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-card p {
  font-style: italic;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-card span {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer {
  background-color: #2e2e2e;
  color: var(--secondary-color);
  padding: 4rem 8% 2rem;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h2,
.footer h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  color: var(--secondary-color);
  text-decoration: none;
  line-height: 1.6;
}

.footer a:hover {
  color: var(--accent-color);
}

.footer-links ul{
  list-style-type: none;
}

/* Social Links */
.social-links {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:15px;
}

.social-links a {
  display: inline-block;
  margin-right: 0.75rem;
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary-color);
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid var(--accent-color);
  text-align: center;
  padding-top: 1rem;
  font-size: 0.85rem;
}

@media only screen and (max-width:487px){
  #home{
    position: relative;
    margin-top: 0;
    
  }

  .hero-text{
   position: absolute;
   color: var(--text-color);
   font-weight:600;
}

.hero-image{
  min-width: 100%;
  max-height: 600px;
}


}

@media only screen and (min-width:488px){
  .hero-image{
  display: none;
}
}

@media only screen and (min-width:769px){
  .menu-toggle{
    display: none;
  }
  .side-menu{
    display:none;
  }
}

@media only screen and (max-width:768px){
  #navbar{
    min-width: 95%;
    font-size: calc(2rem - 18px);
    display:none;
  }

  #header{
    background-color: var(--text-color);
    margin: 0;
    padding:0;
  }

  .header-text{
    display: block;
    color: var(--accent-color);
    font-size: 1.2rem;
    text-align: center;
    margin: 0 auto;
    padding: 10px 0;
    font-family: 'Playfair Display', sans-serif;
  }

  .menu-toggle {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
            z-index: 1001;
            position: relative;
            font-size: 26px;
        }

  .menu-toggle:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.05);
        }

  .hamburger-line {
            width: 24px;
            height: 3px;
            background: var(--accent-color);
            margin: 2px 0;
            transition: all 0.3s ease;
            transform-origin: center;
        }      

  .menu-toggle.active .hamburger-line:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }      

  .menu-toggle.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }      

   .menu-toggle.active .hamburger-line:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }     

  .side-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.92);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }      

  .side-menu.active {
            opacity: 1;
            visibility: visible;
        }      

  .menu-items {
            list-style: none;
            text-align: center;
            width: 100%;
            max-width: 500px;
        }      

  .menu-items li {
            margin: 25px 0;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease;
        }
      
  .side-menu.active .menu-items li {
            opacity: 1;
            transform: translateY(0);
        }
      
  .side-menu.active .menu-items li:nth-child(1) {
            transition-delay: 0.1s;
        } 
        
  .side-menu.active .menu-items li:nth-child(2) {
            transition-delay: 0.2s;
        }      
        
  .side-menu.active .menu-items li:nth-child(3) {
            transition-delay: 0.3s;
        }      

  .side-menu.active .menu-items li:nth-child(4) {
            transition-delay: 0.4s;
        }      

  .side-menu.active .menu-items li:nth-child(5) {
            transition-delay: 0.5s;
        }
        
  .side-menu.active .menu-items li:nth-child(6) {
            transition-delay: 0.6s;
        }      

  .menu-items a {
            color: var(--text-color);
            text-decoration: none;
            font-size: 32px;
            font-weight: 600;
            display: block;
            padding: 10px 20px;
            border-radius: 50px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }      

  .menu-items a:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            transition: all 0.4s ease;
            z-index: -1;
        }
      
  .menu-items a:hover {
            color: var(--accent-color);
            transform: scale(1.05);
        }      

   .menu-items a:hover:before {
            left: 0;
        }     

  .btn{
    font-size: calc(2rem - 18px);
  }

  #about{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .about-text{
    min-width: 85%;
  }

  .about-image img{
    max-width: 85%;
  }
  .pricing-notes{
    max-width:95%;
  }
}

