/* Theme: Federico - Buxtehuder Uhrenbörse
   Colors: Midnight Blue & Vendome Gold
*/

:root {
    --gold: #b4881d;
    --dark-blue: #1a2a44;
    --light-bg: #fdfdfb;
    --text-color: #333;
    --white: #ffffff;
}

/* 1. Reset e Base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, .luxury-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* 2. Splash Screen */
#splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--white) url('../../../img/splash_mobile.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3. Layout Strutturale (Header & Footer) */
header {
    height: 70px;
    background: var(--white);
    border-bottom: 1px solid rgba(180, 136, 29, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

footer {
    height: 50px;
    background: var(--dark-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    letter-spacing: 2px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    text-transform: uppercase;
}

main {
    padding-top: 70px; /* Spazio per Header */
    padding-bottom: 60px; /* Spazio per Footer */
    min-height: 100vh;
}

/* 4. Pulsanti e Azioni */
.btn-luxury {
    background: var(--dark-blue) !important;
    color: var(--gold) !important;
    border: 1px solid var(--gold) !important;
    padding: 16px 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-luxury:active {
    transform: scale(0.98);
    background: var(--gold) !important;
    color: var(--white) !important;
}

/* 5. Galleria Fotografica (Visualizzazione Garanzia) */
.gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 20px 0;
    margin: 0 -15px 25px -15px;
    -webkit-overflow-scrolling: touch;
}

.gallery-container::-webkit-scrollbar {
    display: none;
}

.gallery-container img {
    flex: 0 0 85%;
    height: 380px;
    object-fit: cover;
    scroll-snap-align: center;
    border-radius: 2px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    margin-left: 15px;
    border: 1px solid rgba(180, 136, 29, 0.1);
}

/* 6. Campi Informativi (Dettagli Orologio) */
.info-group {
    margin-bottom: 20px;
    padding: 0 5px;
}

.info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-value {
    font-size: 1.15rem;
    color: var(--dark-blue);
    font-family: 'Playfair Display', serif;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    margin-bottom: 15px;
}

/* 7. Form di Inserimento (Mobile Optimized) */
.form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 12px;
    font-size: 1rem;
    margin-bottom: 15px;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: none;
}

label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

/* 8. Animazioni */
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 9. Utility per la Home */
.hero-image {
    height: 40vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    border-bottom: 3px solid var(--gold);
    margin-bottom: 30px;
}
/* Stile Card Certificato Lusso */
.luxury-cert-card {
    background: #fffcf5; /* Colore carta avorio */
    border: 1px solid #e0d0b0;
    border-radius: 4px;
    padding: 30px 20px;
    margin: 25px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.cert-diamond-icon {
    color: #b4881d;
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    background: linear-gradient(135deg, #b4881d 0%, #ecd08c 50%, #b4881d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cert-title {
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #8a6d29 0%, #d4af37 50%, #8a6d29 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cert-text {
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5d4a1b; /* Marrone scuro dorato */
    font-style: italic;
    max-width: 90%;
    margin: 0 auto;
}

.cert-frieze {
    margin-top: 15px;
    color: #b4881d;
    font-size: 1.2rem;
    letter-spacing: -3px;
    opacity: 0.7;
}

/* Nascondo icone header */
body > header > div:nth-child(3) {
    visibility: hidden !important;
}



/* Stile Icona Link Casa Madre */
.btn-landing-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-landing-link:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(180, 136, 29, 0.3);
}


/* Stile Icona Link Casa Madre con Effetto Luccichio */
.btn-landing-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden; /* Necessario per contenere il riflesso */
}

/* Layer del riflesso (luccichio) */
.btn-landing-link::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: luxury-shimmer 6s infinite; /* Ogni 6 secondi */
}

@keyframes luxury-shimmer {
    0% { left: -150%; }
    15% { left: 150%; } /* Il riflesso passa velocemente */
    100% { left: 150%; } /* Poi resta fermo per il resto del ciclo */
}

.btn-landing-link:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 136, 29, 0.4);
}

/* Rimuove il riflesso al passaggio del mouse per non disturbare */
.btn-landing-link:hover::after {
    display: none;
}