/* 
  Theme: Mediterranean Contemporary - Agency Premium Level
  Palette:
  - Sand (Bg 1): #FDFBF7 (Ivory White)
  - Warm Sand (Bg 2): #EFE9DF (Sabbia Calda)
  - Dark Anthracite (Text): #2C2A28
  - Sophisticated Teal (Accent): #1F6F78
  - Dark Teal: #165259
*/

:root {
  --bg-primary: #FDFBF7;
  --bg-secondary: #EFE9DF;
  --text-main: #2C2A28;
  --text-muted: #5E5A54;
  --accent-teal: #1F6F78;
  --accent-teal-dark: #165259;
  --footer-bg: #1B1A19;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  
  --container-width: 1200px;
  --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 40px rgba(31, 111, 120, 0.08);
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
.text-italic { font-style: italic; font-family: var(--font-heading); }
.text-accent { color: var(--accent-teal); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-main);
}
.section-heading {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.section-subheading {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  gap: 8px;
  text-align: center;
}
.btn-sm { padding: 10px 24px; font-size: 0.95rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-icon { padding: 12px; border-radius: 50%; }

.btn-primary {
  background-color: var(--accent-teal);
  color: #fff;
  border: 1px solid var(--accent-teal);
}
.btn-primary:hover {
  background-color: var(--accent-teal-dark);
  border-color: var(--accent-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31, 111, 120, 0.25);
}
.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid rgba(44, 42, 40, 0.2);
}
.btn-outline:hover {
  border-color: var(--text-main);
  background-color: var(--text-main);
  color: #fff;
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  background-color: rgba(253, 251, 247, 0);
  z-index: 100;
  transition: var(--transition-fast);
}
.header.scrolled {
  height: 70px;
  background-color: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44, 42, 40, 0.05);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-teal);
  z-index: 101;
}
.logo-text-group {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1;
}
.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-top: 2px;
}

.main-nav { display: none; }
.nav-list { display: flex; gap: 40px; }
.nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding-bottom: 4px;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 1px;
  background-color: var(--accent-teal);
  transition: var(--transition-fast);
}
.nav-list a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; z-index: 101; }
.desktop-cta { display: none; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.line {
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-fast);
  border-radius: 2px;
}
.line-1 { width: 24px; }
.line-2 { width: 16px; }
.menu-toggle.active .line-1 { transform: translateY(4px) rotate(45deg); width: 24px; }
.menu-toggle.active .line-2 { transform: translateY(-4px) rotate(-45deg); width: 24px; }

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background-color: var(--bg-primary);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-content {
  text-align: center;
  transform: translateY(20px);
  transition: var(--transition-slow);
  opacity: 0;
}
.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.1s;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 32px; margin-bottom: 60px; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-main);
}
.mobile-cta-btn {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-teal);
  border-bottom: 1px solid var(--accent-teal);
  padding-bottom: 4px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-bg-shape {
  position: absolute;
  top: -10%; right: -5%;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, var(--bg-secondary) 0%, rgba(239, 233, 223, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}
.hero-content {
  max-width: 100%;
}
.hero-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: 32px;
}
.hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 48px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Intro */
.intro {
  padding: 80px 0 120px;
}
.intro-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.4;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Services */
.services {
  padding: 0 0 120px;
}
.services-block {
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.services-block:last-child { margin-bottom: 0; }
.category-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}
.category-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service-card {
  background-color: #fff;
  border: 1px solid rgba(44, 42, 40, 0.04);
  padding: 32px;
  border-radius: 20px;
  transition: var(--transition-slow);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 111, 120, 0.1);
}
.service-card-top {
  margin-bottom: 20px;
}
.service-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
  background: var(--bg-secondary);
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.service-title {
  font-size: 1.35rem;
  font-family: var(--font-heading);
}
.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* Experience */
.experience {
  background-color: var(--bg-secondary);
  padding: 120px 0;
  border-radius: 40px;
  margin: 0 16px 120px;
}
.experience-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
.experience-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature-item {
  display: flex;
  gap: 20px;
}
.feature-bullet {
  width: 12px; height: 12px;
  background-color: var(--accent-teal);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.feature-content h4 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.feature-content p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Contact */
.contact-section {
  padding-bottom: 120px;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.info-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--accent-teal);
  margin-bottom: 16px;
}
.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(44, 42, 40, 0.1);
  font-size: 1.1rem;
}
.schedule-row:last-child { border-bottom: none; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--text-main);
  margin-bottom: 24px;
}
.contact-link svg { color: var(--accent-teal); }
.address-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.address-line svg {
  color: var(--accent-teal);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-map {
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-secondary);
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--bg-primary);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(253, 251, 247, 0.1);
  padding-bottom: 60px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-teal);
}
.footer-claim {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.3;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links a {
  color: rgba(253, 251, 247, 0.7);
  font-size: 0.95rem;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(253, 251, 247, 0.5);
  text-align: center;
}

.promoweb-credit a {
  color: #fff;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.promoweb-credit a:hover {
  border-color: #fff;
}
.heart-icon {
  display: inline-block;
  color: #e74c3c;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Reveal Animations */
[data-reveal] {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal="fade-up"] { transform: translateY(30px); }
[data-reveal="fade-right"] { transform: translateX(-30px); }
[data-reveal="fade-left"] { transform: translateX(30px); }

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0);
}

/* Responsive */
@media (min-width: 768px) {
  .services-grid.two-cols { grid-template-columns: repeat(2, 1fr); }
  .services-grid.four-cols { grid-template-columns: repeat(2, 1fr); }
  
  .experience { padding: 120px 40px; margin: 0 24px 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .hero-container { grid-template-columns: 1fr 1fr; gap: 60px; }
  .menu-toggle { display: none; }
  .mobile-cta { display: none; }
  .desktop-cta { display: inline-flex; }
  .main-nav { display: block; }
  
  .hero { min-height: 90vh; }
  .services-block { grid-template-columns: 300px 1fr; gap: 60px; }
  .services-block-header { position: sticky; top: 120px; height: fit-content; }
  .services-grid.four-cols { grid-template-columns: repeat(2, 1fr); }
  
  .experience-container { grid-template-columns: 1fr 1fr; align-items: center; }
  .contact-wrapper { grid-template-columns: 1fr 1fr; align-items: center; }
  .contact-map { height: 500px; }
}
