/* Fyloresta Kitchen & Accessories - Main Stylesheet */

/* CSS Variables */
:root {
  /* Colors */
  --fyloresta-primary: #411530;
  --fyloresta-secondary: #d1512d;
  --fyloresta-tertiary: #f5c7a9;
  --fyloresta-light: #f5e8e4;
  --fyloresta-white: #ffffff;

  /* Spacing */
  --fyloresta-space-xs: 0.5rem;
  --fyloresta-space-sm: 1rem;
  --fyloresta-space-md: 2rem;
  --fyloresta-space-lg: 4rem;
  --fyloresta-space-xl: 6rem;

  /* Typography */
  --fyloresta-font-primary: 'Marcellus', serif;
  --fyloresta-font-secondary: 'Mulish', sans-serif;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Mulish:wght@300;400;600;700&display=swap');

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fyloresta-font-secondary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fyloresta-primary);
  background-color: var(--fyloresta-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fyloresta-font-primary);
  margin-bottom: var(--fyloresta-space-sm);
  line-height: 1.3;
  color: var(--fyloresta-primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--fyloresta-space-sm);
}

a {
  color: var(--fyloresta-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--fyloresta-primary);
}

ul,
ol {
  margin-left: var(--fyloresta-space-md);
  margin-bottom: var(--fyloresta-space-sm);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.fyloresta-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--fyloresta-space-sm);
}

/* Header */
.fyloresta-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--fyloresta-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: var(--fyloresta-space-xs) 0;
}

.fyloresta-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fyloresta-logo {
  display: flex;
  align-items: center;
}

.fyloresta-logo-text {
  font-family: var(--fyloresta-font-primary);
  font-size: 1.5rem;
  color: var(--fyloresta-primary);
  margin-left: var(--fyloresta-space-xs);
}

/* Navigation */
.fyloresta-nav {
  display: flex;
  align-items: center;
}

.fyloresta-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
}

.fyloresta-nav-item {
  margin-left: var(--fyloresta-space-md);
}

.fyloresta-nav-link {
  font-family: var(--fyloresta-font-primary);
  font-size: 1rem;
  color: var(--fyloresta-primary);
  position: relative;
}

.fyloresta-nav-link:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--fyloresta-secondary);
  transition: width 0.3s ease;
}

.fyloresta-nav-link:hover:after,
.fyloresta-nav-link.active:after {
  width: 100%;
}

.fyloresta-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1010;
}

.fyloresta-burger-line {
  width: 100%;
  height: 3px;
  background-color: var(--fyloresta-primary);
  transition: all 0.3s ease;
}

/* Hero Section */
.fyloresta-hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: var(--fyloresta-light);
  overflow: hidden;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .fyloresta-hero-image {
    display: none;
  }
}

.fyloresta-hero-content {
  position: relative;
  z-index: 2;
  width: 50%;
}

.fyloresta-hero-title {
  font-size: 3rem;
  margin-bottom: var(--fyloresta-space-sm);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.fyloresta-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--fyloresta-space-md);
  color: var(--fyloresta-secondary);
}

.fyloresta-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
}

/* Button Styles */
.fyloresta-btn {
  display: inline-block;
  padding: var(--fyloresta-space-xs) var(--fyloresta-space-md);
  background-color: var(--fyloresta-secondary);
  color: var(--fyloresta-white);
  border: none;
  border-radius: 4px;
  font-family: var(--fyloresta-font-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fyloresta-btn:hover {
  background-color: var(--fyloresta-primary);
  color: var(--fyloresta-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fyloresta-btn-outline {
  background-color: transparent;
  border: 2px solid var(--fyloresta-secondary);
  color: var(--fyloresta-secondary);
}

.fyloresta-btn-outline:hover {
  background-color: var(--fyloresta-secondary);
  color: var(--fyloresta-white);
}

/* Section Styles */
.fyloresta-section {
  padding: var(--fyloresta-space-lg) 0;
}

.fyloresta-section-title {
  text-align: center;
  margin-bottom: var(--fyloresta-space-lg);
  position: relative;
}

.fyloresta-section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--fyloresta-secondary);
}

/* Products Section */
.fyloresta-products {
  background-color: var(--fyloresta-light);
}

.fyloresta-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fyloresta-space-md);
}

.fyloresta-product-card {
  background-color: var(--fyloresta-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.fyloresta-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.fyloresta-product-image-container {
  position: relative;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
}

.fyloresta-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fyloresta-product-card:hover .fyloresta-product-image {
  transform: scale(1.05);
}

.fyloresta-product-content {
  padding: var(--fyloresta-space-sm);
}

.fyloresta-product-title {
  font-size: 1.25rem;
  margin-bottom: var(--fyloresta-space-xs);
}

.fyloresta-product-price {
  font-size: 1.5rem;
  color: var(--fyloresta-secondary);
  font-weight: 700;
  margin-bottom: var(--fyloresta-space-xs);
}

.fyloresta-product-description {
  font-size: 0.9rem;
  margin-bottom: var(--fyloresta-space-sm);
}

/* Image Zoom Modal */
.fyloresta-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.fyloresta-modal-content {
  max-width: 90%;
  max-height: 90%;
}

.fyloresta-modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.fyloresta-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--fyloresta-white);
  cursor: pointer;
}

/* Features Section */
.fyloresta-features {
  background-color: var(--fyloresta-white);
}

.fyloresta-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--fyloresta-space-md);
}

.fyloresta-feature-card {
  display: flex;
  background-color: var(--fyloresta-light);
  border-radius: 8px;
  padding: var(--fyloresta-space-md);
  transition: all 0.3s ease;
}

.fyloresta-feature-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.fyloresta-feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin-right: var(--fyloresta-space-sm);
  background-color: var(--fyloresta-tertiary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fyloresta-feature-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--fyloresta-primary);
}

.fyloresta-feature-content {
  flex-grow: 1;
}

.fyloresta-feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--fyloresta-space-xs);
}

/* About Page */
.fyloresta-about-hero {
  height: 50vh;
  min-height: 300px;
  background-color: var(--fyloresta-primary);
  color: var(--fyloresta-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fyloresta-about-hero h1 {
  color: var(--fyloresta-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.fyloresta-about-mission {
  background-color: var(--fyloresta-light);
}

.fyloresta-about-mission-inner {
  display: flex;
  align-items: center;
}

.fyloresta-about-mission-content {
  flex: 1;
  padding-right: var(--fyloresta-space-md);
}

.fyloresta-about-mission-image {
  flex: 1;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

.fyloresta-about-mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fyloresta-about-history {
  position: relative;
}

.fyloresta-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--fyloresta-space-md) 0;
}

.fyloresta-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--fyloresta-tertiary);
}

.fyloresta-timeline-item {
  position: relative;
  width: 50%;
  padding: var(--fyloresta-space-sm) var(--fyloresta-space-md);
  margin-bottom: var(--fyloresta-space-md);
}

.fyloresta-timeline-item:nth-child(odd) {
  left: 0;
  padding-right: var(--fyloresta-space-lg);
  text-align: right;
}

.fyloresta-timeline-item:nth-child(even) {
  left: 50%;
  padding-left: var(--fyloresta-space-lg);
}

.fyloresta-timeline-dot {
  position: absolute;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--fyloresta-secondary);
}

.fyloresta-timeline-item:nth-child(odd) .fyloresta-timeline-dot {
  right: -10px;
}

.fyloresta-timeline-item:nth-child(even) .fyloresta-timeline-dot {
  left: -10px;
}

.fyloresta-timeline-date {
  color: var(--fyloresta-secondary);
  font-weight: 700;
  margin-bottom: var(--fyloresta-space-xs);
}

/* Services Page */
.fyloresta-services-hero {
  height: 50vh;
  min-height: 300px;
  background-color: var(--fyloresta-secondary);
  color: var(--fyloresta-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fyloresta-services-hero h1 {
  color: var(--fyloresta-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.fyloresta-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--fyloresta-space-md);
}

.fyloresta-service-card {
  background-color: var(--fyloresta-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.fyloresta-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.fyloresta-service-image {
  height: 250px;
}

.fyloresta-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fyloresta-service-content {
  padding: var(--fyloresta-space-md);
}

.fyloresta-service-title {
  font-size: 1.5rem;
  margin-bottom: var(--fyloresta-space-sm);
}

.fyloresta-service-steps {
  margin-top: var(--fyloresta-space-md);
}

.fyloresta-step {
  display: flex;
  align-items: center;
  margin-bottom: var(--fyloresta-space-sm);
}

.fyloresta-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--fyloresta-tertiary);
  color: var(--fyloresta-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  margin-right: var(--fyloresta-space-sm);
}

/* Contact Page */
.fyloresta-contact-hero {
  height: 50vh;
  min-height: 300px;
  background-color: var(--fyloresta-tertiary);
  color: var(--fyloresta-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fyloresta-contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fyloresta-space-lg);
}

.fyloresta-contact-info {
  background-color: var(--fyloresta-light);
  padding: var(--fyloresta-space-md);
  border-radius: 8px;
}

.fyloresta-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--fyloresta-space-md);
}

.fyloresta-contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--fyloresta-tertiary);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: var(--fyloresta-space-sm);
}

.fyloresta-contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--fyloresta-primary);
}

.fyloresta-contact-detail {
  flex-grow: 1;
}

.fyloresta-contact-label {
  font-weight: 700;
  margin-bottom: var(--fyloresta-space-xs);
}

.fyloresta-form {
  padding: var(--fyloresta-space-md);
  background-color: var(--fyloresta-white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fyloresta-form-group {
  margin-bottom: var(--fyloresta-space-md);
}

.fyloresta-form-label {
  display: block;
  margin-bottom: var(--fyloresta-space-xs);
  font-weight: 700;
}

.fyloresta-form-input,
.fyloresta-form-textarea {
  width: 100%;
  padding: var(--fyloresta-space-xs);
  border: 1px solid var(--fyloresta-tertiary);
  border-radius: 4px;
  font-family: var(--fyloresta-font-secondary);
  transition: all 0.3s ease;
}

.fyloresta-form-input:focus,
.fyloresta-form-textarea:focus {
  border-color: var(--fyloresta-secondary);
  outline: none;
  box-shadow: 0 0 5px rgba(209, 81, 45, 0.3);
}

.fyloresta-form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Privacy Page */
.fyloresta-privacy-hero {
  height: 30vh;
  min-height: 200px;
  background-color: var(--fyloresta-primary);
  color: var(--fyloresta-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fyloresta-privacy-hero h1 {
  color: var(--fyloresta-white);
}

.fyloresta-privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--fyloresta-space-lg) var(--fyloresta-space-md);
}

.fyloresta-privacy-section {
  margin-bottom: var(--fyloresta-space-lg);
}

.fyloresta-privacy-section h2 {
  margin-bottom: var(--fyloresta-space-md);
}

/* Footer */
.fyloresta-footer {
  background-color: var(--fyloresta-primary);
  color: var(--fyloresta-white);
  padding: var(--fyloresta-space-lg) 0 var(--fyloresta-space-md);
}

.fyloresta-footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--fyloresta-space-md);
}

.fyloresta-footer-column h4 {
  color: var(--fyloresta-white);
  margin-bottom: var(--fyloresta-space-md);
  position: relative;
}

.fyloresta-footer-column h4:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--fyloresta-secondary);
}

.fyloresta-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fyloresta-footer-link {
  margin-bottom: var(--fyloresta-space-xs);
}

.fyloresta-footer-link a {
  color: var(--fyloresta-tertiary);
}

.fyloresta-footer-link a:hover {
  color: var(--fyloresta-white);
}

.fyloresta-footer-bottom {
  margin-top: var(--fyloresta-space-lg);
  padding-top: var(--fyloresta-space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: var(--fyloresta-tertiary);
}

/* Thank You Page */
.fyloresta-thank-you {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--fyloresta-space-md);
  background-color: var(--fyloresta-light);
}

.fyloresta-thank-you-icon {
  width: 100px;
  height: 100px;
  background-color: var(--fyloresta-secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--fyloresta-space-md);
}

.fyloresta-thank-you-icon svg {
  width: 50px;
  height: 50px;
  fill: var(--fyloresta-white);
}

.fyloresta-thank-you h1 {
  margin-bottom: var(--fyloresta-space-sm);
}

.fyloresta-thank-you p {
  margin-bottom: var(--fyloresta-space-md);
  max-width: 600px;
}

/* Media Queries */
@media (max-width: 1200px) {
  .fyloresta-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fyloresta-features-grid,
  .fyloresta-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fyloresta-footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .fyloresta-space-lg {
    --fyloresta-space-lg: 3rem;
  }

  .fyloresta-space-xl {
    --fyloresta-space-xl: 4.5rem;
  }

  .fyloresta-hero {
    height: auto;
    padding: var(--fyloresta-space-lg) 0;
  }

  .fyloresta-hero-content {
    width: 100%;
    text-align: center;
  }

  .fyloresta-hero-image {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: var(--fyloresta-space-md);
  }

  .fyloresta-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fyloresta-features-grid {
    grid-template-columns: 1fr;
  }

  .fyloresta-about-mission-inner {
    flex-direction: column;
  }

  .fyloresta-about-mission-content {
    padding-right: 0;
    margin-bottom: var(--fyloresta-space-md);
  }

  .fyloresta-services-grid {
    grid-template-columns: 1fr;
  }

  .fyloresta-contact-section {
    grid-template-columns: 1fr;
  }

  .fyloresta-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Navigation for tablets */
  .fyloresta-nav-list {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--fyloresta-white);
    flex-direction: column;
    padding: 80px var(--fyloresta-space-md) var(--fyloresta-space-md);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .fyloresta-nav-list.active {
    right: 0;
    display: flex;
  }

  .fyloresta-nav-item {
    margin: var(--fyloresta-space-sm) 0;
  }

  .fyloresta-burger {
    display: flex;
  }

  .fyloresta-burger.active .fyloresta-burger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .fyloresta-burger.active .fyloresta-burger-line:nth-child(2) {
    opacity: 0;
  }

  .fyloresta-burger.active .fyloresta-burger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .fyloresta-space-md {
    --fyloresta-space-md: 1.5rem;
  }

  .fyloresta-space-lg {
    --fyloresta-space-lg: 2.5rem;
  }

  .fyloresta-products-grid {
    grid-template-columns: 1fr;
  }

  .fyloresta-timeline:before {
    left: 30px;
  }

  .fyloresta-timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
  }

  .fyloresta-timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 0;
    text-align: left;
  }

  .fyloresta-timeline-item:nth-child(even) {
    left: 0;
  }

  .fyloresta-timeline-item:nth-child(odd) .fyloresta-timeline-dot {
    left: 20px;
    right: auto;
  }

  .fyloresta-timeline-item:nth-child(even) .fyloresta-timeline-dot {
    left: 20px;
  }

  .fyloresta-footer-inner {
    grid-template-columns: 1fr;
    gap: var(--fyloresta-space-md);
  }

  /* Navigation for mobile */
  .fyloresta-nav-list {
    width: 85%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .fyloresta-space-sm {
    --fyloresta-space-sm: 0.75rem;
  }

  .fyloresta-space-md {
    --fyloresta-space-md: 1.25rem;
  }

  .fyloresta-space-lg {
    --fyloresta-space-lg: 2rem;
  }

  .fyloresta-hero-title {
    font-size: 2rem;
  }

  .fyloresta-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  /* Navigation for small mobile */
  .fyloresta-nav-list {
    width: 100%;
  }
}

@media (max-width: 320px) {
  body {
    font-size: 12px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .fyloresta-space-sm {
    --fyloresta-space-sm: 0.5rem;
  }

  .fyloresta-space-md {
    --fyloresta-space-md: 1rem;
  }

  .fyloresta-logo-text {
    font-size: 1.2rem;
  }
}
