/* RESET BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f7f7f7;
    color: #222;
    line-height: 1.6;
}

/* HERO */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 8%;
    position: relative;
    background-image: linear-gradient(90deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.25) 60%), url('fuoto_di_fuori.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    pointer-events: none;
}

/* decorative tilted block */
.hero-accent {
	position: absolute;
	left: -8%;
	top: 10%;
	width: 60%;
	height: 80%;
	background: linear-gradient(135deg,#fff3e6 0%, #ff6a00 60%);
	transform: rotate(-8deg);
	border-radius: 12px;
	opacity: 0.12;
	pointer-events: none;
	z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 720px;
    color: #fff;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.hero-content .subtitle {
	font-size: 1.15rem;
	opacity: 0.95;
	margin-bottom: 24px;
}

/* BUTTON */
.btn-primary {
	background: linear-gradient(90deg,#ff6a00,#ff9a3c);
	color: white;
	padding: 12px 28px;
	text-decoration: none;
	border-radius: 999px;
	font-weight: bold;
	transition: 0.3s;
	border: none;
	cursor: pointer;
	box-shadow: 0 8px 30px rgba(255,106,0,0.25);
}

.btn-primary:hover {
	background: #d35400;
}

/* INFO */
.info {
    padding: 60px 8%;
    text-align: center;
    background: #faf6f4;
}

.info h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,248,247,0.95));
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(18,18,18,0.06);
    border-left: 6px solid #ff6a00;
}

/* blockquote style */
blockquote {
	font-style: italic;
	color: #444;
	background: rgba(255,106,0,0.03);
	padding: 12px 14px;
	border-radius: 8px;
	margin-top: 10px;
}

/* FORM */
.form-section {
    background: linear-gradient(180deg,#0b0b0b,#131313);
    color: #f6f6f6;
    padding: 80px 8%;
    text-align: center;
}

.form-section h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.application-form {
    max-width: 500px;
    margin: auto;
}

.form-group {
    margin-bottom: 20px;
}

.application-form input,
.application-form select,
.application-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    outline: none;
    background: rgba(255,255,255,0.04);
    color: #fff;
}

.application-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* placeholder / hint color (grigiolino coerente) */
.application-form input::placeholder,
.application-form textarea::placeholder,
.application-form select::placeholder {
	color: rgba(255,255,255,0.7);
	opacity: 1;
}

/* date input: impostiamo colore delle singole parti su WebKit per mostrare il testo in grigio */
.date-input::-webkit-datetime-edit,
.date-input::-webkit-datetime-edit-year-field,
.date-input::-webkit-datetime-edit-month-field,
.date-input::-webkit-datetime-edit-day-field {
	color: rgba(255,255,255,0.7);
}

/* Firefox placeholder fallback */
.date-input::-moz-placeholder { color: rgba(255,255,255,0.7); opacity: 1; }

/* FILE INPUT */
.file-group {
	margin-bottom: 18px;
	text-align: left;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.file-input {
	/* nasconde l'input nativo, la label agirà da bottone */
	display: none;
}

.file-label {
	display: inline-block;
	background: linear-gradient(90deg,#ff6a00,#ff9a3c);
	color: #fff;
	padding: 10px 18px;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(255,106,0,0.18);
}

.file-label:hover {
	background: #d35400;
}

.file-hint {
	display: block;
	margin-top: 8px;
	font-size: 0.85rem;
	color: rgba(255,255,255,0.7);
}

/* FOOTER */
footer {
    background: #070707;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
	.hero {
		padding: 60px 6%;
	}
	.hero-content h1 {
		font-size: 2.6rem;
		text-align: center;
	}
	.hero-content { text-align: center; }
	.hero-accent { display: none; }
}


