* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Arial', sans-serif;
	line-height: 1.6;
	background: linear-gradient(135deg, #ff8c00 0%, #ffa500 50%, #ff6347 100%);
	/*background-attachment: fixed;*/
	color: #333;
	overflow-x: hidden;
	font-size: 1rem;
	margin: 0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
header {
	background: rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
	padding: 0.1rem 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	/*border-bottom: 2px solid rgba(255, 215, 0, 0.3);*/
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-direction: row;
}

.logo-img {
  width: 150px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.logo h1 {
	color: #043d77;/*#cc5500;/*white;/**/
	font-size: 1.8rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	font-weight: bold;
}

.logo p {
	color: #043d77;/*#cc5500;/*white;/**/
	font-style: italic;
	margin-top: 5px;
	font-size: 1.0rem;
	text-align: center;
}

.promo-img {
	width: 90%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* Animazioni */
@keyframes glow {
	from { box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4); }
	to { box-shadow: 0 4px 25px rgba(255, 140, 0, 0.7); }
}

@keyframes twinkle {
	0%, 100% { opacity: 0.3; }
	50% { opacity: 1; }
}

@keyframes float {
	0%, 100% { transform: translateY(0px) rotate(0deg); }
	50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes sparkle {
	0% { transform: translateX(0); }
	100% { transform: translateX(50px); }
}

/* Navigazione */
nav ul {
	display: flex;
	list-style: none;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

nav a {
	color: #043d77;/*#cc5500;/*white;/**/
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	font-size: 1.5rem;
}

nav a:hover {
	color: #ffd700;
}

/* Hero Section */
.hero {
	padding: 100px 20px 80px;
	margin-top: 80px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.4);
	border: 2px solid rgba(255, 140, 0, 0.7);
	background-image: url('./images/home.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-align: center;
	color: #fff;
	position: relative;
	min-height: 1200px;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.7);
	pointer-events: none;
	border-radius: 15px;
}

/*.hero-content {
	z-index: 2;
	position: relative;
}*/


.hero h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: #043d77;/*,#cc5500;/*white;/**/
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
	animation: slideUp 1s ease-out 0.3s both;
	text-align: center;
}

.hero p {
	font-size: 1.2rem;
	margin: 0 auto 2rem auto;
	/*max-width: 600px;*/
	color: #043d77;/*#cc5500;/*white;/**/
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
	animation: slideUp 1s ease-out 0.3s both;
	text-align: center;
}

.hero p.sub-title
{
	font-size: 0.85rem;
	color: #043d77;
	line-height: 1.4;
	margin-top: 10px;
}

/* Hero Content Layout con immagini laterali */
.hero-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}

.hero-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	gap: 20px;
	align-items: flex-start;  /* <-- Alternativa */
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}

.hero-side-images {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
}

.hero-side-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    /*transition: transform 0.3s ease;*/
}

.hero-side-image:hover {
    transform: scale(1.05);
}

/* Animazioni alternate per le immagini */
.hero-side-images.left .hero-side-image:nth-child(1) {
    /*animation: float 6s ease-in-out infinite;*/
	animation: slideUp 1s ease-out 0.6s both;
}

.hero-side-images.left .hero-side-image:nth-child(2) {
    /*animation: float 6s ease-in-out infinite 3s;*/
	animation: slideUp 1s ease-out 0.6s both;
}

.hero-side-images.right .hero-side-image:nth-child(1) {
    /*animation: float 6s ease-in-out infinite 1.5s;*/
	animation: slideUp 1s ease-out 0.6s both;
}

.hero-side-images.right .hero-side-image:nth-child(2) {
    /*animation: float 6s ease-in-out infinite 4.5s;*/
	animation: slideUp 1s ease-out 0.6s both;
}

.hero-side-images.left .hero-side-image:nth-child(3) {
    /*animation: float 6s ease-in-out infinite 2s;*/
	animation: slideUp 1s ease-out 0.6s both;
}

.hero-side-images.left .hero-side-image:nth-child(4) {
    /*animation: float 6s ease-in-out infinite 5s;*/
	animation: slideUp 1s ease-out 0.6s both;
}

.hero-side-images.right .hero-side-image:nth-child(3) {
    /*animation: float 6s ease-in-out infinite 2.5s;*/
	animation: slideUp 1s ease-out 0.6s both;
}

.hero-side-images.right .hero-side-image:nth-child(4) {
    /*animation: float 6s ease-in-out infinite 5.5s;*/
	animation: slideUp 1s ease-out 0.6s both;
}

.hero-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /*align-items: center;*/
}


.cta-button {
	display: inline-block;
	background: linear-gradient(45deg, #ffd700, #ff8c00);
	color: #333;
	padding: 10px 10px;
	text-decoration: none;
	border-radius: 15px;
	font-weight: bold;
	font-size: 1rem;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	animation: slideUp 1s ease-out 0.6s both;
	margin: 10px;
	max-width: 90%;
}

.cta-button h2 {
	margin: 10px 0;
	font-size: 1.8rem;
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Cards per pagamenti */
.cards {
	margin-top: 15px;
	display: flex;
	justify-content: center;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.card-icon {
	height: 60px;
	width: auto;
}

/* Sections */
section {
	padding: 20px 20px;
	background: white;
	margin: 100px 0;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 10;
}

/*section:nth-child(even) {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
  filter: brightness(60%);
	/*background: linear-gradient(135deg, #fff8e1, #ffeaa7);*/
/*    position: relative;
	z-index: 10;
}*/

.section-title {
	text-align: center;
	font-size: 2.2rem;
	color: #6347ff;
	margin-bottom: 2rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Service Grid */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
	margin-top: 2rem;
}

.service-card {
	background: white;
	padding: 25px;
	border-radius: 15px;
	box-shadow: 0 8px 25px rgba(255, 140, 0, 0.1);
	transition: all 0.3s ease;
	border: 2px solid rgba(255, 140, 0, 0.1);
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(255, 140, 0, 0.2);
	border-color: rgba(255, 140, 0, 0.3);
}

.service-icon {
	font-size: 3rem;
	margin-bottom: 20px;
	text-align: center;
	background: linear-gradient(45deg, #ff8c00, #ffd700);
	-webkit-background-clip: text;
	/*-webkit-text-fill-color: transparent;*/
	background-clip: text;
}

.service-card h3 {
	font-size: 1.4rem;
	margin-bottom: 15px;
	color: #ff6347;
}

.service-card p {
	font-size: 1rem;
	line-height: 1.6;
}

/* Cartomanti Section */
.cartomanti-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
	margin-top: 2rem;
}

.cartomante-card {
	background: linear-gradient(135deg, #fff, #eaa7ff);
	padding: 25px;
	border-radius: 15px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border-left: 5px solid #8c00ff;
	position: relative;
}

.cartomante-interno {
	background: linear-gradient(45deg, #8c00ff, #d700ff);
	position: absolute;
	top: 20px;
	right: 20px;
	color: #fff;
	padding: 5px 10px;
	border-radius: 15px;
	font-weight: bold;
	font-size: 0.95rem;
	box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
	transition: all 0.3s ease;
}

.cartomante-interno a{
	text-decoration: none;
		color: #fff;
}

.cartomante-interno:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
}

/* Pulsante Mail */
.mail-button {
	display: inline-block;
	background: linear-gradient(45deg, #6a11cb, #2575fc);
	color: #fff;
	padding: 18px 40px;
	text-decoration: none;
	border-radius: 30px;
	font-weight: bold;
	font-size: 1.1rem;
	box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
	transition: all 0.3s ease;
}

.mail-button:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 10px 30px rgba(37, 117, 252, 0.6);
	background: linear-gradient(45deg, #2575fc, #6a11cb);
}

/* Frase del Giorno */
#frase-del-giorno {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 234, 167, 0.95));
	padding: 25px 30px;
	border-radius: 15px;
	border: 3px solid #ffd700;
	box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.5);
	font-style: italic;
	font-size: 1.15rem;
	color: #4a4a4a;
	text-align: center;
	max-width: 700px;
	margin: 0 auto 30px auto;
	position: relative;
	line-height: 1.8;
}

#frase-del-giorno::before {
	/*content: '✨';*/
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
}

#frase-del-giorno::after {
	/*content: '✨';*/
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
}

/* Footer */
footer {
	background: linear-gradient(135deg, #333, #555);
	color: white;
	text-align: center;
	padding: 40px 0;
	margin-top: 50px;
}

footer p {
	font-size: 0.95rem;
	line-height: 1.6;
}

a.ltc-white {
  text-decoration: none;
  color: white !important; /* oppure 'inherit' per usare il colore del testo normale */
}

a.ltc-white:visited {
  color: white !important; /* per i link già visitati */
}

a.ltc-white:hover {
  color: !important; /* colore quando ci passi sopra (opzionale) */
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
	.hero {
		padding: 100px 20px 60px;
	}
	
	.hero h1 {
		font-size: 2.2rem;
	}
	
	.hero p {
		font-size: 1.1rem;
	}
	
	.section-title {
		font-size: 2rem;
	}
	
    .hero-content-wrapper {
        grid-template-columns: 1fr 3fr 1fr;
        gap: 15px;
    }
    
    .hero-side-image {
        max-width: 180px;
    }
    
    .hero-side-images {
        gap: 15px;
    }
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
	body {
		font-size: 0.95rem;
	}
	
	/*.header-content {
		flex-direction: column;
		gap: 15px;
		padding: 10px 0;
	}*/
	
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hero-side-images {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-side-image {
        max-width: 45%;
        min-width: 150px;
    }
    
    .hero-side-images.left {
        order: -1; /* Immagini sinistre vanno sopra */
    }
    
    .hero-side-images.right {
        order: 1; /* Immagini destre vanno sotto */
    }
    
    .hero-buttons-container {
        order: 0; /* Pulsanti al centro */
    }
	
	.logo-img {
		width: 100px;
	}

	.logo h1 {
		font-size: 1.5rem;
	}
	
	.logo p {
		font-size: 0.85rem;
	}

	nav ul {
		gap: 12px;
		font-size: 0.9rem;
	}
	
	nav a {
		font-size: 0.9rem;
	}

	.hero {
		padding: 150px 15px 50px;
		margin-top: 100px;
		min-height: 1200px;
	}

	.hero h1 {
		font-size: 1.8rem;
		margin-bottom: 0.8rem;
	}

	.hero p {
		font-size: 1rem;
		padding: 0 10px;
		margin-bottom: 1.5rem;
	}
	
	.hero p.sub-title {
		font-size: 0.75rem;
	}

	.cta-button {
		padding: 10px 10px;
		font-size: 0.95rem;
		margin: 8px;
	}
	
	.cta-button h2 {
		font-size: 1.5rem;
		margin: 8px 0;
	}

	section {
		padding: 40px 15px;
		margin: 15px 0;
	}

	.section-title {
		font-size: 1.8rem;
		margin-bottom: 1.5rem;
	}

	.service-grid,
	.cartomanti-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.service-card,
	.cartomante-card {
		padding: 20px;
	}

	.phone-number {
		font-size: 2rem;
	}
	
	.phone-section {
		padding: 30px 15px;
	}
	
	.card-icon {
		height: 45px;
	}
	
	.cartomante-interno {
		top: 15px;
		right: 15px;
		padding: 8px 15px;
		font-size: 0.85rem;
	}
	
   #frase-del-giorno {
		padding: 20px 25px;
		font-size: 1rem;
		margin-bottom: 25px;
	}
	
	#frase-del-giorno::before,
	#frase-del-giorno::after {
		font-size: 1.2rem;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	body {
		font-size: 0.9rem;
	}
	
	.logo-img {
		width: 100px;
	}

	.logo h1 {
		font-size: 1.3rem;
	}
	
	.logo p {
		font-size: 0.8rem;
	}
	
	nav ul {
		gap: 10px;
	}
	
	nav a {
		font-size: 0.85rem;
	}

	.hero {
		padding: 100px 10px 40px;
		margin-top: 80px;
		min-height: 1200px;
	}

    .hero-side-images {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-side-image {
        max-width: 250px;
        min-width: auto;
    }
	
	.hero h1 {
		font-size: 1.5rem;
	}

	.hero p {
		font-size: 0.9rem;
		padding: 0 5px;
	}
	
	.hero p.sub-title {
		font-size: 0.7rem;
	}

	.cta-button {
		padding: 10px 10px;
		font-size: 0.9rem;
	}
	
	.cta-button h2 {
		font-size: 1.3rem;
	}

	.section-title {
		font-size: 1.6rem;
	}

	.service-icon {
		font-size: 2.5rem;
	}
	
	.service-card h3,
	.cartomante-name {
		font-size: 1.3rem;
	}

	.container {
		padding: 0 10px;
	}
	
	.phone-number {
		font-size: 1.8rem;
	}
	
	.card-icon {
		height: 42px;
	}
	
	footer {
		padding: 30px 15px;
	}
	
	footer p {
		font-size: 0.85rem;
	}
	
	.cartomante-interno {
		position: static;
		display: inline-block;
		margin-bottom: 10px;
		padding: 6px 12px;
		font-size: 0.8rem;
	}
}

/* Extra Small Devices */
@media (max-width: 360px) {
	.logo-img {
		width: 100px;
	}
	
	.hero h1 {
		font-size: 0.8rem;
	}
	
	.hero p {
		font-size: 0.65rem;
	}
	
	.cta-button h2 {
		font-size: 1.2rem;
	}
	
	.section-title {
		font-size: 1.4rem;
	}
	
		nav a {
		font-size: 0.85rem;
	}
}