/* Common Styles */
:root {
    --primary-color: #00BFAC;
    --grey-color: #6B6B6B;
    --black-color: #1D1D1B;
    --white-color: #FFFFFF;
    --background-overlay: rgba(26, 26, 26, 0.3);
    --menu-background: rgba(26, 26, 26, 0.95);
}

body {
    font-family: "chakra-petch", Sans-serif;
    font-weight: 350;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--black-color);
    color: var(--white-color);
}

/* Layout */
.container {
    width: 80%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(29, 29, 27, 0.9), rgba(29, 29, 27, 0));
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(29, 29, 27, 0.95);
}

.header-container {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Page Sections */
.page-section {
    padding: 100px 0 60px;
    min-height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 26, 26, 0.3), rgba(26, 26, 26, 1));
}

.section-content {
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "chakra-petch", Sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
    font-weight: 700;
}

h2 {
    font-size: 2.5em;
    font-weight: 600;
}

h3 {
    font-size: 2em;
    font-weight: 500;
}

/* Cards and Grids */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: "chakra-petch", Sans-serif;
    background: transparent;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--black-color);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--black-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 15px;
    }

    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* Section-specific styles */
/* About Page */
.about-section {
    background-image: url('../images/about-bg.webp');
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline-item {
    padding: 20px;
    border-left: 2px solid var(--primary-color);
    margin-left: 20px;
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* Services Page */
.services-section {
    background-image: url('../images/services-bg.webp');
}

.service-card {
    text-align: center;
    padding: 30px;
}

.service-icon {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Products Page */
.products-section {
    background-image: url('../images/products-bg.webp');
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

/* Contact Page */
.contact-section {
    background-image: url('../images/contact-bg.webp');
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    font-family: "chakra-petch", Sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
} 