/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7d3c4f;
    --secondary-color: #5e2c3e;
    --accent-color: #f5e8ec;
    --marsala-light: #a95571;
    --marsala-dark: #4a1f2e;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #fafafa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    padding-top: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(93, 44, 62, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.navbar.visible {
    transform: translateY(0);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: start;
}

.navbar-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
}

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

.navbar-logo-svg {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.navbar-pix {
    justify-self: end;
}

.navbar-names {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    display: none;
}

.navbar-pix {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: var(--transition);
    justify-self: end;
}

.navbar-pix:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.navbar-pix svg {
    width: 24px;
    height: 24px;
}

.navbar-pix-text {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.2) 100%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.couple-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
    animation: zoomIn 0.8s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.couple-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.wedding-date {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Story Section */
.story {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.story-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.story-content p {
    margin-bottom: 1.5rem;
}

.story-highlight {
    color: var(--secondary-color);
    font-weight: 500;
    font-style: italic;
    margin-top: 2rem !important;
    padding: 1.5rem;
    background: var(--accent-color);
    border-radius: 12px;
}

/* Progress Section */
.progress-section {
    padding: 5rem 0;
    background: var(--accent-color);
}

.progress-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
}

.progress-info {
    text-align: center;
}

.progress-amount {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.current-amount {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.goal-amount {
    font-size: 1.1rem;
    color: var(--text-light);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50px;
    transition: width 1s ease-out;
    width: 0%;
}

.progress-percentage {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* PIX Section */
.pix-section {
    padding: 5rem 0;
    background: var(--white);
}

.pix-card {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    text-align: center;
}

.pix-icon {
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.pix-icon svg {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.pix-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.pix-key-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#pixKey {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1rem;
    text-align: center;
    font-family: 'Courier New', monospace;
    backdrop-filter: blur(10px);
}

#pixKey::selection {
    background: rgba(255, 255, 255, 0.3);
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.copy-btn:active {
    transform: translateY(0);
}

.pix-instructions {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
}

.footer-year {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Responsive Design - Mobile First */
@media (min-width: 768px) {
    .main-title {
        font-size: 4rem;
    }
    
    .wedding-date {
        font-size: 1.5rem;
    }
    
    .couple-image-container {
        width: 250px;
        height: 250px;
    }
    
    .social-links {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .story-content {
        font-size: 1.2rem;
    }
    
    .pix-key-container {
        flex-direction: row;
        align-items: stretch;
    }
    
    #pixKey {
        flex: 1;
    }
    
    .copy-btn {
        flex-shrink: 0;
    }
    
    .navbar-names {
        display: block;
    }
    
    .navbar-image {
        width: 45px;
        height: 45px;
    }
    
    .navbar-logo-svg {
        height: 45px;
    }
    
    .navbar-container {
        padding: 1rem 2rem;
    }
}

@media (min-width: 1024px) {
    .main-title {
        font-size: 5rem;
    }
    
    .couple-image-container {
        width: 300px;
        height: 300px;
    }
    
    .progress-card,
    .pix-card {
        padding: 4rem 3rem;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--white) 50%, var(--accent-color) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
