/* --- CSS Reset & Variables --- */
:root {
    --brand-red: #D92E34;
    --brand-yellow: #F7C02B;
    --dark-text: #1a1a1a;
    --body-text: #4c4c4c;
    --bg-cream: #FFFBF2;
    --bg-mint: #E6F4F1;
    --bg-peach: #FFEAE3;
    --bg-yellow-light: #FFF8E1;
    --stroke-color: #E6E6E6;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Figtree', sans-serif;
    --transition-smooth: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--body-text);
    background-color: var(--bg-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- General Components --- */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.cta-button.primary {
    background-color: var(--brand-red);
    color: white;
}
.cta-button.primary:hover {
    background-color: #b82227;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(217, 46, 52, 0.2);
}

/* --- Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: all 0.3s ease-out;
}
.main-header.scrolled-alt, .main-header.scrolled {
    background-color: rgba(255, 251, 242, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo img {
    height: 45px;
}
.main-nav {
    display: flex;
    gap: 2.5rem;
}
.main-nav a {
    text-decoration: none;
    font-weight: 600;
    color: var(--dark-text);
    position: relative;
    transition: color 0.3s ease;
}
.main-nav a.active {
    color: var(--brand-red);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-red);
    transition: width 0.3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cart-button {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-text);
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--brand-red);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cart-badge.visible {
    transform: scale(1);
}
/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100%;
  background-color: white;
  box-shadow: -4px 0 15px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 200;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-nav.open {
  right: 0;
}
.mobile-nav a {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--dark-text);
  text-decoration: none;
}

.mobile-nav-toggle { display: none; }
.header-cta {
    display: inline-flex;
}

/* --- Page Hero Section --- */
.page-hero-section {
    padding: 10rem 0 6rem 0;
    text-align: center;
    color: white;
    background: radial-gradient(circle, #e74b51 0%, #a52327 100%);
}
.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}
.page-hero-subtitle {
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto;
}

/* --- Product Gallery Section --- */
.product-gallery-section {
    padding: 6rem 0;
}
.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}
.filter-btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--stroke-color);
    background-color: transparent;
    color: var(--body-text);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.filter-btn:hover {
    background-color: var(--bg-peach);
    border-color: var(--bg-peach);
}
.filter-btn.active {
    background-color: var(--brand-red);
    color: white;
    border-color: var(--brand-red);
}
.product-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.product-card.hide {
    display: none;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--brand-yellow);
  color: var(--dark-text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
}


/* --- Product Card Styles --- */
.product-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding-bottom: 2rem;
    transition: var(--transition-smooth);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.product-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}
.bg-leci { background-color: var(--bg-peach); }
.bg-stick { background-color: var(--bg-yellow-light); }
.bg-greek { background-color: #E3F2FF; }

.product-card-image {
    width: 350px;
    height: 350px;
    margin: 2rem auto 1.5rem auto;
    display: block;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}
.product-card:hover .product-card-image {
    transform: scale(1.1) rotate(3deg);
}
.product-card-content {
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    background: white;
}
.product-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}
.product-card-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-detail {
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: none;
    position: relative;
}
.btn-detail::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--brand-red);
    transition: width 0.3s ease;
}
.btn-detail:hover::after {
    width: 100%;
}
.btn-add-to-cart {
    background-color: var(--brand-red);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-add-to-cart:hover {
    transform: scale(1.1);
    background-color: #b82227;
}

/* --- Footer --- */
.main-footer {
    padding: 6rem 0 2rem 0;
    background-color: var(--dark-text);
    color: rgba(255,255,255,0.7);
}
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-logo {
    height: 50px;
    margin-bottom: 1rem;

}
.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    color: white;
    margin-bottom: 1.5rem;
}
.footer-links a, .footer-contact a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}
.footer-links a:hover, .footer-contact a:hover {
    color: white;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}
.footer-social {
    display: flex;
    gap: 1rem;
}
.footer-social a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}
.footer-social a:hover {
    color: white;
}

/* --- Toast Notification --- */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--dark-text);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transform: translateY(200%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 200;
}
.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .main-nav, .header-cta { display: none; }
    .mobile-nav-toggle { display: flex; flex-direction: column; gap: 6px; background: none; border: none; width: 24px; cursor: pointer; }
    .mobile-nav-toggle span { display: block; height: 2px; background-color: var(--dark-text); width: 100%; transition: all 0.3s ease; }
    .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
    .product-filters {
        flex-wrap: wrap;
    }
}
