/* ===================================
   MINIMALIST WEDDING THEME (PLANNER)
   =================================== */

:root {
    --bg-color: #FFFFFF;
    --text-black: #111111;
    --text-gray: #666666;
    --accent-color: #000000;
    --card-bg: #FFFFFF;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-black);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-black);
    letter-spacing: -1px;
}

.big-font {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.medium-font {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-uppercase-spaced {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-black);
}

/* --- Layout --- */
.section-padding {
    padding: 6rem 1rem;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 4rem;
}

.hero-image-container {
    width: 300px;
    height: 400px;
    margin: 2rem auto;
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    /* Black and white image */
    transition: transform 1s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

/* --- Components --- */
.minimal-divider {
    width: 60px;
    height: 2px;
    background-color: var(--text-black);
    margin: 0 auto;
}

.minimal-card {
    padding: 3rem 2rem;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}

.minimal-card:hover {
    border-color: var(--text-black);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- Gallery (Premium) --- */
.minimal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0 1rem;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* --- Timeline (Planner) --- */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background-color: var(--text-black);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -0.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    right: -7.5px;
    background-color: #fff;
    border: 2px solid var(--text-black);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.right::after {
    left: -7.5px;
}

.content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border: 1px solid #eee;
}

/* --- Buttons --- */
.btn-minimal {
    background-color: transparent;
    color: var(--text-black);
    border: 1px solid var(--text-black);
    padding: 12px 30px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.btn-minimal:hover {
    background-color: var(--text-black);
    color: #fff;
    text-decoration: none;
}

.btn-minimal-inverse {
    background-color: #fff;
    color: var(--text-black);
    border: 1px solid #fff;
    padding: 15px 40px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-minimal-inverse:hover {
    background-color: transparent;
    color: #fff;
    text-decoration: none;
}

/* --- Countdown --- */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

/* --- Music Button --- */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.btn-music-minimal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--text-black);
    color: var(--text-black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-music-minimal:hover {
    background: var(--text-black);
    color: #fff;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .big-font {
        font-size: 3.5rem;
    }

    .section-padding {
        padding: 4rem 1rem;
    }

    .countdown-container {
        gap: 1.5rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .left::after,
    .right::after {
        left: 15px;
    }

    .right {
        left: 0%;
    }
}