/*
Theme Name: Quaalam Theme
Author: QUAALAM
Version: 1.1
*/

:root {
    /* Color Palette - Premium Water Theme */
    --primary-color: #0077b6;
    /* Deep Ocean Blue */
    --primary-light: #48cae4;
    /* Light Sky Blue */
    --secondary-color: #023e8a;
    /* Navy Blue */
    --accent-color: #90e0ef;
    /* Soft Water */
    --text-dark: #1b263b;
    /* Dark Blue-Grey */
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --success: #25d366;
    /* WhatsApp Green */

    /* Typography */
    --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-body: 'Segoe UI', Helvetica, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* HEADER */
.site-header {
    background: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.3rem 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-menu {
    display: flex;
    gap: 2rem;
}

.main-menu li a {
    font-weight: 500;
    color: var(--text-dark);
}

.main-menu li a:hover {
    color: var(--primary-color);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #e0faff 0%, #ffffff 100%);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-asset {
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* FEATURES SECTION */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: white;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-light);
    color: var(--secondary-color);
}

/* PAGE HEADER */
.page-header {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    color: white;
}

.page-subtitle {
    opacity: 0.9;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image-placeholder {
    height: 250px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 1.5rem;
    font-weight: bold;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
}

.product-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

/* CONTACT PAGE */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info .info-item {
    margin-bottom: 2rem;
}

.contact-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-map iframe {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
.site-footer {
    background-color: var(--text-dark);
    color: #adb5bd;
    padding: 3rem 0 1rem;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* ABOUT PAGE */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.image-placeholder {
    background-color: #e9ecef;
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: #f0f7ff;
    padding: 3rem;
    border-radius: 16px;
}

.vision,
.mission {
    padding: 1rem;
}

.vision h3,
.mission h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.mission ul li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
    }

    .vision-mission {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}