/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #EDE1D4;
    --bg-alt: #f5eee6;
    --text: #654936;
    --text-light: #8B6F5A;
    --accent: #8B6F5A;
    --accent-hover: #7a5f4b;
    --white: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    height: 100dvh;
}

/* Scroll Snap Container */
.slides-container {
    height: 100dvh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Each Slide */
.slide {
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: var(--bg);
}

.slide-alt {
    background: var(--bg-alt);
}

.slide-hidden {
    display: none !important;
}

.slide-content {
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Typography */
.title-large {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-medium {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.body-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.body-text-small {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Photo Placeholders */
.photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.photo-small {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

/* Scroll Hint */
.scroll-hint {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.arrow-down {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* Info Grid (About Me) */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.info-item {
    background: var(--bg);
    border-radius: 12px;
    padding: 0.75rem;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Philosophy */
.philosophy {
    text-align: left;
    margin-bottom: 1.5rem;
}

.philosophy h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.philosophy p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

.blog-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 85dvh;
}

.blog-body {
    flex: 1;
    overflow-y: auto;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
    padding-right: 0.5rem;
}

.blog-body p {
    margin-bottom: 1rem;
}

/* CTA Link */
.cta-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--accent);
    transition: opacity 0.2s;
}

.cta-link:active {
    opacity: 0.7;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.97);
}

.btn-yes {
    background: var(--accent);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.btn-yes:active {
    background: var(--accent-hover);
}

.btn-no {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-confirm {
    background: var(--accent);
    color: var(--white);
    margin-top: 1rem;
}

.button-group {
    margin-top: 1.5rem;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    text-align: left;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--bg);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
}

.radio-option:has(input:checked) {
    background: var(--accent);
    color: var(--white);
}

.radio-option input[type="radio"] {
    accent-color: var(--accent);
    width: 18px;
    height: 18px;
}

.radio-option:has(input:checked) input[type="radio"] {
    accent-color: var(--white);
}

.radio-label {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Feedback Textarea */
.feedback-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--bg);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    resize: none;
    transition: border-color 0.2s;
}

.feedback-input:focus {
    outline: none;
    border-color: var(--accent);
}

.feedback-input::placeholder {
    color: var(--text-light);
}

/* Emoji */
.emoji-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Location Cards */
.location-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-card {
    display: flex;
    gap: 0.75rem;
    background: var(--bg);
    border-radius: 14px;
    padding: 0.75rem;
    text-align: left;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 2px solid transparent;
}

.location-card:active {
    transform: scale(0.98);
}

.location-card.selected {
    border-color: var(--accent);
    box-shadow: 0 2px 12px rgba(101, 73, 54, 0.15);
}

.location-img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.location-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.location-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.maps-link {
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.note-text {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-secondary {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:active {
    background: var(--accent);
    color: var(--white, #fff);
}

/* Calendly */
.calendly-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
}

/* Phone Number */
.phone-number {
    margin: 1rem 0;
}

.phone-number a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Responsive — larger phones / small tablets */
@media (min-width: 430px) {
    .title-large {
        font-size: 3rem;
    }
    .title-medium {
        font-size: 2rem;
    }
    .slide {
        padding: 2.5rem 2rem;
    }
}

/* Desktop fallback */
@media (min-width: 768px) {
    .slide-content {
        max-width: 480px;
    }
    .title-large {
        font-size: 3.5rem;
    }
}
