/*
Theme Name: Hannaumbe
Theme URI: https://hannaumbe.com
Author: Hannaumbe
Author URI: https://hannaumbe.com
Description: Custom wedding theme for Hanna & Umberto
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hannaumbe
*/

@font-face {
    font-family: 'Citadel';
    src: url('fonts/fonts/Citadel-Regular.eot');
    src: url('fonts/fonts/Citadel-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/fonts/Citadel-Regular.woff2') format('woff2'),
         url('fonts/fonts/Citadel-Regular.ttf')  format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8f4f1;
    color: #363636;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a{
color: #363636;
text-decoration: underline;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
    min-height: 100vh;
}

/* Step animations */
.step {
    display: none;
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s linear;
}

#step-1,
#step-2 {
    min-height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#step-1.active,
#step-2.active {
    display: flex;
}

.step.active {
    display: block;
    animation: fadeIn 0.6s linear forwards;
}

.step.fade-out {
    animation: fadeOut 0.6s linear forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInTopImage {
    from {
        opacity: 0;
        transform: translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(-50%);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Step 3 sequential animations */
.step3-anim-1 {
    opacity: 0;
    transform: translateX(-50%);
}

.step3-anim-2 {
    opacity: 0;
}

.step3-anim-2,
.step3-anim-3 {
    opacity: 0;
}

#step-3 {
    margin-bottom: 64px;
}

#step-3.active .step3-anim-1 {
    animation: fadeInTopImage 1.6s linear 0.5s forwards;
}

#step-3.active .step3-anim-2 {
    animation: fadeIn 1.6s linear 0.6s forwards;
}

#step-3.active .step3-anim-3 {
    animation: fadeIn 1.2s linear 3.5s forwards;
}

/* Step 1: Language Selector */
.heart-container {
    position: relative;
    width: 134px;
    height: 120px;
    margin: 0 auto;
    margin-bottom: 16px;
}

.heart-image {
    width: 134px;
    height: 120px;
    display: block;
}

.heart-base {
    position: relative;
    transition: opacity 0.3s ease;
}

.heart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.heart-overlay.show {
    opacity: 1;
}

.pb-32 {
    padding-bottom: 32px;
}

.language-selector {
    margin-top: 0px;
}

.language-selector a {
    font-family: 'Italianno', cursive;
    font-size: 32px;
    color: #363636;
    text-decoration: none;
    margin: 0 20px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.language-selector a:hover {
    text-decoration: none;
    color: #363636;
}

.language-separator {
    color: #999;
    font-size: 24px;
}

/* Step 2: Password */
.password-container {
    max-width: 400px;
    margin: 0 auto;
}

.password-container h2 {
    margin-bottom: 16px;
    color: #363636;
    font-size: 60px;
    font-family: 'Citadel', cursive;
    font-weight: 300;
    line-height: 60px;
}

.password-container input[type="password"] {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.password-container input[type="password"]:focus {
    outline: none;
    border-color: #363636;
}

.password-container button {
    font-family: 'Italianno', cursive;
    width: 100%;
    padding: 4px;
    font-size: 32px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;font-size: 24px;
    background: transparent;
    border: 1px solid #363636;
    color: #363636;
}


.error-message {
    color: #d9534f;
    margin-top: 15px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Step 3: Main Content */
.top-image {
    max-width: 960px;
    width: 200%;
    margin: 0 auto 32px;
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.main-header-image {
    max-width: 100%;
    margin: 0 auto 30px;
    display: block;
    border-radius: 12px;
}

.main-heading {
    font-family: 'Citadel', cursive;
    font-size: 100px;
    line-height: 100px;
    color: #363636;
    margin-bottom: 0px;
    font-weight: 300;
    letter-spacing: 0px;
}

.wedding-date {
    font-family: 'Italianno', cursive;
    font-size: 28px;
    color: #363636;
    margin-bottom: 64px;
    font-weight: 300;
    line-height: 28px;
}

.tabs-wrapper {
    background: transparent;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.tabs-wrapper::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: black;
    z-index: -1;
}

.tabs {
    display: flex;
    justify-content: left;
    gap: 15px;
    margin-bottom: -1px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.tab-button {
    font-family: 'Italianno', cursive;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #363636;
    border-bottom: 1px solid #363636;
    color: #363636;
    cursor: pointer;
    font-size: 28px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-button:hover,
.tab-button.active {
    background: transparent;
    color: #363636;
    border-bottom-color: #f8f4f1;
}

.tab-content {
    display: none;
    text-align: left;
    padding: 64px;
    width: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    border: 1px solid #363636;
    border-top: 1px solid transparent;
    margin-top: -1px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.tab-content h3 {
    color: #363636;
    margin-bottom: 20px;
    font-size: 28px;
}

.tab-content p {
    margin-bottom: 32px;
    line-height: 1.7;
}

.tab-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.tab-content li {
    margin-bottom: 10px;
}

.venue-container {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.venue-item {
    flex: 1;
    min-width: 0;
}

strong{
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .venue-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-heading {
        font-size: 60px;
        line-height: 60px;
        transform: translateX(-7px);
    }

    .wedding-date {
        font-size: 24px;
        line-height: 22px;
    }

    .top-image {
        width: 120%;
        margin: 0 auto 16px;
    }

    .tab-content h3 {
        font-size: 24px;
    }
    
    .tabs {
        gap: 6px;
        padding-left: 8px;
        padding-right: 80px;
        position: relative;
    }
    
    .tabs-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 41px;
        background: linear-gradient(to right, transparent, rgba(248, 244, 241, 1));
        pointer-events: none;
        z-index: 1;
    }
    
    .tabs-wrapper::after {
        top: 41px;
    }
    .tab-button {
        padding: 8px 16px;
        font-size: 24px;
        line-height: 24px;
    }

    .tab-content {
        padding: 32px;
        border: none;
    }

    .container {
        padding: 0;
        overflow: hidden;
    }

    .wedding-date {
        margin-bottom: 32px;
    }

    #step-3 {
        margin-bottom: 32px;
    }
}
