/* Taxo Maritime Sartoria - Design System & Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --color-navy: #0F172A;
  --color-navy-light: #1E293B;
  --color-navy-dark: #0A0F1D;
  --color-gold: #D4AF37;
  --color-gold-hover: #B59226;
  --color-gold-light: #F9F3DC;
  --color-sea-foam: #F0FDF4;
  --color-white: #FFFFFF;
  --color-text-dark: #1E293B;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: #FAFAFB;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
}

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

ul {
  list-style: none;
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-anchor {
  color: var(--color-gold);
  font-size: 1.8rem;
}

.logo span {
  color: var(--color-gold);
  font-weight: 300;
  font-size: 0.9rem;
  display: block;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold);
}

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

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

.nav-cta {
  background: linear-gradient(135deg, var(--color-gold), #B59226);
  color: var(--color-navy);
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  color: var(--color-navy);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Page Header / Hero Banner */
.page-hero {
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1594938298603-c8148c4dae35?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 10rem 2rem 5rem;
  text-align: center;
  color: var(--color-white);
  border-bottom: 2px solid var(--color-gold);
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
}

/* Section Common */
.section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.section-title .subtitle {
  color: var(--color-gold);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 600;
}

.section-title .divider {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 1rem auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), #B59226);
  color: var(--color-navy);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

/* Hero Section (Index) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--color-white);
  padding: 8rem 2rem 4rem;
}

.hero-content {
  max-width: 800px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  border-radius: 30px;
}

.hero h1 {
  font-size: 3.75rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.hero h1 span {
  color: var(--color-gold);
  font-style: italic;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 650px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Maritime Executive Suit Presentation */
.executive-suit {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.executive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.executive-image {
  position: relative;
}

.executive-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.executive-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.executive-badge .number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.executive-badge .text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.executive-details h3 {
  font-size: 2.2rem;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.executive-details p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-info h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Reviews / Testimonials */
.reviews-section {
  background-color: var(--color-sea-foam);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.review-quote {
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--color-navy);
  margin-bottom: 0.1rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Products Grid & Filters */
.filters-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.65rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  color: var(--color-navy);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-navy);
  color: var(--color-gold);
  border-color: var(--color-navy);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

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

.product-img {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-navy);
  color: var(--color-gold);
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.2rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Contact & Appointment Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 2rem;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 45px;
  height: 45px;
  background: var(--color-sea-foam);
  border: 1px solid var(--color-gold);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.05rem;
  color: var(--color-navy);
}

.info-text p {
  margin: 0;
  font-size: 0.9rem;
}

/* Custom Floating Label Form */
.appointment-form-wrap {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.form-group {
  position: relative;
  margin-bottom: 1.75rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-sans);
  background: transparent;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.floating-label {
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: 0.2s ease all;
}

.form-control:focus ~ .floating-label,
.form-control:not(:placeholder-shown) ~ .floating-label {
  top: 0.3rem;
  font-size: 0.72rem;
  color: var(--color-gold);
  font-weight: 600;
}

select.form-control {
  padding-top: 1rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-check input {
  margin-top: 0.3rem;
}

.form-check label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Custom Map Section */
.map-container {
  margin-top: 4rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  background: var(--color-navy);
}

.map-placeholder {
  position: relative;
  height: 400px;
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1534447677768-be436bb09401?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 2rem;
}

.map-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--color-gold);
  padding: 2rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  max-width: 500px;
}

.map-card h4 {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

/* Legal Pages Styling */
.legal-content {
  background: var(--color-white);
  padding: 4rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.8rem;
  color: var(--color-navy);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-content h3 {
  font-size: 1.3rem;
  color: var(--color-navy-light);
  margin: 1.5rem 0 0.75rem;
}

.legal-content p, .legal-content ul {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.consent-id-box {
  background: var(--color-sea-foam);
  border: 1px dashed var(--color-gold);
  padding: 1.5rem;
  border-radius: 6px;
  margin: 2rem 0;
  text-align: center;
}

.consent-id-box strong {
  color: var(--color-navy);
}

.consent-id-val {
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--color-navy);
  background: var(--color-white);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  display: inline-block;
  margin-top: 0.5rem;
  border: 1px solid var(--color-border);
}

/* GDPR Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  border-top: 2px solid var(--color-gold);
  transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--color-gold);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

/* Footer */
.footer {
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  padding: 5rem 2rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 350px;
}

.footer-title {
  font-size: 1.1rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Scroll Animation Utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.8rem; }
  .executive-grid, .contact-container { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-navy);
    flex-direction: column;
    justify-content: center;
    transition: left 0.3s ease;
  }
  .nav-menu.active { left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2.2rem; }
  .legal-content { padding: 2rem 1.5rem; }
}
