/* 
 * TEKRAPLAYORBT - Core Stylesheet
 * Architecture: Variables, Reset, Utilities, Components, Layout 
 */

:root {
    /* Color Palette - Industry Psychology: Grounded, Earthy, Premium Landscape */
    --bg-primary: #F9F6F0;       /* Off-white / Warm Sand */
    --bg-secondary: #EFEADF;     /* Stone */
    --accent-primary: #2A4D3B;   /* Deep Forest Green */
    --accent-secondary: #5E7153; /* Sage Green */
    --accent-highlight: #D4A373; /* Warm Oak / Terracotta */
    
    --text-primary: #1F2A24;     /* Charcoal Green */
    --text-muted: #4A5B52;       /* Muted Moss */
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --max-width: 1320px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(42, 77, 59, 0.08);
    --shadow-hover: 0 15px 40px rgba(42, 77, 59, 0.12);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-highlight);
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-padding {
    padding: 60px 0;
}

.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-accent { background-color: var(--accent-primary); color: var(--white); }
.bg-accent h2, .bg-accent h3, .bg-accent h4, .bg-accent p { color: var(--white); }

.text-white { color: var(--white) !important; }

.center { text-align: center; }
.align-center { align-items: center; }

.mt-2 { margin-top: 2rem; }
.w-100 { width: 100%; }

.rounded-img {
    border-radius: var(--radius-lg);
    object-fit: cover;
}
.shadow-subtle {
    box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-highlight);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Header & Navigation (Glassmorphism)
   ========================================================================== */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.glass-nav.scrolled {
    background: rgba(249, 246, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(42, 77, 59, 0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 1rem 0;
}

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

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: -0.5px;
}

.brand-logo span {
    color: var(--accent-highlight);
}

.main-nav {
    display: none; /* Mobile hidden by default */
}

.nav-cta {
    display: none; /* Mobile hidden by default */
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.immersive-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(249,246,240,0.95) 0%, rgba(249,246,240,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: 0;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   Grid System & Layouts
   ========================================================================== */
.grid-layout {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.split-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: block;
}

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

.card-image-wrapper {
    height: 240px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-highlight);
    font-family: var(--font-heading);
}

/* About Preview */
.split-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-highlight);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* Benefits Section */
.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--bg-secondary);
    line-height: 1;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    z-index: 0;
}

.review-text {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.client-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--accent-highlight);
}

/* Contact Page Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #D1CFC7;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background: #FAFAFA;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--white);
}

.info-card {
    background: var(--accent-primary);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    height: 100%;
}

.info-card h3, .info-card p, .info-card a {
    color: var(--white);
}

.info-card a:hover {
    color: var(--accent-highlight);
}

.static-map-embed {
    width: 100%;
    height: 200px;
    background: var(--accent-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--white);
    font-weight: 500;
}

/* Page Headers */
.page-header {
    padding: 140px 0 60px 0;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Internal Legal Pages */
.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    border-bottom: 1px solid var(--bg-secondary);
    padding-bottom: 0.5rem;
}
.rule-block {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--accent-highlight);
    padding-left: 5px;
}

.footer-contact address {
    font-style: normal;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--accent-highlight);
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}