        /*
        rgb(25,47,89) น้ำเงินเข้ม
        rgb(58,104,165) น้ำเงินกลาง
        rgb(153,109,71) น้ำตาลอ่อน
        rgb(217,128,57) ส้มอบอุ่น
        rgb(245, 240, 230)

        */
        :root {
            --primary-color: #d4af37;
            --secondary-color: #f8f5f0;
            --accent-color: #e8b4cb;
            --text-dark: #2c2c2c;
            --text-light: #666;
        }

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

        body {
            font-family: "Kanit", sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: linear-gradient(135deg, #faf9f7 0%, #f5f2ee 100%);
            overflow-x: hidden;

        }


        .hero-content {
            color: white;
            max-width: 800px;
            padding: 2rem;
            z-index: 2;
             font-family: 'Dancing Script', cursive;
        }


      
        .couple {
            background-color: white;
        }

        .couple-names {
           /* font-family: 'Dancing Script', cursive; */
            font-family: "Kanit", sans-serif;
            font-size: 1.7rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            animation: fadeInUp 1s ease-out;
        }

        .wedding-date {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            margin-bottom: 2rem;
            opacity: 0.95;
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        .countdown-container {
            background: rgba(255,255,255,0.9);
            padding: 2rem;
            border-radius: 20px;
            margin: 2rem auto;
            max-width: 600px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .countdown-title {
            color: var(--primary-color);
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
        }

        .countdown {
            display: flex;
            justify-content: space-around;
            gap: 1rem;
        }

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

        .countdown-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            display: block;
            background: linear-gradient(135deg, var(--primary-color), #b8941f);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

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

        .action-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-top: 2rem;
            flex-wrap: wrap;
            animation: fadeInUp 1s ease-out 0.9s both;
        }

        .btn-wedding {
            background: linear-gradient(135deg, var(--primary-color), #b8941f);
            border: none;
            color: white;
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
        }

        .btn-wedding:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
            color: white;
        }

        .btn-outline-wedding {
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            background: rgba(255,255,255,0.9);
            padding: 13px 28px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

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

        .qr-section {
            background: white;
            padding: 3rem 0;
            text-align: center;
        }

        .qr-container {
            max-width: 400px;
            margin: 0 auto;
            padding: 2rem;
            background: linear-gradient(135deg, var(--secondary-color), white);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .qr-code {
            width: 200px;
            height: 200px;
            margin: 1rem auto;
            background: white;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .floating-hearts {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
        }

        .heart {
            position: absolute;
            color: rgba(232, 180, 203, 0.6);
            font-size: 1.5rem;
            animation: floatHeart 6s infinite linear;
            
        }

        .heart {
        position: absolute;
         color: rgba(232, 180, 203, 0.6);
          font-size: 1.5rem;
        bottom: 0;
        animation-name: floatUp;
  
        animation-timing-function: ease-in-out;
        animation-fill-mode: forwards;
        pointer-events: none;
    
        }

        @keyframes floatUp {
        0% {
            transform: translateY(0) rotate(0deg);
            opacity: 0;
        }
        10% {
            opacity: 1;
        }
        50% {
         /*   transform: translateY(-50vh) scale(1.2); */
              transform: translateY(-50vh) rotate(360deg);
              opacity: 0.3;
        }
        90% {
            opacity: 0.5;
        }
        100% {
            transform: translateY(-100vh) rotate(0deg);
            opacity: 0;
        }
        }


        .map-section {
            background: var(--secondary-color);
            padding: 4rem 0;
        }

        .map-container {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            text-align: center;
        }

        .location-info {
            margin-bottom: 2rem;
        }

        .location-name {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

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

        .language-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            background: rgba(255,255,255,0.9);
            border-radius: 25px;
            padding: 5px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .lang-btn {
            border: none;
            background: transparent;
            padding: 8px 12px;
            border-radius: 20px;
            transition: all 0.3s ease;
            font-weight: 600;
        }

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

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

        @keyframes floatHeart {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }

        
       /* ส่วน custom  ----------------------------------------------------*/

         .weddingtime {
           /* font-family: 'Dancing Script', cursive; */
            font-family: "Kanit", sans-serif;
            font-size: 2rem;
            font-weight: 700;
            font-style: italic;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            animation: fadeInUp 1s ease-out;
            color:#192f59;
        }

        .weddingtime small { font-weight: 400;}

        .box-story-image {
            height: 500px;
            background: url(images/story-1.jpg) center no-repeat;
            background-size: cover;
            margin:0;
            padding:0;
        }

        .circle-wrapper {
            position: relative;
            width: 380px;
            height: 380px;
            border-radius: 50%;
            overflow: hidden;
            /*margin: 0 auto;
            display: block;
           */
        }

      .circle-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        animation: zoomSmooth 30s ease-in-out infinite;
        transform-origin: center center;
        }

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

        .inner-border {
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
            border: 1px solid #cccccc; /* สีของเส้นขอบด้านใน */
            border-radius: 50%;
            pointer-events: none; /* ไม่ให้รบกวนการคลิก */
        }


        .circleWomen {
            position: relative;
            z-index: 2;
            margin-right: -40px;
        }

        .circleMan {
            position: relative;
            z-index: 1;
        }
   

        /* Background slide show */
        .background-slideshow {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        }

        .bg-image {
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        animation: zoomFade 30s ease-in-out infinite;
        opacity: 0;
        }

        .image1 {
        background-image: url('images/story-1.jpg');
        /*animation-delay: 0s;*/
        animation: bg-fade-out 18s infinite;
        }

        .image2 {
        background-image: url('images/story-2.jpg');
        animation-delay: 6;
        }

        .image3 {
        background-image: url('images/story-3.jpg');
        animation-delay: 12s;
        }

        @keyframes zoomFade {
        0%   { transform: scale(1); opacity: 0; }
        10%  { opacity: 1; }
        50%  { transform: scale(1.05); opacity: 1; }
        90%  { opacity: 1; }
        100% { transform: scale(1); opacity: 0; }
        }

        @keyframes bg-fade-out {
        0% {opacity: 0;}
        8.333%{opacity:1}
        33.333%{opacity:1}
        41.666% {opacity: 0;}
        }

        .content-overlay {
        position: relative;
        z-index: 1;
        text-align: center;
        padding-top: 20vh;
        color: #fff;
        font-family: "Kanit", sans-serif;
        text-shadow: 0 2px 6px rgba(0,0,0,0.5);
        }
        /* End of Background slide show */


        /* gallery */
        .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        padding: 40px 20px;
        }
        .thumb {
        width: 320px;
        height: 400px;
        overflow: hidden;
        border: 2px solid #ddd;
        border-radius: 12px;
        transition: transform 0.6s ease, box-shadow 0.4s ease;
        perspective: 1000px;
        }

        .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
        transform: rotate(0deg) scale(1);
        }

        .thumb:hover img {
        transform: rotate(3deg) scale(1.08);
        }

        .thumb:hover {
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        }


        .thumb:hover img {
        transform: rotate(5deg) scale(1.08);
        }
        /* end of gallery */

        /* Theme wedding */
        .theme-wedding {
        background: linear-gradient(to bottom, #fffafc, #f0f8ff);
        font-family: "Kanit", sans-serif;
        color: #192f59;
        }

        .theme-wedding h2 {
        font-size: 2.5rem;
        color: #d63384;
        }

        .theme-wedding .card {
        transition: transform 0.3s ease;
        }

        .theme-wedding .card:hover {
        transform: scale(1.03);
        }

        .lineTopButtom {
            border-top:4px solid #192f59;
            border-bottom:4px solid #192f59;
        }

        .textDate {
                font-family: "Kanit", sans-serif;
                font-weight:700;
                color: #192f59;
        }

        .textDay, .textMonth {
             font-family: "Kanit", sans-serif;
             font-weight:700;
             color: #333333;
        }

        .responsive-text {
             font-size: clamp(1rem, 2vw + 1rem, 2rem);
        }

         .theme-section {
            padding: 2rem 0;
        }

        .theme-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 0;
        }

        .theme-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            transition: transform 0.2s ease;
            border: 2px solid transparent;
        }

        .theme-circle:hover {
            transform: scale(1.1);
        }

        .theme-circle.active {
            border-color: #333;
            transform: scale(1.15);
        }

        /* สีธีม */
        .theme-navy { background-color: #2c5aa0; }
        .theme-teal { background-color: #20b2aa; }
        .theme-gold { background-color: #daa520; }
        .theme-silver { background-color: #c0c0c0; }

        /* End of Theme wedding */
        /* จบส่วน custom  ----------------------------------------------------*/


        @media (max-width: 768px) {
            .couple-names {
                font-size: 1rem;
            }
            
            .countdown {
                flex-wrap: wrap;
                gap: 1rem;
            }
            
            .countdown-item {
                flex: 0 0 45%;
            }
            
            .action-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn-wedding, .btn-outline-wedding {
                width: 250px;
            }
            
            .circle-wrapper {
                width: 180px;
                height: 180px;
            }

            .circleWomen {
                margin-right: -20px;
            }

            .circleMan {
                z-index: 1;
            }
   
        }

