:root {
    --primary-color: #1a3a52;
    --primary-dark: #0f2235;
    --primary-light: #e8eef5;
    --secondary-color: #d4af37;
    --accent-color: #2c5aa0;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
}

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

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 84px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: clamp(480px, 52vh + 8vw, 760px);
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
    margin-top: 84px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.5rem 3rem 2.5rem max(2rem, calc((100vw - 1300px) / 2));
}

.hero-text {
    animation: fadeInUp 1s ease-out;
    max-width: 560px;
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-weight: 380;
    font-size: 3.2rem;
    letter-spacing: -0.01em;
    margin-bottom: 1.1rem;
    color: var(--bg-white);
    line-height: 1.08;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--secondary-color);
}

.hero-divider {
    width: 70px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 0 1.1rem;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

/* Hero photo panel */
.hero-photo {
    position: relative;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-photo-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-color) 45%, var(--accent-color) 100%);
    mix-blend-mode: color;
}

.hero-photo-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, transparent 55%, rgba(15, 34, 53, 0.6) 100%);
}

.hero-photo-seam {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14%;
    width: 2px;
    background: var(--secondary-color);
    opacity: 0.7;
    transform: skewX(-7deg);
}

.cta-button {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cta-button:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f5f8fc 100%);
    position: relative;
    overflow: hidden;
}

.about-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    width: 100%;
}

.about-photo {
    position: relative;
    clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%);
    overflow: hidden;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-photo-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, var(--primary-dark) 0%, var(--primary-color) 45%, var(--accent-color) 100%);
    mix-blend-mode: color;
}

.about-photo-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(20deg, transparent 55%, rgba(15, 34, 53, 0.6) 100%);
}

.about-photo-seam {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 14%;
    width: 2px;
    background: var(--secondary-color);
    opacity: 0.7;
    transform: skewX(7deg);
}

.about-content {
    padding: 3.5rem max(2rem, calc((100vw - 1300px) / 2)) 3.5rem 3rem;
}

.about-intro {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    max-width: none;
}

.section-title {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-size: 2.4rem;
    font-weight: 380;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.section-divider {
    width: 70px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 0 1.5rem;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    max-width: none;
    margin: 1.5rem 0;
}

.about-card {
    flex: 1 1 140px;
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: var(--bg-white);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(26, 58, 82, 0.08);
}

.card-number {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 380;
    color: var(--secondary-color);
    margin-bottom: 0.15rem;
}

.about-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: none;
}

.about-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.about-cta p {
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
}

.portfolio-container {
    max-width: 1300px;
    margin: 0 auto;
}

.portfolio-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 560px;
}

.portfolio-cta {
    padding: 2.75rem 2rem;
    text-align: center;
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.portfolio-cta h3 {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-weight: 380;
    font-size: 1.7rem;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.portfolio-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

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

.portfolio-card {
    background: var(--bg-white);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(26, 58, 82, 0.12);
    border-top: 3px solid var(--secondary-color);
}

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

.portfolio-image {
    height: 230px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-card h3 {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 380;
}

.portfolio-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #fafbfc 0%, var(--primary-light) 100%);
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    max-width: 560px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.detail-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.detail-item p {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
}

.detail-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-item a:hover {
    color: var(--secondary-color);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row .form-group {
    grid-column: auto;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: 0 1px 3px rgba(26, 58, 82, 0.05);
}

.form-input::placeholder {
    color: var(--text-lighter);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: var(--bg-light);
}

textarea.form-input {
    resize: vertical;
    min-height: 110px;
    font-family: inherit;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
}

.form-status {
    padding: 1rem;
    border-radius: 0;
    font-weight: 600;
    display: none;
    border-left: 4px solid transparent;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.05);
    color: var(--success-color);
    border-left-color: var(--success-color);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.05);
    color: var(--error-color);
    border-left-color: var(--error-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--bg-white);
    padding: 2.75rem 2rem;
    text-align: center;
}

.footer-tagline {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 380;
    font-size: 1.15rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-rule {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 auto 1rem;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero {
        height: auto;
    }

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

    .hero-content {
        padding: 3rem 0 4rem;
    }

    .hero-photo,
    .about-photo {
        display: none;
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 3rem 0 4rem;
    }

    .about-cta {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cta-button {
        font-size: 0.85rem;
        padding: 0.65rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 12px 20px rgba(15, 34, 53, 0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .hero,
    .about {
        padding: 0;
    }

    .hero-content {
        padding: 3.5rem 1.5rem 4rem;
    }

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

    .hero-divider {
        margin: 0 auto 1.1rem;
    }

    .hero-text .cta-button {
        display: table;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .portfolio,
    .contact {
        padding: 4rem 1.5rem;
    }

    .about-content {
        padding: 2.5rem 1.5rem 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-grid {
        gap: 0.6rem;
    }

    .about-card {
        flex: 1 1 0;
        padding: 0.75rem 0.4rem;
    }

    .card-number {
        font-size: 1.3rem;
    }

    .about-card p {
        font-size: 0.7rem;
    }

    .portfolio-cta {
        padding: 3.5rem 1.5rem;
    }

    .portfolio-cta h3 {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cta-button {
        font-size: 0.8rem;
        padding: 0.6rem 1.3rem;
    }

    .nav-container {
        padding: 0.8rem 1rem;
    }

    section[id] {
        scroll-margin-top: 78px;
    }

    .hero {
        margin-top: 78px;
    }

    .hero-content {
        padding: 3rem 1rem 3.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-description {
        font-size: 0.95rem;
    }

    .portfolio,
    .contact {
        padding: 3rem 1rem;
    }

    .about-content {
        padding: 2rem 1rem 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-cta {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .about-grid {
        gap: 0.5rem;
    }

    .about-card {
        padding: 0.6rem 0.3rem;
    }

    .card-number {
        font-size: 1.1rem;
    }

    .about-card p {
        font-size: 0.62rem;
        line-height: 1.25;
    }

    .contact-details {
        gap: 1.5rem;
    }
}
