/**
 * CORRECTED Custom Theme Styles
 * Matches exact design mockup
 */

/* ===== CSS VARIABLES ===== */
:root {
    --navy: #0B1B3A;
    --dark-navy: #081219;
    --emerald: #0E3B2E;
    --gold: #C9A227;
    --cream: #F2E8D8;
    --light-bg: #FAFAF8;
    --light-text: #1A1A1A;
    --light-secondary: #666666;
    --light-border: #E8E8E6;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body.dark-mode {
    --navy: #0B1B3A;
    --dark-navy: #040812;
    --emerald: #0E3B2E;
    --gold: #D4AF37;
    --cream: #E8DCC8;
    --light-bg: #0A0E1A;
    --light-text: #F5F5F5;
    --light-secondary: #B0B0B0;
    --light-border: #2A3A4A;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--light-text);
    background-color: var(--light-bg);
    transition: background-color 0.4s ease, color 0.4s ease;
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
    padding: 8rem 2rem 6rem;
    text-align: center;
    color: var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 59, 46, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1100px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.hero-highlight {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(242, 232, 216, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    max-width: 700px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(242, 232, 216, 0.7);
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--gold) 100%);
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(14, 59, 46, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 59, 46, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--navy);
}

/* ===== SECTIONS ===== */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 2rem;
}

section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--light-text);
    text-align: center;
}

body.dark-mode section h2 {
    color: var(--cream);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
}

body.dark-mode .section-subtitle {
    color: rgba(242, 232, 216, 0.8);
}

/* ===== FEATURED PROJECTS ===== */
.featured-projects {
    background: var(--light-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.project-card {
    background: white;
    border: 1px solid var(--light-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    position: relative;
}

body.dark-mode .project-card {
    background: rgba(11, 27, 58, 0.6);
    border-color: var(--light-border);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-dark);
    border-color: var(--gold);
}

.project-image {
    height: 250px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--emerald) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
}

.project-name {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-body {
    padding: 2.5rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

body.dark-mode .project-title {
    color: var(--cream);
}

.project-text {
    font-size: 0.95rem;
    color: var(--light-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

body.dark-mode .project-text {
    color: rgba(242, 232, 216, 0.75);
}

.project-tech {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tech-label {
    background: var(--light-bg);
    color: var(--light-text);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

body.dark-mode .tech-label {
    background: rgba(201, 162, 39, 0.15);
    color: var(--gold);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.project-view {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.project-view:hover {
    gap: 1rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--light-bg);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-light);
    transition: all 0.3s;
}

body.dark-mode .testimonial-card {
    background: rgba(11, 27, 58, 0.6);
    border-left-color: var(--gold);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-medium);
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--light-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-style: italic;
}

body.dark-mode .testimonial-quote {
    color: rgba(242, 232, 216, 0.8);
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--light-text);
    font-size: 0.95rem;
}

body.dark-mode .author-name {
    color: var(--cream);
}

.author-role {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--emerald) 100%);
    color: var(--cream);
    padding: 5rem 2rem;
    text-align: center;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    margin: 3rem 0;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--cream);
}

.cta-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1.5rem 0 2.5rem;
    line-height: 1.8;
    color: rgba(242, 232, 216, 0.85);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    nav {
        padding: 1rem 1.5rem;
    }

    section {
        padding: 3.5rem 1.5rem;
    }

    .section-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 1.5rem 3rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
}











/* =====================================
   PREMIUM HEADER
===================================== */

#site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;

    backdrop-filter:blur(20px);

    background:rgba(8,18,25,.65);

    border-bottom:1px solid rgba(201,162,39,.15);

    transition:.4s ease;
}

.header-container{

    max-width:1400px;

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:22px 30px;
}

.site-logo{

    text-decoration:none;

    font-size:28px;

    font-weight:700;

    font-family:'Playfair Display',serif;

    background:linear-gradient(
    135deg,
    #0E3B2E,
    #C9A227
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.desktop-nav{

    display:flex;

    gap:40px;
}

.desktop-nav a{

    color:#f5f5f5;

    text-decoration:none;

    font-weight:500;

    position:relative;

    transition:.3s;
}

.desktop-nav a:after{

    content:'';

    position:absolute;

    bottom:-8px;

    left:0;

    width:0;

    height:2px;

    background:#C9A227;

    transition:.3s;
}

.desktop-nav a:hover{

    color:#C9A227;
}

.desktop-nav a:hover:after{

    width:100%;
}

.header-btn{

    background:linear-gradient(
    135deg,
    #0E3B2E,
    #C9A227
    );

    color:#fff;

    text-decoration:none;

    padding:14px 28px;

    border-radius:8px;

    font-weight:600;

    transition:.3s;
}

.header-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 30px rgba(201,162,39,.25);
}

.mobile-toggle{

    display:none;
}

@media(max-width:992px){

    .desktop-nav{
        display:none;
    }

    .mobile-toggle{

        display:block;

        background:none;

        border:none;

        color:#fff;

        font-size:28px;

        cursor:pointer;
    }

    .header-btn{
        display:none;
    }
}