
/* Body Pattern 5 */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* Navbar */

#navbar {
    position: fixed;
    width: 100%;
    top: 0;
    transition: top 0.3s ease-in-out;
    z-index: 1000;
}

nav {
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.2rem;
    box-shadow: 0 3px 8px rgba(109, 33, 79, 0.2);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

nav li {
    padding: 0.5rem;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    border-radius: 8px;
}

nav a:hover {
    border-color: #fc427b;
    color: #fc427b;
    transform: translateY(-2px);
}

/* ทำให้ responsive สำหรับหน้าจอมือถือ */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    nav li {
        width: 100%;
        text-align: center;
    }
}


/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }

    /* Animation for hamburger menu */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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



/* Hero Section */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background: linear-gradient(135deg, #4C0033 0%, #6D214F 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, #4C0033 0%, #6D214F 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Glitch Effect */
.glitch-wrapper {
    position: relative;
}

.hero-title.glitch {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #fc427b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title.glitch:hover::before,
.hero-title.glitch:hover::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.hero-title.glitch:hover::before {
    color: #fc427b;
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.hero-title.glitch:hover::after {
    color: #ff6b81;
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) reverse both infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* Button Effects */
.cta-button {
    display: inline-block;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-button.primary {
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
    background: #fc427b;
    color: white;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #fc427b;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


.cta-button.secondary.hover-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fc427b;
    transition: 0.5s;
    z-index: -1;
}

.cta-button.secondary.hover-slide:hover {
    color: #ff6b81;
}

.cta-button.secondary.hover-slide:hover::before {
    left: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(76, 0, 51, 0.4);;
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
        display: flex;
        gap: 1rem;
    }
} 




/* About Section Styles */

.about-section {
    padding: 6rem 2rem;
    background-color: #fff6f9;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(44, 62, 80, 0.1) 100%);
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: #2f3542;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2f3542;
    border-radius: 2px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    position: relative;
    z-index: 2;
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-block.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.content-block.reverse .content-info {
    direction: ltr;
}

.content-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image:hover {
    transform: scale(1.05);
}

.image-grid {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.content-image:hover .image-grid {
    opacity: 1;
    transform: translateY(0);
}

.image-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.content-info {
    padding: 2rem;
}

.content-title {
    font-size: 2rem;
    color: #2f3542;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.content-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #2f3542;
    border-radius: 2px;
}

    .content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-block,
    .content-block.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .content-image {
        margin: 0 auto;
        max-width: 600px;
    }

    .main-image {
        height: 300px;
    }

    .image-grid {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        opacity: 1;
        transform: none;
        margin-top: 1rem;
    }

    .content-info {
        text-align: center;
        padding: 1rem;
    }

    .content-title::before {
        display: none;
    }

    .content-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: #2f3542;
        border-radius: 2px;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .content-title {
        font-size: 1.8rem;
    }

    .content-text {
        font-size: 1rem;
    }
}




/* Requirement Section Styles */

.requirements-section {
    padding: 6rem 2rem;
    position: relative;
    background: #ffeef4;
    color: #2f3542;
    overflow: hidden;
}

.requirements-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ffeef4 0%, #ffeef4 100%);
    opacity: 0.8;
    z-index: 1;
}   

.requirements-section .section-title {
    color: #2f3542;
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-align: center;
}

.requirements-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 2px solid #fc427b, 2px solid #fc427b);
    border-radius: 2px;
}

.requirements-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.requirement-card {
    background: #ffffff;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 0 4px 8px rgba(109, 33, 79, 0.12);
}

.requirement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(109, 33, 79, 0.12);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fc427b;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, 2px solid #fc427b 0%, 2px solid #fc427b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: #2f3542;
}

.requirement-title {
    font-size: 1.8rem;
    color: #2f3542;
    margin: 0;
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.requirement-list li:hover {
    transform: translateX(10px);
    background: #ffffff;
}

.spec-icon {
    margin-right: 1rem;
    color: 2px solid #fc427b;
}

.spec-content {
    flex: 1;
}

.spec-label {
    display: block;
    font-weight: 600;
    color: #fc427b;
    margin-bottom: 0.3rem;
}

.spec-value {
    color: #57606f;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .requirements-section {
        padding: 4rem 1rem;
    }

    .requirement-card {
        padding: 1.5rem;
    }

    .card-header {
        margin-bottom: 1.5rem;
    }

    .requirement-title {
        font-size: 1.5rem;
    }

    .requirement-list li {
        padding: 0.8rem;
    }
}

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

.requirement-card {
    animation: fadeInUp 0.6s ease forwards;
}

.requirement-card:nth-child(2) {
    animation-delay: 0.2s;
}




/* Contact Section */

.contact-section {
    padding: 6rem 2rem;
    position: relative;
    background: #fff6f9;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: 1;
}

.contact-section .section-title {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 4rem;
    color: #2f3542;
}

.contact-container {   
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

/* Form Styles */
.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(109, 33, 79, 0.1);
}

.form-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.form-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fc427b, #fc427b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.form-icon i {
    font-size: 1.5rem;
    color: white;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.input-icon {
    width: 40px;
    color: #fc427b;
    font-size: 1.2rem;
    padding-top: 1rem;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    border: none;
    border-bottom: #fc427b;
    background: transparent;
    transition: border-color 0.3s ease;
}

.input-wrapper label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: #2f3542;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: #fc427b;
}

.input-wrapper input:focus + label,
.input-wrapper textarea:focus + label,
.input-wrapper input:not(:placeholder-shown) + label,
.input-wrapper textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: #fc427b;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #fc427b, #fc427b);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* LINE Contact Styles */
.line-contact-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(109, 33, 79, 0.1);
}

.line-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.line-icon {
    width: 50px;
    height: 50px;
    background: #fc427b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.line-icon i {
    font-size: 1.5rem;
    color: #fc427b;
}

.line-content {
    text-align: center;
}

.line-qr {
    margin: 2rem 0;
}

.qr-code {
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(109, 33, 79, 0.1);
}

.line-info {
    margin-top: 2rem;
}

.line-info h4 {
    color: #2f3542;
    margin-bottom: 1rem;
}

.line-info p {
    color: #57606f;
    margin-bottom: 1.5rem;
}

.line-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.line-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #fc427b;
    color: #fc427b;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.line-link:hover { 
    background: #fc427b;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .line-links {
        flex-direction: column;
    }
}



