/* Reset และ Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e3a8a;
    cursor: pointer;
}

.logo i {
    font-size: 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav {
    display: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #1e3a8a;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #b45309 125%);
    color: white;
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('src/img01.jpg') center/cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

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

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: #f59e0b;
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.btn-secondary:hover {
    background: #d97706;
}

/* Who Are We Section */
.who-are-we {
    padding: 4rem 0;
    background: white;
}

.who-are-we .section-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.who-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.who-main p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: left;
}

.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1e3a8a, #3730a3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
}

.experience-number {
    font-size: 2rem;
    font-weight: 700;
    color: #f59e0b;
}

.experience-text {
    font-size: 1rem;
    font-weight: 500;
}

/* Why Cleaning Section */
.why-cleaning {
    padding: 4rem 0;
    background: rgba(248, 250, 252, 0.5);
}

.why-content {
    max-width: 64rem;
    margin: 0 auto;
}

.why-points {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .why-points {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-points {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.why-point:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.why-point i {
    color: #f59e0b;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.why-point h4 {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.why-point p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: rgba(248, 250, 252, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 32rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.service-icon {
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 2rem;
    color: #1e3a8a;
}

.service-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: #64748b;
    font-size: 0.875rem;
}

/* company Section */
.company {
    padding: 4rem 0;
    background: rgba(248, 250, 252, 0.3);
}

.company-item img {
    width: 100%;
    height: auto;
    /* object-fit: cover; */
    transition: transform 0.3s ease;
}


/* Portfolio Section */
.portfolio {
    padding: 4rem 0;
    background: rgba(248, 250, 252, 0.3);
}

.portfolio-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.portfolio-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.7), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Portfolio Button */
.portfolio-button-container {
    text-align: center;
    margin-top: 2rem;
}

#see-more-btn {
    background: linear-gradient(135deg, #1e3a8a, #3730a3);
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#see-more-btn:hover {
    background: linear-gradient(135deg, #3730a3, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

#see-more-btn i {
    font-size: 1rem;
}


/* About Section */
.about {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-item i {
    color: #f59e0b;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: #64748b;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: #1e3a8a;
    color: white;
}

.contact .section-header h3 {
    color: white;
}

.contact .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-grid {
    display: grid;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-card i {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

/* Footer */
.footer {
    background: white;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.footer-logo i {
    font-size: 1.5rem;
}

.footer-logo span {
    font-size: 1.125rem;
    font-weight: 600;
}

.footer p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.copyright {
    font-size: 0.875rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive improvements */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 2rem;
    }
}