/* ============================================
   FUTURISTIC INTERIOR STYLING - DESIGN SYSTEM
   ============================================ */

:root {
  /* Color Palette */
  --color-bg-primary: #EBE9E4;
  --color-bg-secondary: #FFFFFF;
  --color-text-primary: #222222;
  --color-text-secondary: #666666;
  --color-accent-ui: #D1D1D1;
  --color-accent-highlight: #F57C51;
  --color-glass-bg: rgba(255, 255, 255, 0.1);
  --color-glass-border: rgba(255, 255, 255, 0.2);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout */
  --container-max: 1400px;
  --header-height: 80px;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

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

body {
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-accent-highlight);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(1.4rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-bg-primary);
  z-index: 100;
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  position: relative;
}

.brand-text {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--color-text-primary);
}

.nav-menu {
  display: flex;
  gap: 15px;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-primary);
  position: relative;
  padding: var(--space-sm) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-highlight);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

.burger-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  z-index: 10001;
  position: relative;
}

.burger-line {
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
  transform-origin: center;
}

.burger-toggle.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-toggle.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-bg-secondary);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: right var(--transition-base);
  padding: var(--space-3xl) var(--space-lg);
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-primary);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-accent-ui);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 998;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   HERO BANNERS
   ============================================ */

.hero-banner {
  width: 100vw;
  position: relative;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(235, 233, 228, 0.85);
  z-index: 1;
}

.hero-content {
  max-width: var(--container-max);
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  z-index: 2;
  text-align: center;
}
.section.container{
  max-width: 100%;
}
.footer-container p{color: white}
.hero-text-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.hero-image-wrapper {
  display: none;
}

.hero-title {
  font-size: clamp(1.4rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
  display: flex;
  align-items: center;
  min-height: auto;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--color-text-primary);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BENTO GRID LAYOUT
   ============================================ */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin: 0 auto;
  max-width: 1200px;
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-bg-secondary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.bento-content {
  padding: var(--space-lg);
}

.bento-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.bento-text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */

.glass-card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-glass);
}

.glass-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  background: linear-gradient(to top, rgba(235, 233, 228, 0.95), transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  margin-top: 10px;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--color-accent-highlight);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #E56A3F;
  transform: translateY(-2px);
  color: black;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-accent-ui);
  color: var(--color-text-primary);
}

.btn-secondary:hover {
  background: #B8B8B8;
  color: black;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-section {
  padding: var(--space-3xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--color-text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--color-accent-ui);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast);
}

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

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.checkbox-input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   PRODUCTS
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.product-card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.product-info {
  padding: var(--space-lg);
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.product-description {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent-highlight);
}

/* ============================================
   PORTFOLIO GALLERY
   ============================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--color-bg-secondary);
}

.portfolio-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.05);
}

.golden-ratio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  z-index: 10;
}

.golden-ratio-overlay.active {
  opacity: 1;
}

.ratio-spiral {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  border: 2px solid var(--color-accent-highlight);
  border-radius: 50%;
  animation: spiral-glow 3s ease-in-out infinite;
}

.ratio-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, var(--color-accent-highlight) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-accent-highlight) 1px, transparent 1px);
  background-size: 33.333% 33.333%;
  background-position: 0 0, 0 0;
}

.toggle-ratio-btn {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  z-index: 20;
  transition: all var(--transition-base);
}

.toggle-ratio-btn:hover {
  background: var(--color-accent-highlight);
  color: #FFFFFF;
}

.portfolio-content {
  padding: var(--space-lg);
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.portfolio-philosophy {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@keyframes spiral-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(245, 124, 81, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(245, 124, 81, 0.6);
  }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--color-text-primary);
  color: #FFFFFF;
  padding: var(--space-2xl) var(--space-md);
  margin-top: var(--space-3xl);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.footer-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: #FFFFFF;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent-highlight);
}

.footer-info {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

/* ============================================
   PRIVACY POPUP
   ============================================ */

.privacy-popup {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  max-width: 500px;
  background: var(--color-bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(150%);
  transition: transform var(--transition-base);
}

.privacy-popup.active {
  transform: translateY(0);
}

.privacy-popup-content {
  margin-bottom: var(--space-md);
}

.privacy-popup-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.privacy-popup-text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.privacy-popup-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.date {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* ============================================
   LEGAL PAGES TEXT SIZE
   ============================================ */

.bento-text {
  font-size: 1rem;
  line-height: 1.8;
}

.bento-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

/* Legal pages specific - larger text for Google compliance */
body:has(.legal-page) .bento-text,
.legal-page .bento-text {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--color-text-primary);
}

body:has(.legal-page) .bento-title,
.legal-page .bento-title {
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1023px) {
  .nav-menu {
    display: none;
  }
  
  .burger-toggle {
    display: flex;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .hero-banner {
    min-height: 60vh;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: var(--space-md) 0;
  }
  
  .hero-content {
    padding: var(--space-lg) var(--space-md);
  }
  
  .privacy-popup {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
}

