/* CSS Variables */
:root {
    --bg-color: #1a1c1a; 
    --bg-surface: #222521;
    --text-main: #f0f2eb;
    --text-muted: #abb8aa;
    --accent: #d4a96b;
    --accent-hover: #f0c383;
    
    --font-heading: 'Frank Ruhl Libre', serif;
    --font-body: 'Assistant', sans-serif;
    
    --nav-height: 80px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* for custom cursor */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0; left: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background-color: var(--accent);
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 1px solid var(--accent);
}

/* Typography */
h1, h2, h3, h4, .logo-name {
    font-family: var(--font-heading);
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.body-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 6rem 0;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: var(--bg-color);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    border-radius: 2px;
    cursor: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    cursor: none;
}

.btn-secondary:hover {
    background-color: rgba(212, 169, 107, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(26, 28, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(22, 24, 22, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.8rem;
    color: var(--accent);
    line-height: 1;
}

.logo-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-weight: 300;
    font-size: 1.1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 8px 24px;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -5%; left: -5%;
    width: 110%; height: 110%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(26,28,26, 1) 0%, rgba(26,28,26, 0.6) 50%, rgba(26,28,26, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 5rem;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 1px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

.scroll-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent);
    margin-bottom: 2rem;
}

.divider.center {
    margin: 0 auto 2rem;
}

.credentials {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255, 0.1);
}

.cred-item {
    display: flex;
    flex-direction: column;
}

.cred-number {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--accent);
    line-height: 1;
}

.cred-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.about-image-wrapper {
    position: relative;
    height: 600px;
    width: 100%;
}

.about-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    z-index: 2;
    filter: brightness(0.9);
}

.decor-box {
    position: absolute;
    border: 1px solid var(--accent);
    z-index: 1;
}

.dec-1 {
    top: -20px; left: -20px;
    width: 50%; height: 50%;
}

.dec-2 {
    bottom: -20px; right: -20px;
    width: 60%; height: 60%;
    border-color: rgba(255,255,255, 0.1);
    background: var(--bg-surface);
}

/* Services Section */
.services {
    background-color: var(--bg-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--bg-color);
    padding: 3rem 2rem;
    border: 1px solid rgba(255,255,255, 0.05);
    border-radius: 4px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 169, 107, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 169, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.icon-svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Quote Section */
.quote-section {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.quote-bg {
    position: absolute;
    top: -10%; left: 0;
    width: 100%; height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: grayscale(0.5);
}

.quote-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(26,28,26, 0.85);
    z-index: 2;
}

.quote-section .container {
    position: relative;
    z-index: 3;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.3;
}

.quote-author {
    margin-top: 2rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-details {
    margin-top: 3rem;
    font-size: 1.2rem;
}

.contact-details li {
    margin-bottom: 1rem;
    display: flex;
    gap: 10px;
}

.c-label {
    color: var(--accent);
    font-weight: 600;
}

.contact-form {
    background-color: var(--bg-surface);
    padding: 3rem;
    border-radius: 4px;
}

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

.input-group input, .input-group textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    resize: none;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.form-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: #111;
    border-top: 1px solid rgba(255,255,255, 0.05);
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: left;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .quote-text {
        font-size: 2rem;
    }
    .nav-links {
        display: none;
    }
}
