/*
Theme Name: Lumina
Theme URI: https://example.com/lumina
Author: Lumina
Author URI: https://example.com
Description: Complete one-page WordPress theme converted from the Lumina HTML landing page.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: lumina
*/

:root {
    --color-bg: #f9f8f4;
    --color-card: #f1ede1;
    --color-text: #333333;
    --color-muted: #68645d;
    --color-line: #ded8ca;
    --shadow-soft: 0 18px 50px rgba(72, 61, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Montserrat, "Segoe UI", Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 48px;
    background: var(--color-bg);
}

.site-logo {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
}

.custom-logo {
    width: auto;
    max-height: 56px;
}

.primary-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-link {
    position: relative;
    padding-bottom: 5px;
}

.nav-link.active::after,
.current-menu-item > .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-text);
}

.mobile-menu-icon {
    display: none;
    font-size: 26px;
    line-height: 1;
}

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 20px;
    text-align: center;
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg {
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.25));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.hero h1 {
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(72px, 12vw, 160px);
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 0.95;
    text-transform: uppercase;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.hero p {
    margin-bottom: 34px;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 300;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-online {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 16px 40px;
    border-radius: 999px;
    background-color: var(--color-bg);
    box-shadow: var(--shadow-soft);
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-online:hover {
    background-color: #ede9d8;
    transform: translateY(-2px);
}

.section,
.split-section {
    width: min(100% - 32px, 1280px);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section h2,
.gallery h2,
.team h2 {
    margin-bottom: 48px;
    text-align: center;
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 500;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    padding: 16px;
    border-radius: 14px;
    background-color: var(--color-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 190px;
    margin-bottom: 16px;
    border-radius: 12px;
    object-fit: cover;
}

.card-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.card-heading h3 {
    margin: 0;
    font-size: 18px;
}

.card-heading span {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.55;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    padding-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.gallery-column {
    display: grid;
    gap: 12px;
}

.gallery-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.gallery img {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    object-fit: cover;
}

.gallery-row img {
    height: 170px;
}

.gallery .gallery-large {
    height: 280px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    aspect-ratio: 4 / 5;
    margin-bottom: 16px;
    border-radius: 18px;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 6px;
    font-size: 15px;
}

.team-member p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.testimonial {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    border-radius: 22px;
    background-color: var(--color-card);
}

.testimonial img {
    width: 96px;
    height: 96px;
    flex: 0 0 auto;
    border-radius: 16px;
    object-fit: cover;
}

.testimonial p {
    margin-bottom: 10px;
    color: var(--color-muted);
    font-size: 15px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial strong {
    font-size: 14px;
}

.site-footer {
    padding: 48px;
    border-top: 1px solid var(--color-line);
    background-color: var(--color-bg);
}

.footer-inner {
    width: min(100%, 1280px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
    color: var(--color-muted);
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 18px;
    font-size: 13px;
    font-weight: 700;
}

.social-links a {
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--color-text);
}

@media (max-width: 1024px) {
    .service-grid,
    .split-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-section {
        gap: 56px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 22px 20px;
    }

    .primary-nav {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero {
        min-height: 520px;
    }

    .service-grid,
    .split-section,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        gap: 28px;
    }

    .footer-inner,
    .testimonial {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .site-logo {
        font-size: 24px;
    }

    .section {
        padding: 56px 0;
    }

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

    .gallery img,
    .gallery-row img,
    .gallery .gallery-large {
        height: 240px;
    }

    .site-footer {
        padding: 40px 20px;
    }
}
