/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #C0A78F;
    --accent-color: #DCD0C0;
    --text-color: #333;
    --light-color: #fff;
    --transition: all 0.3s ease;
    --overlay-color: rgba(26, 26, 26, 0.7);
    --font-primary: 'Cormorant', serif;
    --font-secondary: 'Outfit', sans-serif;
    --font-size-xl: 5rem;      /* Hero title */
    --font-size-h2: 3.5rem;    /* Section headers */
    --font-size-h3: 1.5rem;    /* Card headers */
    --font-size-lead: 1.3rem;  /* Lead paragraphs */
    --font-size-body: 1rem;    /* Body text */
    --font-size-small: 0.9rem; /* Small text */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-size-body);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FAFAFA;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    background: transparent;
    padding: 2rem 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-family: 'Soerjapoetera', sans-serif;
    font-size: 2.6rem;
    font-weight: normal;
    letter-spacing: 2.4px;
    color: var(--light-color);
}

.logo-symbol {
    position: relative;
    width: 36px;
    height: 26px;
    margin-left: 0;
    margin-right: 2px;
    display: flex;
    justify-content: space-between;
    transform: scaleY(-1); /* Flip along X-axis */
}

.logo-symbol span {
    width: 1px;
    background-color: var(--light-color);
    transition: var(--transition);
}

.logo-symbol span:nth-child(1) { height: 30%; }
.logo-symbol span:nth-child(2) { height: 50%; }
.logo-symbol span:nth-child(3) { height: 70%; }
.logo-symbol span:nth-child(4) { height: 100%; }
.logo-symbol span:nth-child(5) { height: 70%; }
.logo-symbol span:nth-child(6) { height: 50%; }
.logo-symbol span:nth-child(7) { height: 30%; }

.navbar.scrolled .logo-symbol span {
    background-color: var(--primary-color);
}

.logo-text,
.logo-symbol::before {
    transition: var(--transition);
}

.navbar.scrolled .logo-text,
.navbar.scrolled .logo-symbol::before {
    color: var(--primary-color);
}

.nav-links a {
    font-family: var(--font-secondary);
    font-size: var(--font-size-small);
    font-weight: 200;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--light-color);
    text-decoration: none;
    margin-left: 2rem;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(var(--overlay-color), var(--overlay-color)),
                url('images/hero.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
}

.hero-content h1 {
    font-size: var(--font-size-xl);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-content p {
    font-family: var(--font-secondary);
    font-size: var(--font-size-lead);
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.cta-button {
    font-family: var(--font-secondary);
    font-size: var(--font-size-small);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 1.2rem 3rem;
    background: transparent;
    border: 1px solid var(--light-color);
    color: var(--light-color);
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Section Styles */
section {
    padding: 8rem 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: var(--secondary-color);
    opacity: 0.3;
}

section h2 {
    font-size: var(--font-size-h2);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 300;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo a {
    color: var(--light-color);
    text-decoration: none;
    font-size: var(--font-size-h3);
    font-family: var(--font-primary);
    font-weight: 400;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: var(--font-size-small);
    font-weight: 300;
}

/* About Section Styles */
.about {
    background-color: var(--light-color);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    gap: 4rem;
}

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

.about-text p {
    font-size: var(--font-size-body);
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.about-text p.lead {
    font-family: var(--font-primary);
    font-size: var(--font-size-lead);
    line-height: 1.4;
    margin-bottom: 2.5rem;
    opacity: 1;
}

.lead {
    font-family: var(--font-primary);
    font-size: var(--font-size-lead);
    line-height: 1.4;
    margin-bottom: 2rem;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 300;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-secondary);
    font-size: var(--font-size-small);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Services Section Styles */
.services {
    background: linear-gradient(rgba(245, 245, 245, 0.98), rgba(245, 245, 245, 0.98)),
                url('images/services-bg.jpg') no-repeat center center/cover;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--light-color);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: var(--font-size-h3);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    font-size: var(--font-size-body);
    font-weight: 300;
    line-height: 1.6;
}

/* Contact Section Styles */
.contact {
    background: linear-gradient(var(--overlay-color), var(--overlay-color)),
                url('images/contact-bg.jpg') no-repeat center center/cover;
    color: var(--light-color);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    margin-bottom: 3rem;
}

.contact h2,
.contact .lead,
.contact p {
    color: var(--light-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .lead {
        font-size: 1.3rem;
    }
    
    :root {
        --font-size-xl: 3.5rem;
        --font-size-h2: 2.8rem;
        --font-size-lead: 1.2rem;
    }
    
    .hero-content p {
        font-size: var(--font-size-body);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 1rem 0;
    }

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

    .logo-text {
        font-size: 2rem;
    }

    .logo-symbol {
        width: 28px;
        height: 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
        padding: 0 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 2rem;
    }

    section {
        padding: 5rem 0;
    }

    section h2 {
        font-size: 2.8rem;
    }
}

/* Medium Mobile Devices (iPhone Plus, Pixel): 576px and below */
@media (max-width: 576px) {
    .nav-container {
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        margin: 0;
        font-size: 1.2rem;
    }

    /* Add hamburger menu */
    .mobile-menu {
        display: block;
        cursor: pointer;
        z-index: 100;
    }

    .mobile-menu span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--light-color);
        margin: 5px 0;
        transition: var(--transition);
    }

    .navbar.scrolled .mobile-menu span {
        background: var(--primary-color);
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Content adjustments */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

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

    .contact-card {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
    }
}

/* Small Mobile Devices (iPhone SE, Small Phones): 375px and below */
@media (max-width: 375px) {
    .logo-text {
        font-size: 1.8rem;
    }

    .logo-symbol {
        width: 24px;
        height: 18px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .cta-button {
        padding: 1rem 2rem;
    }

    section h2 {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .email-text {
        font-size: 1.1rem;
    }
}

/* Font declaration */
@font-face {
    font-family: 'Soerjapoetera';
    src: url('/fonts/Soerjapoetera.otf') format('opentype'),
         url('../fonts/Soerjapoetera.otf') format('opentype');  /* fallback relative path */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
} 