/* 
   THEME: Classic Wedding Invitation (Two-Part)
   Based on 'Parte Superior' and 'Parte Inferior' references.
*/

:root {
    /* Color Palette extracted from reference */
    --color-bg: #F4F1EA;
    /* Light Beige / Paper */
    --color-text-dark: #333333;
    --color-text-muted: #666666;
    --color-gold: #C5A059;
    /* Gold/Bronze for Monogram */
    --color-link: #888888;

    /* Typography */
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lato', sans-serif;

    /* Layout */
    --container-max-width: 1000px;
}

/* RESET */
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    background-image: url('../assets/images/fundo com qualidade.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--color-link);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-bottom: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

a:hover {
    color: var(--color-text-dark);
    border-bottom-color: var(--color-text-dark);
}

/* MAIN CONTAINER */
.main-wrapper {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    background-image: url('../assets/images/bg_texture_paper.png');
    /* Optional texture placeholder */
}

/* =========================================
   PART 1: UPPER PART (HEADER)
   ========================================= */
.upper-part {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* Subtle divider */
}

/* Monogram */
/* Monogram */
.monogram-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: block;
    border-radius: 50%;
    -o-object-fit: contain;
    object-fit: contain;
    border: none;
}

.intro-text p {
    font-family: var(--font-heading);
    font-size: 12pt;
    line-height: 14.4pt;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 20px;
    color: var(--color-text-dark);
}

.signature {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Navigation */
.main-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 30px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 30px;
}

.main-nav a {
    font-family: 'Playfair Display', serif;
    font-size: 12pt;
    line-height: 14.4pt;
    font-weight: 550;
    color: var(--color-text-dark);
    
    text-decoration-line: underline;
    text-decoration-style: solid;   /* solid | dotted | dashed | double | wavy */
    text-decoration-color: #000;     /* cor do underline */
    text-decoration-thickness: 1px;  /* espessura */
    text-underline-offset: 2px;      /* distância do texto */
}


/* =========================================
   PART 2: LOWER PART (BODY GRID)
   ========================================= */
.lower-part {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
}

/* Column Styling */
.info-col {
    text-align: center;
}

.col-title {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--color-text-dark);
}

.col-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.col-details {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--color-text-muted);
}

.col-link {
    display: inline-block;
    margin-bottom: 25px;
    font-size: 0.7rem;
    color: #999;
}

/* Images/Sketches */
.sketch-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    display: block;
    mix-blend-mode: multiply;
    /* Blends sketch with beige bg */
    opacity: 0.85;
}

/* Countdown in Right Column */
.countdown-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.cd-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.cd-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1;
    color: var(--color-text-dark);
}

.cd-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-top: 4px;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .lower-part {
        grid-template-columns: 1fr;
        /* Stack visually */
        gap: 80px;
    }

    .upper-part {
        margin-bottom: 40px;
    }
}