/* Base Styles - 所有页面共用 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #424242;
    overflow-x: hidden;
}

.greenworld-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.greenworld-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.greenworld-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 2rem;
}

.greenworld-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.greenworld-logo {
    width: 56px;
    height: 29px;
    background-image: url('../img/company-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    flex-shrink: 0;
}

.greenworld-company-name {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.greenworld-company-name-thai {
    font-family: 'Noto Sans Thai', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2E7D32;
    line-height: 1.2;
}

.greenworld-company-name-english {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #757575;
    line-height: 1.2;
}

.greenworld-nav {
    display: flex;
    gap: 2rem;
}

.greenworld-nav-link {
    text-decoration: none;
    color: #424242;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.greenworld-nav-link:hover,
.greenworld-nav-link.greenworld-active {
    color: #2E7D32;
}

.greenworld-nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2E7D32;
    transition: width 0.3s ease;
}

.greenworld-nav-link:hover::after,
.greenworld-nav-link.greenworld-active::after {
    width: 100%;
}

.greenworld-mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.greenworld-mobile-menu span {
    width: 25px;
    height: 3px;
    background: #424242;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section Styles */
.greenworld-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    padding: 1rem 8rem;
    position: relative;
    overflow: hidden;
}

.greenworld-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/hero-bg.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.greenworld-hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
    color: white;
}

.greenworld-hero-title {
    font-family: 'Roboto', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.greenworld-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.greenworld-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.greenworld-btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.greenworld-btn-primary {
    background: #FF9800;
    color: white;
}

.greenworld-btn-primary:hover {
    background: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.3);
}

.greenworld-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.greenworld-btn-secondary:hover {
    background: white;
    color: #2E7D32;
    transform: translateY(-2px);
}

.greenworld-hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.greenworld-hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.greenworld-section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #424242;
}

/* Footer Styles */
.greenworld-footer {
    background: #424242;
    color: white;
    padding: 4rem 0 2rem;
}

.greenworld-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.greenworld-footer-section {
    display: flex;
    flex-direction: column;
}

.greenworld-footer-section h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.greenworld-footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.greenworld-footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.greenworld-footer-section a:hover {
    color: white;
}

.greenworld-footer .greenworld-logo-section {
    margin-bottom: 1rem;
}

.greenworld-footer .greenworld-logo {
    width: 56px;
    height: 29px;
}

.greenworld-footer .greenworld-company-name-thai {
    color: white;
    font-size: 1rem;
}

.greenworld-footer .greenworld-company-name-english {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.greenworld-footer-desc {
    margin-top: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.greenworld-footer-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.greenworld-footer-link {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.greenworld-footer-link:hover {
    opacity: 1;
}

.greenworld-footer-bottom {
    border-top: 1px solid #757575;
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Cookies Banner Styles */
.greenworld-cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    color: white;
    padding: 2rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(46, 125, 50, 0.3);
    border-top: 3px solid #FF9800;
}

.greenworld-cookies-banner.show {
    transform: translateY(0);
    animation: cookiesBannerPulse 2s ease-in-out infinite;
}

@keyframes cookiesBannerPulse {

    0%,
    100% {
        box-shadow: 0 -10px 40px rgba(46, 125, 50, 0.3);
    }

    50% {
        box-shadow: 0 -15px 50px rgba(46, 125, 50, 0.5);
    }
}

.greenworld-cookies-content {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.greenworld-cookies-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.greenworld-cookies-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-shrink: 0;
}

.greenworld-cookies-btn {
    background: #FF9800;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.greenworld-cookies-btn:hover {
    background: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.greenworld-cookies-btn:active {
    transform: translateY(0);
}

.greenworld-cookies-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.greenworld-cookies-btn:hover::before {
    left: 100%;
}

.greenworld-cookies-link {
    color: #FFEB3B;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 235, 59, 0.1);
    border: 1px solid rgba(255, 235, 59, 0.3);
}

.greenworld-cookies-link:hover {
    background: rgba(255, 235, 59, 0.2);
    color: #FFF;
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(255, 235, 59, 0.2);
}

.greenworld-cookies-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF9800, #FFEB3B, #FF9800);
    animation: cookiesBannerShine 3s ease-in-out infinite;
}

@keyframes cookiesBannerShine {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Notification Styles */
.greenworld-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-weight: 500;
    max-width: 400px;
    text-align: center;
}

.greenworld-notification-show {
    transform: translateX(0);
}

.greenworld-notification-success {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.greenworld-notification-error {
    background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
}

.greenworld-notification-info {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .greenworld-hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .greenworld-hero-title {
        font-size: 2.5rem;
    }

    .greenworld-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .greenworld-nav {
        display: none;
    }

    .greenworld-mobile-menu {
        display: flex;
    }

    .greenworld-company-name {
        display: none;
    }

    .greenworld-logo-section {
        gap: 0.5rem;
    }

    .greenworld-logo {
        width: 56px;
        height: 29px;
    }

    .greenworld-hero-title {
        font-size: 2rem;
    }

    .greenworld-hero-subtitle {
        font-size: 1rem;
    }

    .greenworld-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .greenworld-cookies-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .greenworld-cookies-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .greenworld-cookies-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .greenworld-cookies-btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .greenworld-cookies-link {
        width: 100%;
        max-width: 300px;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .greenworld-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .greenworld-hero {
        padding: 6rem 1rem 3rem;
    }

    .greenworld-hero-title {
        font-size: 1.8rem;
    }

    .greenworld-section-title {
        font-size: 2rem;
    }
}