@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary: #125B9A;
  --secondary: #0B8494;
  --accent: #F05A7E;
  --light: #FFBE98;
  --dark: #1a1a1a;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #666666;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Work Sans', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--space-sm);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.container-narrow {
  max-width: 900px;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

header {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid rgba(18, 91, 154, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
}

.logo {
  display: block;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

nav {
  display: none;
}

nav ul {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: block;
}

.mobile-menu nav ul {
  flex-direction: column;
  gap: var(--space-md);
  text-align: center;
}

.mobile-menu nav a {
  font-size: 1.5rem;
  color: var(--dark);
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(18, 91, 154, 0.05) 0%, rgba(11, 132, 148, 0.05) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 190, 152, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) 0;
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin-bottom: var(--space-lg);
  color: var(--gray);
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.section {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.card h3 {
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--gray);
  font-size: 0.875rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 280px;
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: var(--space-md);
}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin: var(--space-sm) 0;
}

.team-member {
  text-align: center;
}

.team-image {
  width: 100%;
  height: 320px;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-role {
  color: var(--accent);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  height: 280px;
  background: var(--gray-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.contact-section {
  background: linear-gradient(135deg, rgba(18, 91, 154, 0.03) 0%, rgba(11, 132, 148, 0.03) 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-info {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-item i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 2px;
}

.contact-item-content h4 {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 2px;
}

.contact-item-content p {
  margin: 0;
  font-weight: 500;
}

form {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: var(--space-md);
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--dark);
}

input,
textarea,
select {
  width: 100%;
  padding: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  border: 1px solid rgba(18, 91, 154, 0.2);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: var(--white);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 91, 154, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: var(--space-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.8rem;
  cursor: pointer;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

footer {
  background: var(--primary);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.footer-section h4 {
  color: var(--light);
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.footer-section p {
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--white);
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--light);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  opacity: 0.8;
}

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: var(--space-md);
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 2000;
  box-shadow: var(--shadow-lg);
}

.cookie-notice.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.cookie-content p {
  font-size: 0.875rem;
  margin: 0;
  text-align: center;
}

.cookie-content a {
  color: var(--light);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

.thank-you-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.5rem;
}

.error-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content {
  max-width: 600px;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.legal-content {
  padding: var(--space-xl) 0;
}

.legal-content h1 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.legal-content h2 {
  color: var(--secondary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.legal-content ul {
  padding-left: var(--space-lg);
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }

  nav {
    display: block;
  }

  .burger,
  .mobile-menu {
    display: none;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr 1.5fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-content p {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}