/* Global Styles */
:root {
    --primary-color: #00bcd4;
    /* Cyan/Teal from image */
    --secondary-color: #263238;
    /* Dark gray/blue */
    --accent-color: #ffffff;
    --text-color: #555;
    --light-bg: #f9f9f9;
    --dark-bg: #222;
    --font-heading: 'Kanit', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#header {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../assets/hero_bg.png') no-repeat center center/cover;
    background-color: #263238;
    /* Fallback */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #00acc1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

/* Section General */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title p {
    color: #777;
    font-size: 16px;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-box {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.service-box .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-box h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.service-box p {
    font-size: 14px;
    color: #666;
}

/* Showcase / Screenshots */
.showcase-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item.reverse {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
    padding: 0 40px;
}

.showcase-text h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 20px;
    color: #222;
}

.showcase-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.showcase-img {
    flex: 1;
    position: relative;
}

.showcase-img img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.showcase-img img:hover {
    transform: scale(1.02);
}

/* Contact Section */
.contact-section {
    background: #263238;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-box {
    position: relative;
    z-index: 2;
}

.contact-box h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 36px;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-item {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 24px;
}

.contact-item a {
    color: #fff;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #1a2327;
    color: #888;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {

    .showcase-item,
    .showcase-item.reverse {
        flex-direction: column;
        text-align: center;
    }

    .showcase-text {
        padding: 0 0 30px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .contact-details {
        flex-direction: column;
        gap: 20px;
    }
}