/* 
Pojiewan in Italia - Main Stylesheet
Created: January 28, 2026
*/


:root {
  
  --primary-blue: #0B3C5D;
  --primary-gold: #D4AF37;
  --secondary-gray: #333F48;
  --secondary-green: #4F6D7A;
  --bg-ivory: #F8F8F2;
  --bg-pearl: #E9EBEE;
  --accent-red: #7D1935;
  --accent-aqua: #328CC1;
  
  
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
  
  
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
}


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

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

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


h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: var(--space-md);
  color: var(--primary-blue);
}

h1 {
  font-size: 2.75rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.75rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.5rem;
  line-height: 1.4;
}

h5 {
  font-size: 1.25rem;
  line-height: 1.5;
}

h6 {
  font-size: 1rem;
  line-height: 1.5;
}

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

a {
  color: var(--accent-aqua);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--primary-blue);
}

strong {
  font-weight: 600;
}


.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
}


.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #0a3050;
  color: white;
}

.btn-secondary {
  background-color: var(--primary-gold);
  color: var(--secondary-gray);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #c09c32;
  color: var(--secondary-gray);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover, .btn-outline:focus {
  background-color: var(--primary-blue);
  color: white;
}


.site-header {
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

.logo {
  height: 60px;
}

.logo img {
  height: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--secondary-gray);
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-menu li a:hover, 
.nav-menu li a:focus {
  color: var(--primary-gold);
}

.nav-menu .has-dropdown:hover .dropdown,
.nav-menu .has-dropdown:focus-within .dropdown {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) 0;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  border-radius: var(--radius-sm);
}

.dropdown li a {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9rem;
}

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

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: var(--space-lg) 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    padding: var(--space-md) var(--space-lg);
  }

  .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .has-dropdown.active .dropdown {
    max-height: 500px;
  }

  .dropdown li a {
    padding-left: var(--space-xl);
  }
}


.hero {
  position: relative;
  min-height: 80vh;
  padding: calc(60px + var(--space-xl)) 0 var(--space-xl);
  display: flex;
  align-items: center;
}

.hero-diagonal {
  position: relative;
  overflow: hidden;
}

.hero-diagonal::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-color: var(--primary-blue);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: -1;
}

.hero-content {
  width: 55%;
  padding-right: var(--space-xxl);
  position: relative;
  z-index: 5;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero-tagline {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--accent-red);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
}

@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding: calc(60px + var(--space-lg)) 0 var(--space-lg);
  }

  .hero-content {
    width: 100%;
    padding-right: 0;
    padding-bottom: var(--space-xl);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-diagonal::before {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
  }

  .hero-image {
    position: relative;
    width: 100%;
    height: 50vh;
    margin-bottom: var(--space-lg);
  }
}


.section {
  padding: var(--space-xxl) 0;
}

.section-title {
  position: relative;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-gold);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.section-header {
  margin-bottom: var(--space-xl);
  text-align: center;
}


.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6 {
  padding: 0 15px;
  margin-bottom: var(--space-lg);
}

.col-1 { width: 100%; }
.col-2 { width: 50%; }
.col-3 { width: 33.33%; }
.col-4 { width: 25%; }
.col-5 { width: 20%; }
.col-6 { width: 16.66%; }

@media (max-width: 992px) {
  .col-2, .col-3, .col-4, .col-5, .col-6 {
    width: 50%;
  }
}

@media (max-width: 576px) {
  .col-2, .col-3, .col-4, .col-5, .col-6 {
    width: 100%;
  }
}


.card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

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

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

.card-text {
  margin-bottom: var(--space-md);
}

.card-link {
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: var(--primary-blue);
}

.card-link i {
  margin-left: var(--space-xs);
  transition: transform 0.3s ease;
}

.card-link:hover i {
  transform: translateX(5px);
}


.features {
  margin-top: var(--space-xl);
}

.feature-item {
  display: flex;
  margin-bottom: var(--space-lg);
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: rgba(11, 60, 93, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--space-md);
  color: var(--primary-blue);
  font-size: 1.5rem;
}

.feature-content {
  flex-grow: 1;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}


.about-content {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column-reverse;
  }
  
  .about-text, .about-image {
    width: 100%;
  }
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

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

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


.testimonials {
  position: relative;
  background-color: var(--bg-pearl);
}

.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-md);
}

.testimonial-item {
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--primary-blue);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--secondary-gray);
  opacity: 0.8;
}


.contact-section {
  background-color: white;
}

.contact-container {
  display: flex;
  gap: var(--space-xl);
}

.contact-info {
  flex: 1;
}

.contact-form-container {
  flex: 1;
}

.contact-card {
  background-color: var(--primary-blue);
  color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.contact-card h3 {
  color: white;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.contact-info-icon {
  margin-right: var(--space-md);
  font-size: 1.25rem;
  color: var(--primary-gold);
}

.contact-form {
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.form-check-input {
  margin-right: var(--space-sm);
  margin-top: 0.3rem;
}

.form-check-label {
  font-size: 0.9rem;
}

.form-check-label a {
  font-weight: 600;
}

.form-submit {
  width: 100%;
  padding: var(--space-md);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}


.map-container {
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

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


.site-footer {
  background-color: var(--secondary-gray);
  color: white;
  padding: var(--space-xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-logo img {
  height: 60px;
  margin-bottom: var(--space-md);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
}

.footer-heading {
  color: white;
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover, 
.footer-links a:focus {
  color: var(--primary-gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-icon {
  color: var(--primary-gold);
  margin-right: var(--space-sm);
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover, 
.footer-bottom-links a:focus {
  color: var(--primary-gold);
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}


.iti {
  width: 100%;
}

.iti__country-list {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}


.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  padding: var(--space-lg);
  z-index: 9999;
  display: none;
}

.cookie-consent.active {
  display: block;
}

.cookie-text {
  margin-bottom: var(--space-md);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

.cookie-preferences-btn {
  margin-right: auto;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background-color: white;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: var(--space-xl);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.cookie-modal-title {
  margin-bottom: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-gray);
}

.cookie-category {
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid #eee;
  padding-bottom: var(--space-md);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.cookie-category-title {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.cookie-switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--primary-blue);
}

input:focus + .cookie-slider {
  box-shadow: 0 0 1px var(--primary-blue);
}

input:checked + .cookie-slider:before {
  transform: translateX(30px);
}

.cookie-category-description {
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--secondary-gray);
}

.cookie-modal-footer {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-lg);
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}


.thank-you-container {
  text-align: center;
  padding: calc(60px + var(--space-xxl)) 0 var(--space-xxl);
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--primary-gold);
  margin-bottom: var(--space-lg);
}

.thank-you-heading {
  margin-bottom: var(--space-md);
}

.thank-you-message {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.back-to-home {
  margin-top: var(--space-lg);
}