/* 
   aitransporn.love CSS Stylesheet
   Modern and responsive design with vibrant colors
*/

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

:root {
    --primary-color: #8C52FF;
    --primary-dark: #5D13E7;
    --secondary-color: #FF6B6B;
    --background-color: #FAFAFA;
    --text-color: #333333;
    --light-gray: #F0F0F0;
    --dark-gray: #666666;
    --white: #FFFFFF;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    margin-right: 30px;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 100px 0 50px;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.hero-image {
    flex: 1;
    margin-left: 40px;
    display: flex;
    justify-content: center;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(93, 19, 231, 0.2);
}

.cta-button.secondary {
    background-color: var(--primary-color);
}

.cta-button.large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.about .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-content {
    flex: 1;
    max-width: 550px;
}

.about-content h2 {
    text-align: left;
}

.about-image {
    flex: 1;
    margin-left: 50px;
    display: flex;
    justify-content: center;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Footer */
footer {
    background: #222;
    color: #ddd;
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 160px;
    margin-right: 60px;
    margin-bottom: 30px;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    bottom: -5px;
    left: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-icon {
    display: flex;
    align-items: center;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container,
    .about .container {
        flex-direction: column;
    }
    
    .hero-content,
    .about-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-image,
    .about-image {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
        text-align: center;
    }
    
    nav ul li:last-child {
        margin-bottom: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .footer-top {
        flex-direction: column;
    }
}
