@font-face {
    font-family: 'Classica One';
    src: url('Classica_One.ttf') format('truetype'); /* Safari, Android, iOS */
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    background: #F7E8DC;
    font-family: 'Cormorant Garamond', serif;
    overflow-x: hidden;
}

.header {
    height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 100;
}

.logo-circle {
    font-family: 'Classica One', serif;
    width: 126px;
    height: 126px;
    border: 1px solid #7F5E2E;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #7F5E2E;
}

.text-in-logo {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1;
    padding-top: 20px;
}

.date-section {
    display: flex;
    align-items: center;
    color: #7F5E2E;
    font-size: 26px;
}

.date-line {
    width: 60px;
    height: 1px;
    background-color: #7F5E2E;
    margin-right: 15px;
    margin-left: 15px;
}

.main {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    padding-top: 0;
}

.names-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 120px;
    color: #7F5E2E;
    text-align: center;
    flex: 0 0 auto;
}

.first-letter {
    font-family: 'Classica One', serif;
    margin-right: 3px;
}

.couple-photo {
    width: 270px;
    height: 390px;
    overflow: hidden;
    border: 2px solid #ffffff;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

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

.corner-photo {
    position: absolute;
    top: 100px;
    left: 200px;
    z-index: 10;
    width: 200px;
    height: 265px;
    overflow: hidden;
    border: 2px solid #ffffff;
    transform: rotate(-15deg);
}

.corner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.corner-photo-right {
    position: absolute;
    bottom: 100px;
    right: 100px;
    z-index: 10;
    width: 200px;
    height: 265px;
    overflow: hidden;
    border: 2px solid #ffffff;
    transform: rotate(15deg);
}

.scroll-indicator {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: #7F5E2E;
    text-align: center;
    z-index: 10;
    animation: bounce 2s infinite;
}

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

.corner-photo-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.invitation-text {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: #7F5E2E;
    text-align: center;
    z-index: 10;
}

svg {
    overflow: visible;
    margin-top: -120px;
}

@media (max-width: 768px) {
    .date-section {
        display: none;
    }

    .header {
        justify-content: center;
        padding: 0;
    }

    /*.main {*/
    /*    display: block;*/
    /*}*/
    .names-section {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .name {
        font-size: 40px;
    }

    .couple-photo {
        display: none;
    }

    .invitation-text {
        font-size: 14px;
        bottom: 25%;
        width: 185px;
    }

    .corner-photo {
        top: 35vh;
        left: 0;
        z-index: 10;
        width: 100px;
        height: 135px;
        max-width: 25vw;
    }

    .corner-photo-right {
        bottom: 35vh;
        right: 2vw;
        width: 100px;
        height: 135px;
        max-width: 25vw;
        transform: rotate(5deg);
    }

    svg {
        max-width: 100%;
        max-height: 100vw;
        margin: 0 auto;
        width: auto;
        height: auto;
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }
}

.invitation-section {
    background: #F7E8DC;
    font-family: 'Cormorant Garamond', serif;
    color: #7F5E2E;
    padding-bottom: 80px;
}

.invitation-content {
    max-width: 80vw;
    margin: 0 auto;
    text-align: center;
}

.invitation-content h2 {
    font-size: 45px;
    margin-bottom: 30px;
    color: #7F5E2E;
}

.invitation-content p {
    font-size: 35px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.date-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.wedding-day-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 3px;
    color: #a0886b;
    margin-bottom: 10px;
}

.date-heart {
    position: relative;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, rgba(255, 182, 193, 0.8) 0%, rgba(255, 160, 180, 0.6) 50%, rgba(255, 192, 203, 0.4) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 182, 193, 0.4);
    animation: heartbeat 2s ease-in-out infinite;
}

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

.date-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #8b6d47;
    line-height: 1;
}

.date-month {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #8b6d47;
}

.date-left {
    display: flex;
    align-items: flex-end;
    color: #7F5E2E;
    font-size: 26px;
    align-self: flex-end;
}

.date-right {
    display: flex;
    align-items: flex-start;
    color: #7F5E2E;
    font-size: 24px;
    align-self: flex-start;
}

.event-details {
    display: flex;
    justify-content: space-around;
    margin: 80px 0;
    gap: 40px;
}

.detail-item {
    flex: 1;
    padding: 30px;
    border: 1px solid #7F5E2E;
    background: rgba(255, 255, 255, 0.5);
}

.detail-item h3 {
    font-family: 'Classica One', serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: #7F5E2E;
}

.detail-item p {
    margin: 10px 0;
    font-size: 16px;
}

.closing-text {
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
}

.signature {
    font-family: 'Classica One', serif;
    font-size: 22px;
    margin-top: 20px;
    font-style: italic;
}

@media (max-width: 768px) {
    .invitation-section {
        padding: 0 15px;
        width: 100%;
    }

    .invitation-content h2 {
        font-size: 28px;
    }

    .invitation-content p {
        font-size: 16px;
    }

    .event-details {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .date-left {
        align-self: center;
    }
    .date-right {
        align-self: center;
        font-size: 18px;
    }

    .detail-item {
        padding: 20px;
    }

    .detail-item h3 {
        font-size: 20px;
    }

    .closing-text {
        font-size: 18px;
    }

    .signature {
        font-size: 18px;
    }
}

.restaurant-section {
    background: #FFFFFF;
    padding: 80px 20px;
    font-family: 'Cormorant Garamond', serif;
    color: #7F5E2E;
}

.restaurant-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.restaurant-info {
    flex: 1;
    text-align: right;
}

.restaurant-info h2 {
    font-size: 45px;
    margin-bottom: 20px;
    color: #7F5E2E;
}

.restaurant-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #7F5E2E;
}

.restaurant-info p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.restaurant-details {
    margin: 30px 0;
    background: rgba(127, 94, 46, 0.05);
    padding: 20px;
    border-left: 3px solid #7F5E2E;
}

.restaurant-details p {
    margin: 10px 0;
    font-size: 16px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    background: #B8956B;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: normal;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    gap: 10px;
}

.map-link:hover {
    background: #6d4f26;
}

.restaurant-images {
    flex: 1;
    position: relative;
    height: 400px;
}

.restaurant-images::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    bottom: -20px;
    background: radial-gradient(ellipse at center, rgba(255, 182, 193, 0.8) 0%, rgba(255, 192, 203, 0.4) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.restaurant-image {
    position: absolute;
    overflow: hidden;
    border: 2px solid #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.restaurant-image:first-child {
    top: 0;
    right: 50px;
    width: 280px;
    height: 220px;
    z-index: 2;
}

.restaurant-image:last-child {
    bottom: 30px;
    left: 100px;
    width: 200px;
    height: 180px;
    transform: rotate(-8deg);
    z-index: 1;
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .restaurant-section {
        padding: 60px 15px;
        width: 100%;
    }
    
    .restaurant-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .restaurant-info {
        text-align: center;
    }
    
    .restaurant-info h2 {
        font-size: 32px;
    }
    
    .restaurant-info h3 {
        font-size: 24px;
    }
    
    .restaurant-info p {
        font-size: 16px;
    }
    
    .restaurant-images {
        width: 100%;
        min-height: 300px;
        height: 300px;
        position: relative;
        display: block;
    }
    
    .restaurant-image:first-child {
        top: 20px;
        right: 20px;
        width: 200px;
        height: 150px;
        transform: rotate(-3deg);
    }
    
    .restaurant-image:last-child {
        bottom: 20px;
        left: 20px;
        width: 160px;
        height: 120px;
        transform: rotate(5deg);
    }
    
    .restaurant-image img {
        height: 100%;
    }
}

.schedule-section {
    background: #FFFFFF;
    padding: 80px 20px;
    font-family: 'Cormorant Garamond', serif;
    color: #7F5E2E;
}

.schedule-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.schedule-content h2 {
    font-size: 45px;
    margin-bottom: 50px;
    color: #7F5E2E;
}

.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #7F5E2E;
    transform: translateX(-50%);
}

.schedule-item {
    display: flex;
    align-items: center;
    position: relative;
}

.schedule-item:nth-child(odd) {
    justify-content: flex-end;
}

.schedule-item:nth-child(even) {
    justify-content: flex-start;
}

.schedule-time {
    font-family: 'Classica One', serif;
    font-size: 28px;
    color: #7F5E2E;
    background: #FFFFFF;
    border: 2px solid #7F5E2E;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.schedule-description {
    max-width: 300px;
    text-align: left;
    padding: 20px;
    background: rgba(127, 94, 46, 0.05);
    border-left: 3px solid #7F5E2E;
    margin: 0 60px;
}

.schedule-item:nth-child(even) .schedule-description {
    border-left: none;
    border-right: 3px solid #7F5E2E;
    text-align: right;
}

.schedule-description h3 {
    font-family: 'Classica One', serif;
    font-size: 20px;
    margin-bottom: 8px;
    color: #7F5E2E;
}

.schedule-description p {
    font-size: 16px;
    margin: 0;
    color: #7F5E2E;
}

@media (max-width: 768px) {
    .schedule-section {
        padding: 60px 15px;
        width: 100%;
    }
    
    .schedule-content h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .schedule-timeline::before {
        left: 40px;
    }
    
    .schedule-item {
        justify-content: flex-start !important;
    }
    
    .schedule-time {
        position: absolute;
        left: 40px;
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
    
    .schedule-description {
        max-width: none;
        margin-left: 120px;
        margin-right: 0;
        text-align: left !important;
        border-left: 3px solid #7F5E2E !important;
        border-right: none !important;
    }
    
    .schedule-description h3 {
        font-size: 18px;
    }
    
    .schedule-description p {
        font-size: 14px;
    }
}

.dresscode-section {
    background: #FFFFFF;;
    padding: 80px 20px;
    font-family: 'Cormorant Garamond', serif;
    color: #7F5E2E;
}

.dresscode-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    line-height: 55px;
}

.dresscode-content p {
    font-size: 40px;
    margin-bottom: 10px;
    color: #7F5E2E;
}

.dresscode-content h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #7F5E2E;
}

.dresscode-content h4 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #7F5E2E;
}

.color-palettes {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 60px 0;
}

.palette-section h5 {
    font-size: 18px;
    color: #7F5E2E;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.color-item {
    width: 120px;
    height: 40px;
    border-radius: 0;
}

.dresscode-note {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #7F5E2E;
}

.dresscode-note p {
    font-size: 18px;
    color: #7F5E2E;
    font-style: italic;
}

@media (max-width: 768px) {
    .dresscode-section {
        padding: 60px 15px;
        width: 100%;
    }
    
    .dresscode-content h2,
    .dresscode-content h3,
    .dresscode-content h4 {
        font-size: 24px;
    }

    .dresscode-content p {
        font-size: 18px;
    }
    
    .color-item {
        width: 45px;
        height: 30px;
    }
    
    .palette-section h5 {
        font-size: 16px;
    }
    
    .dresscode-note p {
        font-size: 16px;
    }
}

.footer-section {
    background: linear-gradient(135deg, #F4E5D3 0%, #E8D5C4 50%, #F0E6D2 100%);
    padding: 60px 20px;
    font-family: 'Cormorant Garamond', serif;
    color: #F7E8DC;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 200px;
    height: 200px;
    background: url('images/footer.png') no-repeat;
    background-size: contain;
    opacity: 0.3;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-text-left h2,
.footer-text-right h2 {
    font-size: 60px;
    margin: 0;
    color: #B8956B;
    font-weight: normal;
    letter-spacing: 3px;
}

.footer-text-right p {
    font-size: 24px;
    margin: 10px 0 0 0;
    color: #B8956B;
    letter-spacing: 2px;
    font-weight: normal;
}

.footer-photo {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border: 3px solid #FFFFFF;
    transform: rotate(-8deg);
    box-shadow: 0 8px 20px rgba(184, 149, 107, 0.3);
    z-index: 2;
}

.footer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .footer-section {
        padding: 40px 15px;
        width: 100%;
    }
    
    .footer-section::before {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-text-left h2,
    .footer-text-right h2 {
        font-size: 40px;
    }
    
    .footer-text-right p {
        font-size: 18px;
    }
    
    .footer-photo {
        width: 150px;
        height: 150px;
        margin-top: -30px;
        transform: rotate(-5deg);
    }
}