/* =========================================
   Wedding Template - Styles
   {BYAP} - Andre Paiva
   ========================================= */

/* Skip Link - Acessibilidade */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary, #c9a86c);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.3s ease;
}
.skip-link:focus {
    top: 0;
}

/* Logo SVG */
.logo-svg {
    height: 45px;
    width: auto;
    color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.header.scrolled .logo-svg { color: #333; }
.logo-svg:hover { transform: scale(1.05); opacity: 0.9; }

/* =========================================
   CSS Variables
   ========================================= */
:root {
    --primary: #c9a86c;
    --primary-dark: #b08d4f;
    --secondary: #8b7355;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --black: #000000;
    --bg-light: #f9f7f4;
    --bg-pattern: #f5f0e8;
    --overlay: rgba(0, 0, 0, 0.5);
    --overlay-light: rgba(0, 0, 0, 0.3);
    
    --font-primary: 'Montserrat', sans-serif;
    --font-script: 'Dancing Script', cursive;
    
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius: 50px;
    --radius-sm: 10px;
    
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
}

.title {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text);
}

.subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Fly Line Decoration */
.fly-line {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: var(--primary);
    position: relative;
}

.fly-line::before,
.fly-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

.fly-line::before {
    left: -15px;
}

.fly-line::after {
    right: -15px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .subtitle {
    margin-bottom: 10px;
}

.section-header .title {
    margin-bottom: 20px;
}

.section-header.light .subtitle,
.section-header.light .title {
    color: var(--white);
}

.section-header.light .fly-line {
    background: var(--white);
}

.section-header.light .fly-line::before,
.section-header.light .fly-line::after {
    background: var(--white);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    transition: var(--transition);
    min-height: 50px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--text);
}

.btn-white:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* =========================================
   Preloader
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.heart-loader svg {
    width: 60px;
    height: 60px;
    fill: var(--primary);
    animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.2); }
}

/* =========================================
   Scroll to Top
   ========================================= */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
}

.navbar {
    padding: 20px 0;
}

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

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo .logo-dark {
    display: none;
}

.header.scrolled .logo .logo-white {
    display: none;
}

.header.scrolled .logo .logo-dark {
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header.scrolled .nav-link {
    color: var(--text);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.header.scrolled .menu-toggle span {
    background: var(--text);
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -400px;
    width: 350px;
    max-width: 90%;
    height: 100%;
    background: var(--white);
    z-index: 1001;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.side-menu.active {
    left: 0;
}

.side-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-menu-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--text);
}

.mega-title {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.side-nav {
    flex: 1;
}

.side-nav .logo {
    display: block;
    margin-bottom: 30px;
}

.side-nav .logo img {
    height: 40px;
}

.side-nav-menu li {
    margin-bottom: 15px;
}

.side-nav-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.side-nav-menu a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.side-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.side-footer .social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.side-footer .social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
}

.side-footer .social-icons svg {
    width: 18px;
    height: 18px;
}

.side-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 1;
}

.snow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-family: var(--font-script);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 500;
    margin-bottom: 20px;
    animation: scaleIn 1s ease;
}

.hero-text {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease;
}

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

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

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

/* Hero Navigation */
.hero-nav {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 3;
}

.hero-nav-dot {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid var(--white);
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
}

.hero-nav-dot::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 0;
    background: var(--white);
    transition: var(--transition);
}

.hero-nav-dot.active {
    background: var(--white);
}

.hero-nav-dot.active::after {
    height: 30px;
    top: -35px;
}

/* Hero Social */
.hero-social {
    position: absolute;
    bottom: 100px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 3;
}

.hero-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: var(--transition);
}

.hero-social a:hover {
    background: var(--white);
    color: var(--text);
}

.hero-social svg {
    width: 18px;
    height: 18px;
}

/* Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-down svg {
    width: 30px;
    height: 30px;
    stroke: var(--white);
}

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

/* =========================================
   About Section
   ========================================= */
.about {
    padding: 100px 0;
    background: var(--bg-pattern);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.about-card {
    text-align: center;
}

.about-heading {
    margin-bottom: 30px;
}

.about-heading .subtitle {
    display: block;
    margin-bottom: 10px;
}

.about-heading .title {
    font-family: var(--font-script);
    font-size: 2.5rem;
}

.about-image {
    position: relative;
    margin-bottom: 30px;
    padding: 15px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--primary);
    z-index: -1;
}

.about-image img {
    width: 100%;
}

.about-description {
    padding: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.about-description p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-description .quote {
    font-family: var(--font-script);
    font-size: 1.25rem;
    color: var(--primary);
}

/* =========================================
   Countdown Section
   ========================================= */
.countdown {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

.countdown-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.countdown-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.countdown-title {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 15px;
}

.countdown-subtitle {
    font-size: 1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.countdown-date {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 40px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

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

.countdown-number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* =========================================
   Friends Section
   ========================================= */
.friends {
    padding: 100px 0;
    background: var(--white);
}

.friends-slider {
    overflow: hidden;
}

.friends-track {
    display: flex;
    gap: 30px;
}

.friend-card {
    flex: 0 0 calc(25% - 22.5px);
    text-align: center;
}

.friend-image {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
}

.friend-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.friend-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.friend-card:hover .friend-overlay {
    opacity: 1;
}

.friend-social {
    display: flex;
    gap: 15px;
}

.friend-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--text);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.friend-card:hover .friend-social a {
    transform: translateY(0);
    opacity: 1;
}

.friend-card:hover .friend-social a:nth-child(2) {
    transition-delay: 0.1s;
}

.friend-card:hover .friend-social a:nth-child(3) {
    transition-delay: 0.2s;
}

.friend-social svg {
    width: 18px;
    height: 18px;
}

.friend-name {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.friend-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =========================================
   Gallery Section
   ========================================= */
.gallery {
    padding: 100px 0;
    background: var(--bg-light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 30px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: var(--radius);
    transition: var(--transition);
}

.filter-btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    background: var(--bg-light);
    border-radius: 50%;
    margin-left: 8px;
}

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

.filter-btn:hover span,
.filter-btn.active span {
    background: rgba(255,255,255,0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h4 {
    transform: translateY(0);
}

.gallery-overlay .fly-line {
    background: var(--white);
    transform: scaleX(0);
    transition: var(--transition);
}

.gallery-overlay .fly-line::before,
.gallery-overlay .fly-line::after {
    background: var(--white);
}

.gallery-item:hover .gallery-overlay .fly-line {
    transform: scaleX(1);
}

.gallery-item.hidden {
    display: none;
}

/* =========================================
   Stats Section
   ========================================= */
.stats {
    padding: 100px 0;
    background: var(--bg-pattern);
}

.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
}

.stat-item {
    text-align: center;
    min-width: 150px;
}

.stat-item svg {
    width: 50px;
    height: 50px;
    stroke: var(--primary);
    margin-bottom: 20px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   Timeline Section
   ========================================= */
.timeline-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.timeline-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.timeline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.timeline-section .container {
    position: relative;
    z-index: 1;
}

.timeline-year {
    text-align: center;
    margin: 60px 0 40px;
}

.timeline-year:first-of-type {
    margin-top: 0;
}

.timeline-year h4 {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 40px;
}

.timeline-item.left {
    padding-right: 60px;
    text-align: right;
}

.timeline-item.right {
    margin-left: 50%;
    padding-left: 60px;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid var(--white);
    border-radius: 50%;
}

.timeline-item.left::before {
    right: -8px;
}

.timeline-item.right::before {
    left: -8px;
}

.timeline-content {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--primary);
}

.timeline-date em {
    opacity: 0.8;
}

/* =========================================
   Testimonials Section
   ========================================= */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    align-items: stretch;
    transition: transform 0.5s ease;
}

.testimonial-card {
    text-align: center;
    padding: 40px;
    min-width: 100%;
    flex: 0 0 100%;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 20px;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary);
    color: var(--white);
}

.slider-prev svg,
.slider-next svg {
    width: 24px;
    height: 24px;
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
    background: var(--bg-light);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.contact-box {
    padding: 60px 30px;
    text-align: center;
    background: var(--white);
    border-right: 1px solid #eee;
}

.contact-box:last-child {
    border-right: none;
}

.contact-box svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
    margin-bottom: 20px;
}

.contact-box h5 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.contact-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.map-container {
    height: 420px;
    background: var(--bg-pattern);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-copy {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-copy a {
    color: var(--primary);
}

/* =========================================
   Lightbox
   ========================================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--primary);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* =========================================
   Modal
   ========================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 600px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--text);
}

.modal-title {
    font-family: var(--font-script);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

.rsvp-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 15px;
    font-family: inherit;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

.rsvp-form textarea {
    resize: vertical;
    margin-bottom: 20px;
}

.rsvp-form .btn {
    width: 100%;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .friend-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-nav,
    .hero-social {
        display: none;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        width: calc(50% - 15px);
    }
    
    .friend-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        gap: 40px;
    }
    
    .stat-item {
        width: calc(50% - 20px);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        margin-left: 0;
    }
    
    .timeline-item::before {
        left: 12px !important;
        right: auto !important;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-box {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .contact-box:last-child {
        border-bottom: none;
    }
    
    .rsvp-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .friend-card {
        flex: 0 0 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}

/* =========================================
   Reduced Motion
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== BYAP Logo Styles ===== */
.logo-text {
    font-family: "Oswald", "Bebas Neue", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: inherit;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.logo-text .bracket {
    color: var(--color-primary, #e50914);
    font-weight: 800;
}

.logo a.logo,
.logo a.footer-logo,
a.mobile-logo,
a.side-menu-logo {
    text-decoration: none;
    color: inherit;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
}
/* ===== End BYAP Logo ===== */



/* ============================================
   FAANG-LEVEL ROUND 2 - UX & INTERACTION
   ============================================ */

/* Active States for All Interactive Elements */
button:active,
a:active,
[role="button"]:active,
.btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

/* Enhanced Hover States */
button:hover,
a:hover,
[role="button"]:hover,
.btn:hover {
  transform: translateY(-1px);
}

/* Haptic-like Feedback (visual) */
@keyframes haptic-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.97); }
}

.haptic:active {
  animation: haptic-pulse 0.15s ease-out;
}

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

.loading-shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.1) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Interaction Feedback */
input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
  border-color: var(--cor-primaria, #6366f1);
}

/* Better Disabled State */
button:disabled,
input:disabled,
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Micro-interactions */
.card,
.btn,
article {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Spring Animation */
@keyframes spring {
  0% { transform: scale(0.8); opacity: 0; }
  70% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.animate-spring {
  animation: spring 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Subtle Entrance Animation */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

/* Stagger Animation Helper */
.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }

/* Premium Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--cor-primaria, #6366f1), var(--cor-secundaria, #a855f7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Premium Button */
.btn-premium {
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-premium:hover::before {
  transform: translateX(100%);
}


/* Garantir que imagens carregadas apareçam */
img.loaded {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Esconder skeletons quando carregado */
.skeleton-container.loaded .skeleton-placeholder,
.skeleton-container.loaded .skeleton,
.loaded > .skeleton {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Fallback visual para elementos vazios */
.bento-card:empty,
.card:empty,
.portfolio-item:empty {
  min-height: 100px;
  background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
}

/* Lucide icons fallback */
[data-lucide]:empty::before {
  content: "•";
  font-size: 1.5em;
  opacity: 0.3;
}



/* ========================================
   BYAP Fix: Robust Visual Fallbacks
   ======================================== */

/* Garantir que imagens carregadas apareçam */
img.loaded {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Forçar imagens a aparecerem após 2s mesmo sem .loaded */
@keyframes forceShow {
  to { opacity: 1; }
}

img[data-src], img.lazy {
  animation: forceShow 0.3s ease 2s forwards;
}

/* Esconder skeletons quando carregado */
.skeleton-container.loaded .skeleton-placeholder,
.skeleton-container.loaded .skeleton,
.loaded > .skeleton {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Esconder skeletons após 3s */
@keyframes hideSkeleton {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.skeleton-placeholder,
.skeleton {
  animation: hideSkeleton 0.3s ease 3s forwards;
}

/* Fallback visual para elementos vazios */
.bento-card:empty,
.card:empty,
.portfolio-item:empty {
  min-height: 100px;
  background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
}

/* Lucide icons - garantir tamanho */
[data-lucide] svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
}

