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

/* CSS Variables */
:root {
    --primary-color: #2c2c2c;
    --secondary-color: #f5f5f5;
    --accent-color: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --text-white: #fff;
    --background-dark: #1a1a1a;
    --background-light: #fafafa;
    
    /* Fonts */
    --font-script: 'Dancing Script', cursive;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
    
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --mobile-padding: 40px 0;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    /*font-family: var(--font-sans);*/
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Menu */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(1px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.9);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: var(--font-script);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::before {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2)), 
                url("FOTO01SITE.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--text-white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1.5s ease-out;
}

.couple-names {
    font-family: "Luxurious Script", cursive;
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: normal;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    white-space: nowrap;
    overflow: visible;
}

.divider {
    width: 150px;
    height: 2px;
    background: var(--accent-color);
    margin: 30px auto;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
}

.wedding-date {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.location {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.countdown-text {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 20px;
    opacity: 0.8;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    padding: 25px 20px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    min-width: 100px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.countdown-item:hover::before {
    left: 100%;
}

.countdown-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 0 20px rgba(255, 255, 255, 0.2);;
}

.countdown-item::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.countdown-number {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    display: block;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.countdown-label {
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    opacity: 0.9;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Section Titles */
.section-title {
    font-family: "Luxurious Script", cursive;
    font-weight: normal;
    font-size: clamp(3.5rem, 6vw, 5rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

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

/* Nossa HistĆ³ria Section */
.nossa-historia {
    padding: var(--section-padding);
    background: var(--background-light);
}

.nossa-historia .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nossa-historia .text-content {
    padding-right: 20px;
}

.nossa-historia .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.nossa-historia p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    /* color: var(--text-light); */
    text-align: justify;
    font-family: "Poppins", sans-serif;
}

.image-content {
    position: relative;
}

.couple-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    /* border-radius: 15px; */
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

.couple-photo:hover {
    transform: scale(1.02);
}

/* InformaĆ§Ćµes Section */
.informacoes {
    padding: var(--section-padding);
    background: var(--text-white);
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.venue-illustration {
    text-align: center;
}

.venue-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    filter: sepia(20%);
}

.venue-details {
    padding-left: 20px;
}

.venue-name {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.event-details p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.event-details strong {
    font-weight: 400;
}

/* Dress Code Section */
.dress-code {
    padding: var(--section-padding);
    background: var(--background-light);
}

.dress-code .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dress-code .text-content {
    padding-right: 20px;
}

.dress-code .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.dress-code p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: justify;
}

.dress-img-new {
    width: 130%;
    height: auto;
    max-width: 1200px; /* Adjust as needed */
    /* border-radius: 10px; */
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
    /* transition: transform 0.3s ease; */
}

.dress-img-new:hover {
    transform: translateY(-5px);
}

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

/* Remove old dress-img styles */
.dress-img {
    display: none;
}

/* Presente Section */
.presente {
    padding: var(--section-padding);
    background: var(--text-white);
}

.presente .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.presente .text-content {
    padding-right: 20px;
}

.presente .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.presente p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
    text-align: justify;
}

.qr-code {
    text-align: center;
}

.qr-img {
    width: 300px;
    height: 300px;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    padding: 20px;
    background: var(--text-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 10px;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.link-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.footer-link:hover .link-icon {
    filter: grayscale(0%);
}

.footer-link span {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.footer-text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: var(--mobile-padding);
    }
    
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        gap: 0;
        padding: 20px 0;
    }

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

    .nav-item {
        margin: 15px 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 15px 0;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        height: 60px;
    }

    .nav-logo {
        font-size: 1.8rem;
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .countdown {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .countdown-item {
        padding: 15px;
        min-width: 80px;
    }
    
    .nossa-historia .content-wrapper,
    .info-content,
    .dress-code .content-wrapper,
    .presente .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nossa-historia .text-content,
    .dress-code .text-content,
    .presente .text-content {
        padding-right: 0;
        order: 2;
    }
    
    .image-content,
    .dress-examples,
    .qr-code {
        order: 1;
    }
    
    .nossa-historia .section-title,
    .dress-code .section-title,
    .presente .section-title {
        text-align: center;
    }
    
    .venue-details {
        padding-left: 0;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .dress-examples {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .dress-img {
        width: 100px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .couple-names {
        font-size: 2.5rem;
    }
    
    .wedding-date {
        font-size: 1rem;
    }
    
    .location {
        font-size: 0.9rem;
    }
    
    .countdown-item {
        padding: 10px;
        min-width: 70px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .venue-name {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .hero {
        background: none;
        color: var(--text-dark);
    }
    
    .footer {
        background: none;
        color: var(--text-dark);
    }
    
    .countdown,
    .footer-links {
        display: none;
    }
}
