/* 
   style.css - Coastal Breezy Beach House Italian Furniture Store
   Palette: Bleached Oak (#F5F5F0), Ocean Blue (#3498DB), Sand (#E6C280), White Linen (#FFFFFF)
   Fonts: Quicksand (Headings), Inter (Body)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --bleached-oak: #F5F5F0;
  --ocean-blue: #3498DB;
  --ocean-blue-deep: #217DBB;
  --ocean-blue-light: #EBF5FB;
  --sand: #E6C280;
  --sand-dark: #C89D4B;
  --sand-light: #F9F3E6;
  --white-linen: #FFFFFF;
  --text-dark: #2C3E50;
  --text-medium: #5D6D7E;
  --text-light: #85929E;
  --border-color: rgba(52, 152, 219, 0.12);
  --shadow-soft: 0 10px 40px rgba(44, 62, 80, 0.05);
  --shadow-hover: 0 20px 50px rgba(44, 62, 80, 0.12);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --font-headings: 'Quicksand', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Base Styles & Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--white-linen);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Helpers */
.text-center { text-align: center; }
.section-subtitle {
  font-family: var(--font-headings);
  color: var(--ocean-blue);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--sand);
  margin: 1rem auto 0;
}
.section-title.left-align::after {
  margin: 1rem 0 0 0;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 8rem 0;
}
.bg-light {
  background-color: var(--bleached-oak);
}

/* Glassmorphism Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}
.main-header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: var(--transition-smooth);
}
.main-header.scrolled .header-container {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 1px;
}
.logo span {
  color: var(--ocean-blue);
}
.logo-icon {
  margin-right: 10px;
  color: var(--sand);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ocean-blue);
  transition: var(--transition-smooth);
}
.nav-link:hover {
  color: var(--ocean-blue);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: var(--ocean-blue);
}

.header-cta {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--ocean-blue);
  color: var(--white-linen);
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 600;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}
.header-cta:hover {
  background: transparent;
  border-color: var(--ocean-blue);
  color: var(--ocean-blue);
  box-shadow: none;
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  position: absolute;
  transition: var(--transition-smooth);
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 22px; }

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Premium Hero Section */
.hero {
  height: 100vh;
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bleached-oak);
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate ease-in-out;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(245, 245, 240, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}
.hero-title span {
  color: var(--ocean-blue);
  background: linear-gradient(120deg, var(--ocean-blue), var(--sand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  max-width: 550px;
}
.btn-group {
  display: flex;
  gap: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
}
.btn-primary {
  background: var(--ocean-blue);
  color: var(--white-linen);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}
.btn-primary:hover {
  background: var(--ocean-blue-deep);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--sand);
}
.btn-secondary:hover {
  background: var(--sand);
  color: var(--white-linen);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(230, 194, 128, 0.3);
}

/* Animations */
@keyframes slowZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.1); }
}

/* Grid & Feature Cards (Beach House Layouts) */
.beach-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}
.grid-col-4 { grid-column: span 4; }
.grid-col-6 { grid-column: span 6; }
.grid-col-8 { grid-column: span 8; }
.grid-col-12 { grid-column: span 12; }

.feature-card {
  background: var(--white-linen);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(52, 152, 219, 0.3);
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--ocean-blue);
  margin-bottom: 1.5rem;
}
.feature-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.feature-desc {
  color: var(--text-medium);
}

/* Split Image Section */
.split-section {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.split-image-container {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.split-image-container::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  pointer-events: none;
}
.split-content {
  flex: 1;
}

/* Product Catalog Grid & Filtering */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--bleached-oak);
  border: none;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  color: var(--text-medium);
  transition: var(--transition-smooth);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--ocean-blue);
  color: var(--white-linen);
  box-shadow: 0 6px 15px rgba(52, 152, 219, 0.25);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.product-card {
  background: var(--white-linen);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.product-image-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--bleached-oak);
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.product-card:hover .product-img {
  transform: scale(1.08);
}
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ocean-blue);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.product-info {
  padding: 2rem;
}
.product-category {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.product-name {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.product-price {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ocean-blue);
}

/* Testimonial Section & Carousel Styling */
.testimonial-card {
  background: var(--white-linen);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  max-width: 800px;
  margin: 0 auto;
}
.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 2rem;
  position: relative;
}
.testimonial-quote::before {
  content: '“';
  font-size: 5rem;
  color: rgba(52, 152, 219, 0.1);
  position: absolute;
  top: -40px;
  left: -20px;
  font-family: Georgia, serif;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sand);
}
.author-name {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--text-dark);
}
.author-title {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Appointment Booking Form (Floating Labels) */
.booking-form {
  background: var(--white-linen);
  border-radius: 20px;
  padding: 4rem;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-color);
}
.form-group {
  position: relative;
  margin-bottom: 2.2rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1.2rem 1rem 0.6rem;
  border: 1px solid rgba(44, 62, 80, 0.15);
  border-radius: 8px;
  background-color: var(--bleached-oak);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.form-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-headings);
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition-fast);
  pointer-events: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--ocean-blue);
  background-color: var(--white-linen);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-select:focus ~ .form-label,
.form-select:not([value=""]) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  top: 0.3rem;
  font-size: 0.75rem;
  color: var(--ocean-blue);
}

/* Custom Beach Map Mockup */
.map-mockup {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 450px;
  box-shadow: var(--shadow-hover);
  background-color: var(--bleached-oak);
  border: 1px solid var(--border-color);
}
.map-canvas {
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 80% 20%, #E6C280 20px, transparent 150px),
    radial-gradient(circle at 10% 90%, #EBF5FB 100px, #3498DB 300px);
  position: relative;
  overflow: hidden;
}
.map-road {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
  border: 2px dashed rgba(44, 62, 80, 0.1);
}
.road-1 { top: 50%; left: 0; width: 100%; height: 40px; transform: rotate(-5deg); }
.road-2 { top: 0; left: 60%; width: 40px; height: 100%; transform: rotate(10deg); }
.map-sea {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 50%;
  background: linear-gradient(135deg, #AED6F1 0%, #3498DB 100%);
  border-top-left-radius: 100% 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-linen);
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: 2px;
}
.map-pin {
  position: absolute;
  top: 45%;
  left: 58%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  animation: bounce 2s infinite alternate;
}
.pin-icon {
  font-size: 3rem;
  color: #E74C3C;
  text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.pin-tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: var(--white-linen);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: var(--shadow-hover);
  pointer-events: none;
}
.pin-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--text-dark);
}

@keyframes bounce {
  0% { transform: translate(-50%, -45%); }
  100% { transform: translate(-50%, -55%); }
}

/* Footer */
.main-footer {
  background: var(--text-dark);
  color: var(--white-linen);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--white-linen);
  margin-bottom: 1.5rem;
}
.footer-logo span {
  color: var(--ocean-blue);
}
.footer-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 1rem;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white-linen);
  transition: var(--transition-fast);
}
.social-link:hover {
  background: var(--ocean-blue);
  transform: translateY(-3px);
}
.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--sand);
  position: absolute;
  bottom: 0;
  left: 0;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: var(--text-light);
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--ocean-blue);
  padding-left: 5px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
}
.footer-contact-item i {
  color: var(--sand);
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* GDPR Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
  padding: 1.5rem 0;
  z-index: 9999;
  transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show {
  bottom: 0;
}
.cookie-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.cookie-text {
  font-size: 0.9rem;
  color: var(--text-medium);
  flex: 1;
}
.cookie-text a {
  color: var(--ocean-blue);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 1rem;
}
.btn-cookie {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-headings);
  font-weight: 600;
  transition: var(--transition-fast);
}
.btn-cookie-accept {
  background: var(--ocean-blue);
  color: var(--white-linen);
  border: 1px solid transparent;
}
.btn-cookie-accept:hover {
  background: var(--ocean-blue-deep);
}
.btn-cookie-decline {
  background: transparent;
  color: var(--text-medium);
  border: 1px solid rgba(44, 62, 80, 0.2);
}
.btn-cookie-decline:hover {
  background: rgba(44, 62, 80, 0.05);
}

/* Legal Pages Styling */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.6rem;
}
.legal-content p {
  margin-bottom: 1.2rem;
  color: var(--text-medium);
}
.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: var(--text-medium);
}
.legal-content li {
  margin-bottom: 0.5rem;
}

/* Scroll reveal class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu Active Layout override */
.nav-menu-container {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-section {
    flex-direction: column;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .beach-grid {
    gap: 1.5rem;
  }
  .grid-col-4, .grid-col-6, .grid-col-8 {
    grid-column: span 12;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--white-linen);
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    z-index: 1000;
    transition: var(--transition-smooth);
  }
  .nav-menu-container.active {
    right: 0;
  }
  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .booking-form {
    padding: 2rem;
  }
}
