@import url('https://fonts.googleapis.com/css2?family=Ballet:opsz@16..72&family=Cinzel:wght@400..900&display=swap');

:root {
    
    --wedding-ivory: #faf4e2;      
    --wedding-white: #FFFFFF;      
    --wedding-rose-dust: #EBB08C;  
    --wedding-rose-dust-heavy: #D1916D; 
    --wedding-titoli: #5D4B3E;     
    --wedding-taupe: #8C8479;      
    --wedding-green: #A3A881;      
    
    
    --babajola-red: var(--wedding-rose-dust);
    --dark-grey: var(--wedding-taupe);
    --black: var(--wedding-titoli);
    --light-grey: #F7F3ED;
    --max-width: 450px;
}


body {
    background-color: #E5E0D8; 
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    width: 100%;
    max-width: var(--max-width);
    background-color: var(--wedding-ivory);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}


header {
    background-image: url('assets/sfondoHeader.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--wedding-white);
    width: 100%;
    aspect-ratio: 900 / 360;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid var(--wedding-rose-dust);
    padding: 40px 15px;
    min-height: 180px;
    box-sizing: border-box;
}


h1 {
    font-family: "Ballet", cursive;
    color: var(--wedding-titoli);
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    font-size: 2.8rem; 
}

header h3 {
    font-family: 'Cinzel', serif;
    color: var(--wedding-taupe);
    font-size: clamp(0.8rem, 4vw, 1.1rem);
    font-weight: 500;
    margin: 10px 0 0 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2#passport-title {
    font-family: "Ballet", cursive;
    color: var(--wedding-rose-dust-heavy);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
}

p, .p2 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--wedding-titoli);
}


nav {
    background: var(--wedding-ivory);
    border-bottom: 1px solid var(--wedding-rose-dust);
}

nav a {
    color: var(--wedding-titoli);
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

.btn {
    background-color: var(--wedding-rose-dust);
    color: var(--wedding-white);
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px; 
}

.btn-label {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem !important;
    color: var(--wedding-taupe);
}


.search-box {
    background: var(--wedding-white);
    border: 1px solid var(--wedding-rose-dust);
    border-radius: 25px;
    padding: 12px 20px;
    box-shadow: 0 4px 15px rgba(93, 75, 62, 0.05);
}

.tavolo-card {
    background: var(--wedding-white);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(235, 176, 140, 0.4); 
}

.tavolo-titolo {
    color: var(--wedding-rose-dust-heavy);
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    border-bottom: 1px solid var(--wedding-rose-dust);
    margin-bottom: 15px;
    padding-bottom: 8px;
}

.highlight {
    background: #FEF3EB; 
    color: var(--wedding-rose-dust-heavy);
    font-weight: bold;
    border-radius: 3px;
}


.cb-close {
    color: var(--wedding-taupe);
}

.back-btn {
    color: var(--wedding-rose-dust-heavy);
    font-family: 'Cinzel', serif;
    font-weight: bold;
}