header {
    position: fixed;
    top: 0;
    left: 0;
    width: 98%;
    z-index: 1000;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(180, 140, 220, 0.7); 
    color: var(--testo-viola);
    backdrop-filter: blur(10px); 
    font-weight: bold;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    flex-wrap: wrap; 
    gap: 20px;
}
.hero {
    background-image: url('Sfondo\ farfalla.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 130vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 24px;
    font-family: "Oswald", sans-serif;
    padding: 0 0px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        padding: 5px 0;
        font-size: 14px;
    }

    header h1 {
        font-size: 1.1em;
    }
}

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Lora&family=Playfair+Display:wght@500&display=swap');

:root {
    --sfondo: #e8d9f1;
    --testo: #333;
    --viola-trasp: rgba(180, 140, 220, 0.7);
    --testo-viola: #ece8e1;
    --descrizione: #555;
}

html, body {
    overflow-x: hidden;
    background-color: var(--sfondo);
    color: var(--testo);
    font-family: "Lora", serif;
    font-size: 18px;
    margin: auto;
    padding: 6;
}

.intro p,
.project-description,
.contact p,
.combo-card p {
    font-family: "Lora", serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(180, 140, 220, 0.7); 
    color: var(--testo-viola);
    backdrop-filter: blur(10px); 
    font-weight: bold;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    flex-wrap: wrap; 
    gap: 20px;
}

header h1 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 400;
}

nav {
    flex-direction: column; 
    gap: 10px; 
    align-items: flex-start;
}

nav a {
    text-decoration: none;
    color: var(--testo-viola);
    font-family: "Playfair Display", serif;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
}

nav a:hover {
    color: white;
}

@media (max-width: 768px) {
    header {
        padding: 10px 10px;
        font-size: 1em; 
        justify-content: center; 
    }
    header h1 {
        font-size: 1em; 
    }
    nav {
        flex-direction: column; 
        gap: 0px; 
    }
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 500px;
    margin: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--viola-trasp);
    color: var(--testo-viola);
    border: none;
    font-size: 24px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
    border: 2px solid var(--testo-viola);
}

.carousel-btn:hover {
    background-color: white;
    color: var(--viola-trasp);
    transform: scale(1.1);
}

.carousel-btn.left {
    left: -60px;
}

.carousel-btn.right {
    right: -60px;
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .carousel-btn.left {
        left: -30px;
    }

    .carousel-btn.right {
        right: -30px;
    }
}

#suggested-combos, #suggested-outfits, #trend-alerts {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--sfondo);
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.combo-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 2px;
}

@media (min-width: 600px) {
    .combo-card {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

.combo-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.combo-card h3 {
    font-size: 16px;
    margin: 200px 0 20px;
    color: var(--testo);
}

.combo-card p {
    font-size: 14px;
    color: var(--descrizione);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    background-color: #aaa;
    border-radius: 50%;
    cursor: pointer;
}

.slider-dot.active {
    background-color: var(--testo);
}

.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-10%);
    background-color: var(--viola-trasp);
    color: var(--testo-viola);
    border: none;
    font-size: 24px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
}

.carousel-btn.left {
    left: 13px;
}

.carousel-btn.right {
    right: 13px;
}

.carousel-btn:hover {
    background-color: white;
    color: var(--viola-trasp);
}

.intro {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
}

.intro img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    margin-right: 20px;
}

.intro p {
    font-size: 12px;
    color: rgb(34, 34, 34);
    flex: 1;
}

h2 {
    text-align: center;
    font-family: "DM Serif Display", serif;
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

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

.gallery img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05);
}

.signature {
    font-family: "Dancing Script", cursive;
    font-size: 24px;
    text-align: center;
    color: black;
    margin: 40px 0;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.icons img {
    width: 50px;
    height: auto;
}

.footer-section {
    background-color: var(--viola-trasp);
    color: var(--testo-viola);
    text-align: center;
    padding: 20px;
}

.contact {
    background-color: var(--viola-trasp);
    padding: 80px 20px;
    color: var(--testo-viola);
    text-align: center;
}

.contact h2 {
    font-family: "Oswald", sans-serif;
    font-size: 32px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: white;
}

.contact p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #f3f3f3;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    padding: 80px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 80%;
    padding: 25px;
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #777;
}

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

.contact-form button {
    background-color: var(--testo-viola);
    color: var(--viola-trasp);
    border: none;
    padding: 14px 30px;
    font-size: 15px;
    font-family: "Oswald", sans-serif;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-form button:hover {
    background-color: white;
    color: var(--sfondo);
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .contact-form {
        padding: 25px;
    }

    .contact h2 {
        font-size: 24px;
    }

    .contact p {
        font-size: 14px;
    }
}

.map-container {
    width: 100%;
    height: 400px;
    position: relative;
    border: none;
    margin-top: 30px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 80%;
    border: 0;
    filter: grayscale(20%) brightness(95%);
}
#portfolio {
  padding: 60px 20px;
}

.project-container {
  display: flex;
  justify-content: center;
}

.project-description {
  max-width: 800px;
  padding: 20px;
  text-align: center;
}

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

.overlay-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  z-index: 2;
  pointer-events: none; 
}

.overlay-message h1 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 5vw, 4rem); 
  color: #6b4c3b;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.7); 
  margin: 0;
  animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}