:root {
    --primary-color: #d4b08c;
    --secondary-color: #f8f5f0;
    --dark-color: #2c2c2c;
    --light-color: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --font-cursive: 'Dancing Script', cursive;
    --bg-image: url('images/photoshoot/DAFBB866-B579-4192-9583-C07CF4E1FF8C-min.jpeg');
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    font-family: var(--font-main);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-main);
    font-weight: 500;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 36px;
}
h2 {
    font-size: 28px;
}
h3 {
    font-size: 20px;
}
p {
    font-size: 15px;
    font-weight: 300;
}

.container {
    width: 100%;
    padding: 0 16px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-cursive);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.mobile-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
    padding: 4px 8px;
}

/* Navigation improvements */
.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
}

.nav-logo {
    font-family: var(--font-cursive);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--dark-color);
    padding: 4px 10px;
    transition: color 0.2s ease;
}

.nav-close:hover {
    color: var(--primary-color);
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
}

nav.active {
    transform: translateX(0);
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 20px;
    margin-top: 70px;
}

nav ul li {
    margin: 8px 0;
}

nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 400;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav a.booking-link {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a.booking-link::before {
    content: "💬";
    font-size: 18px;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: #f0e9e2;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    padding-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
}

.hero h1 {
    font-family: var(--font-cursive);
    font-size: 52px;
    margin-bottom: 15px;
    color: var(--light-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.hero p {
    font-size: 16px;
    color: var(--light-color);
    margin-bottom: 25px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero .dates {
    font-size: 1.1rem;
    color: #FFFFFF;
    margin-top: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero .engagement-date {
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    color: #FFFFFF;
    margin-top: 20px;
    letter-spacing: 1px;
}

.divider {
    width: 80px;
    height: 1px;
    background-color: var(--primary-color);
    margin: 25px auto;
}

/* Couple Section */
.couple {
    padding: 70px 0;
    text-align: center;
    background-color: var(--light-color);
}

.section-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.section-subtitle {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.couple-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    padding: 0 20px;
    font-weight: 300;
}

.couple .engagement-date-thanks {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--text-color-light);
    margin-top: 30px;
    text-align: center;
    opacity: 0.9;
}

/* Gallery */
.gallery {
    padding: 70px 0;
    background-color: var(--secondary-color);
}

.gallery-header {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-categories-wrapper {
    width: 100%;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.gallery-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px;
}

.category-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 7px 14px;
    margin: 5px;
    font-size: 13px;
    color: #777;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.category-btn:hover, .category-btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.gallery-actions {
    text-align: center;
    margin-bottom: 30px;
}

/* Gallery Grid */
.gallery-grid {
    columns: 3;
    column-gap: 10px;
    padding: 10px;
    width: 100%;
}

@media (max-width: 1200px) {
    .gallery-grid {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        columns: 2;
        column-gap: 8px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        columns: 2;
        column-gap: 6px;
        padding: 6px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-bottom: 10px;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.video-section .section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.video-section .section-title {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 28px;
    line-height: 1.2;
}

.video-section .section-subtitle {
    color: var(--primary-color);
    font-size: 13px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    padding-top: 50.625%; /* 16:9 Aspect Ratio (56.25% of 90%) */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* Guestbook Section */
.guestbook {
    padding: 70px 0;
    background-color: var(--secondary-color);
    text-align: center;
}

.guestbook-intro {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    padding: 0 20px;
    margin-bottom: 30px;
    font-weight: 300;
}

.guestbook-form {
    margin-bottom: 40px;
    padding: 0 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 14px;
    background-color: var(--light-color);
    transition: border-color 0.2s ease;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.submit-btn:hover {
    background-color: #c19b78;
}

/* Novo estilo para o formulário */
.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.form-status.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-status.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Guestbook Messages */
.guestbook-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.guestbook-messages {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: flex-start;
}

.guestbook-messages::-webkit-scrollbar {
    display: none;
}

.message-card {
    flex: 0 0 auto;
    width: 80%;
    max-width: 80%;
    scroll-snap-align: start;
    margin: 0;
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    text-align: left;
    height: auto;
    min-height: 50px;
    display: flex;
    flex-direction: column;
}

.message-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.message-name {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.message-name::before {
    content: attr(data-initial);
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.message-text {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    position: relative;
    padding-left: 8px;
    text-align: left;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    min-height: 20px;
    max-height: none;
    overflow: visible;
    display: block;
}

.message-text::before {
    content: "❝";
    position: absolute;
    left: -8px;
    top: -4px;
    font-size: 16px;
    color: var(--primary-color);
    opacity: 0.3;
}

.message-date {
    font-size: 11px;
    color: #888;
    text-align: left;
    display: block;
    margin-top: auto;
    flex-shrink: 0;
}

/* Guestbook Controls */
.guestbook-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
}

.nav-btn {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .guestbook-messages {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 0;
    }
    
    .message-card {
        padding: 14px;
    }
    
    .message-text {
        font-size: 13px;
    }
    
    .message-date {
        font-size: 10px;
    }
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
}

.footer-title {
    font-size: 24px;
    font-family: var(--font-cursive);
    font-weight: 700;
    margin-bottom: 20px;
}

.heart {
    color: var(--primary-color);
    font-size: 120%;
    animation: heartbeat 1s infinite;
}

.copyright {
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.7;
}

.developer {
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.7;
}

.developer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-weight: 400;
}

.developer a:hover {
    opacity: 0.9;
    text-decoration: underline;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    border-radius: 16px;
    overflow: hidden;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
    backdrop-filter: blur(4px);
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-download {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
    backdrop-filter: blur(4px);
}

.lightbox-download:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-download svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
    
    .lightbox-controls {
        top: 10px;
        right: 10px;
    }
    
    .lightbox-btn {
        width: 36px;
        height: 36px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Animation for loading */
@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Loading spinner */
.spinner-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner-container.loaded {
    opacity: 0;
    pointer-events: none;
}

/* Enhanced Story Slideshow Styles */
.story-slideshow {
    display: none;
}

.story-header,
.story-content,
.story-image-container,
.story-slide,
.story-nav-btn,
.story-like-btn,
.heart-animation,
.floating-heart,
.double-tap-area,
.big-heart {
    display: none;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .story-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .story-like-btn {
        width: 40px;
        height: 40px;
    }
    
    .story-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .story-progress-dots {
        bottom: 100px;
    }
    
    .story-slide img {
        padding: 4px;
    }
    
    .big-heart {
        font-size: 100px;
    }
} 