:root {
    --bg: #0e0e0f;
    --fg: #eeeeee;
    --accent: #c99d66; /* Warm gold for buttons & links */
    --accent-dark: #9c784a;
    --maxw: 720px;
}

/* Reset and Basic Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
.hero-img{ position:absolute; top:0; left:0; width:100%; height:120%; object-fit:cover; }


/* make the <img> 120% tall so sliding won’t reveal gaps */
.hero img {
  position:absolute;
  top:0; left:0;
  width:100%; height:120%;
  object-fit:cover;
  will-change: transform;      /* smoother */
}

body {
    background: var(--bg) url('assets/hero.png') top/cover no-repeat fixed; /* Parallax */
    color: var(--fg);
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease; /* Smooth transition for bg color changes */
}

main {
    flex: 1;
    padding: 2rem 1rem; /* Reduced padding for better flow */
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center the container */
}

.container {
    width: 100%;
    max-width: var(--maxw);
    text-align: center;
    background: rgba(14, 14, 15, 0.85); /* Slightly less transparent */
    padding: 2.5rem 2rem; /* Adjusted padding */
    border-radius: 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    transition: color 0.3s ease;
}

h1 {
    font-size: 2.5rem; /* Adjusted size */
    margin-bottom: 0.75em;
    line-height: 1.2; /* Improved line height */
}

h2 {
    font-size: 1.6rem; /* Adjusted size */
    margin: 1.5rem 0 0.75rem;
}

p {
    margin: 0.75rem 0;
    opacity: 0.9; /* Slightly less opaque */
}

/* Buttons */
.btn,
button {
    background: var(--accent);
    border: none;
    color: var(--bg);
    padding: 0.75rem 1.75rem; /* Adjusted padding */
    font-weight: 700;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease-in-out, transform 0.1s ease; /* Added transform */
}

.btn:hover,
button:hover {
    background: var(--accent-dark);
    transform: scale(1.02); /* Slight scale on hover */
}
.back-btn {
    /* put it on its own line */
    display: block;             /* not inline-block */
    
    /* make the browser treat the left edge as the anchor point
       even inside a flex or centred container */
    margin-left: 0;
    margin-right: auto;         /* pushes the rest of the line away */
    
    /* breathing room below */
    margin-bottom: 1.25rem;

    /* flexbox fallback: if the parent becomes flex, pin to start */
    align-self: flex-start;
}

/* Form Elements */
input,
select,
textarea {
    width: 100%;
    padding: 0.6rem; /* Adjusted padding */
    margin-top: 0.4rem;
    border: 1px solid #444;
    border-radius: 4px;
    background: #1b1b1d;
    color: var(--fg);
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

label {
    display: block;
    margin-top: 1rem;
    text-align: left;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
footer {
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem;
    color: #888;
    opacity: 0.7;
    transition: color 0.3s ease;
}

/* Menu Items (Confirmation Page) */
.menu-item {
    margin: 0.75rem 0;
}

.menu-item .it {
    font-weight: 700;
}

.menu-item .en {
    display: block;
    font-size: 0.85rem;
    font-style: italic;
    color: #ccc;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Hero Section (Index Page) */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center;
}

.hero::before { /* Overlay using pseudo-element */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 14, 15, 0.55); /* Slightly stronger overlay */
    z-index: 1;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .overlay {
    position: relative;
    z-index: 2; /* Ensure text is above overlay */
    text-align: center;
    color: var(--fg);
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.button-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    main {
        padding: 1.5rem 1rem;
    }

    .container {
        padding: 2rem 1.5rem;
    }

    .hero {
        height: 60vh; /* Adjust hero height on smaller screens */
    }

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

    .hero p {
        font-size: 1.1rem;
    }
}
.back-link {
    display: inline-flex;          /* keeps arrow and text aligned */
    align-items: right;
    gap: .25rem;                   /* spacing between arrow and word */
    margin: 0 0 1.5rem 0;          /* pushes content down a bit */
    padding: .4rem .8rem;
    font-size: .9rem;
    text-decoration: none;
    color: #222;                   /* or whatever body text color you use */
    background: var(--accent);           /* subtle pill-style background */
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background .2s ease;
}

.back-link:hover {
    background: #eaeaea;           /* simple hover feedback */
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    .button-container {
        flex-direction: column; /* Stack buttons on very small screens */
        align-items: center;
    }
}
.inline-address {
    display: inline;
    font-style: normal;   /* keeps it from being italicized, if desired */
}