/* ===== Reset & Variables ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B4513;
    --primary-dark: #654321;
    --primary-light: #A0522D;
    --gold: #DAA520;
    --gold-light: #F0E68C;
    --dark: #2C2C2C;
    --dark-light: #4A4A4A;
    --white: #FFFFFF;
    --off-white: #F8F6F3;
    --gray: #888888;
    --light-gray: #D3D3D3;
    --font-serif: 'Noto Serif SC', serif;
    --font-sans: 'Noto Sans SC', sans-serif;
    --shadow-light: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 25px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 40px rgba(0, 0, 0, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background-color: var(--off-white);
    line-height: 1.8;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-medium);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    border-radius: 4px;
    position: relative;
}

.logo-mark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid var(--white);
    border-radius: 50%;
}

.site-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 4px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--dark);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #F5F0EB 0%, #E8DFD3 50%, #D4C5B4 100%);
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 69, 19, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(218, 165, 32, 0.03) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    padding: 0 30px;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--primary);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-heading {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 48px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background: rgba(139, 69, 19, 0.05);
    transform: translateY(-2px);
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.scroll-hint span {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--gray);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--primary), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.5; transform: translateY(10px); }
}

/* ===== Sections Common ===== */
.about-section,
.services-section,
.contact-section {
    padding: 100px 30px;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    margin: 0 auto;
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--white);
}

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

.about-text {
    max-width: 830px;
    margin: 0 auto 50px;
}

.about-text p {
    font-size: 16px;
    color: var(--dark-light);
    margin-bottom: 20px;
    line-height: 2;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    padding: 45px 30px;
    background-color: var(--off-white);
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: all 0.4s ease;
}

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

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.value-card h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.value-card p {
    font-size: 14px;
    color: var(--gray);
}

/* ===== Services Section ===== */
.services-section {
    background-color: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid rgba(139, 69, 19, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold);
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #D4C5B4, #E8DFD3);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(101, 67, 33, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.overlay-text {
    color: var(--white);
    font-size: 14px;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 6px;
}

.service-info {
    padding: 28px 24px;
    text-align: center;
}

.service-info h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.service-info p {
    font-size: 14px;
    color: var(--gray);
}

/* ===== Contact Section ===== */
.contact-section {
    background-color: var(--white);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
}

.contact-card {
    display: flex;
    background-color: var(--off-white);
    border: 1px solid rgba(139, 69, 19, 0.1);
    overflow: hidden;
    max-width: 900px;
}

.contact-image {
    width: 40%;
    min-height: 300px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #8B4513, #DAA520);
}

.contact-details {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--primary);
}

.contact-value {
    font-size: 16px;
    color: var(--dark);
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--dark);
    color: var(--light-gray);
    padding: 50px 30px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo-mark-small {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    border-radius: 4px;
    position: relative;
}

.logo-mark-small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border: 2px solid var(--white);
    border-radius: 50%;
}

.footer-logo span {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--white);
    letter-spacing: 3px;
}

.footer-info {
    margin-bottom: 15px;
}

.footer-info p {
    font-size: 13px;
}

.footer-icp p {
    font-size: 12px;
    margin-bottom: 8px;
}

.footer-icp a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-icp a:hover {
    color: var(--gold);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-card {
        flex-direction: column;
    }
    
    .contact-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 100px 30px 30px;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 25px;
    }
    
    .menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-heading {
        font-size: 36px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section,
    .services-section,
    .contact-section {
        padding: 70px 20px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .hero-heading {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
}
