:root {
    --primary-color: #0b0c10;
    --secondary-color: #f2eee5;
    --accent-color: #c9a871;
    --accent-muted: #a88855;
    --text-color: #1f1f1f;
    --text-light: #7c7467;
    --white: #ffffff;
    --border-color: rgba(11, 12, 16, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: #1a1d20;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 400;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 40px 0;
    transition: var(--transition);
    background: rgba(23, 66, 73, 0.4);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(23, 66, 73, 0.7);
    padding: 15px 0;
    box-shadow: 0 6px 30px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
}

.navbar.scrolled .brand-mark {
    height: 100px;
    max-width: 320px;
    margin-top: -8px;
}

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

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 58px;
    text-decoration: none;
    background: transparent;
    overflow: visible;
}

.brand-mark {
    width: auto;
    height: 210px;
    max-width: 680px;
    object-fit: contain;
    border: none;
    background: transparent;
    box-shadow: none;
    margin-top: -35px;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-right: 10px;
}

.logo-badge img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border: none;
}


.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link:hover svg {
    color: var(--accent-color);
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-menu .social-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 30px;
}

.social-links-header {
    display: none;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    color: var(--white);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    background-color: #1a1d20;
    overflow: visible;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #1a1d20;
    z-index: 1;
}

.hero-bg-texture {
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(255,255,255,0.05);
    mask-image: radial-gradient(circle, rgba(0,0,0,0.2), transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 140px 0 100px;
    min-height: calc(100vh - 140px);
    overflow: visible;
    display: block;
}

.hero-text {
    animation: fadeInUp 0.8s ease forwards;
    color: rgba(255,255,255,0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
    padding-right: 60px;
    z-index: 3;
    position: relative;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.hero-title {
    font-size: clamp(1.4rem, 1.8vw, 2.1rem);
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
    max-width: 100%;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 30px;
    max-width: 100%;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    color: var(--white);
    padding: 14px 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-stat {
    min-width: 100px;
}

.hero-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
}

.hero-stat .stat-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.hero-visual {
    position: absolute;
    right: 0;
    left: calc(33.33% + 80px);
    top: 140px;
    bottom: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    max-width: none;
    width: auto;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 30px 70px rgba(0,0,0,0.45);
    background: rgba(255,255,255,0.05);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 1.2s ease;
    transform: scale(1.02);
}

.hero-card-main {
    height: 420px;
}

.hero-card-full {
    width: 100%;
    height: 100%;
    margin-left: 0;
    display: flex;
    align-items: stretch;
}

.hero-card-secondary {
    height: 220px;
    width: 75%;
    justify-self: end;
    margin-top: -80px;
}


.hero-card-info {
    position: absolute;
    left: 30px;
    bottom: 30px;
    right: 30px;
    color: var(--white);
}

.card-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.hero-card-info h3,
.hero-card-info h4 {
    margin-top: 4px;
    line-height: 1.3;
}

.hero-floating-note {
    position: absolute;
    top: 40px;
    right: -40px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    padding: 18px 24px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    font-size: 0.9rem;
    max-width: 220px;
}

.hero-floating-note::before {
    content: '';
    position: absolute;
    left: 20px;
    top: -15px;
    width: 15px;
    height: 15px;
    background: rgba(255,255,255,0.08);
    transform: rotate(45deg);
    box-shadow: -5px -5px 15px rgba(0,0,0,0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--accent-color);
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Section Globals */
.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
    display: block;
}

.about-section .section-label {
    font-size: 1.05rem;
    margin-bottom: 8px;
    margin-top: 45px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--white);
    font-family: var(--font-body);
}

.projects-section .section-title {
    font-size: 1.8rem;
}

.about-section .section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    margin-top: 0;
}

/* Latest Project */
.latest-project {
    padding: 120px 0;
    background: #1a1d20;
    position: relative;
    min-height: 80vh;
}

.latest-project-content {
    position: relative;
    min-height: 600px;
}

.latest-project-image {
    position: absolute;
    right: 0;
    left: calc(33.33% + 80px);
    top: 0;
    bottom: 0;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.latest-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    transform: scale(1.02);
}

.latest-project-image:hover img {
    transform: scale(1.02);
}

.latest-project-info {
    position: relative;
    z-index: 2;
    max-width: 500px;
    padding-right: 40px;
}

.latest-project-info h2 {
    font-size: clamp(2rem, 2.5vw, 3rem);
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.latest-project-info p {
    margin-bottom: 30px;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--accent-muted);
    transform: translateY(-3px);
}

/* Projects Section */
.projects-section {
    padding: 40px 0 20px;
    background: #1a1d20;
}

.projects-section .container {
    padding: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    margin-top: 0;
    flex-wrap: wrap;
    gap: 30px;
}

.filter-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
    padding-bottom: 5px;
    position: relative;
    font-family: var(--font-body);
    transition: var(--transition);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--accent-color);
}

.filter-btn.active::after {
    width: 100%;
    background: var(--accent-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.projects-grid-home {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .projects-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .projects-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.project-card {
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.project-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.project-info {
    position: absolute;
    bottom: 10px;
    right: 20px;
    text-align: right;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.project-card:hover .project-info {
    opacity: 0.7;
}

.project-info .project-year,
.project-info .project-location,
.project-info .project-title {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    display: inline;
    margin: 0 5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Projects page specific - larger text */
.projects-section:not(.projects-grid-home) .project-info .project-year,
.projects-section:not(.projects-grid-home) .project-info .project-location,
.projects-section:not(.projects-grid-home) .project-info .project-title {
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background: #1a1d20;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
    margin: 0;
}

.about-section .container {
    padding: 0;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
}

.about-stats {
    display: flex;
    gap: 60px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.75);
}

.about-image {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin-top: 45px;
}

.about-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    object-position: center top;
    clip-path: inset(0 0 3% 0);
}
.about-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0 url('data:image/svg+xml;charset=UTF-8,%3Csvg width%3D%2264%22 height%3D%2264%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M32 0C14.327 0 0 14.327 0 32s14.327 32 32 32 32-14.327 32-32S49.673 0 32 0zm0 60C16.561 60 4 47.439 4 32S16.561 4 32 4s28 12.561 28 28-12.561 28-28 28z%22 fill%3D%22%23ddd%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E') no-repeat center center;
}


/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: #1a1d20;
}

.contact-section .container,
.map-section .container {
    padding: 0;
}

.contact-section .section-title {
    font-size: 1.8rem;
    margin-top: 60px;
}

/* Compact Contact Section for Projects Page */
.contact-section-compact {
    padding: 20px 0 20px 0;
    background: #1a1d20;
}

/* Compact Contact Section for Project Detail Page */
.project-detail-section + .contact-section-compact {
    padding: 10px 0 20px 0;
    margin-top: -20px;
}

.contact-content-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 15px;
}

.contact-item-compact {
    margin-bottom: 12px;
}

.contact-item-compact h3 {
    color: var(--accent-color);
}

.contact-item-compact p {
    color: var(--white);
}

.form-group-compact {
    margin-bottom: 0;
}

.contact-form-compact input::placeholder,
.contact-form-compact textarea::placeholder {
    color: rgba(0,0,0,0.5);
}

.contact-form-compact input,
.contact-form-compact textarea {
    color: var(--text-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-form {
    max-width: 85%;
    margin-left: 10%;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.2rem;
    color: var(--white);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px;
    background: var(--white);
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Footer */
/* Map Section */
.map-section {
    padding: 100px 0;
    background: #1a1d20;
}

.map-header {
    text-align: center;
    margin-bottom: 50px;
}

.map-address {
    font-size: 1.1rem;
    color: var(--white);
    margin-top: 20px;
    line-height: 1.8;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-radius: 0;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .map-section {
        padding: 60px 0;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--white);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: var(--white);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    max-width: 1200px;
    margin: 60px auto;
    background: var(--white);
    position: relative;
    padding: 0;
    animation: fadeInUp 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
}

.modal-header {
    padding: 60px 60px 30px;
    background: var(--secondary-color);
}

.modal-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.modal-content-wrapper {
    padding: 60px;
}

.modal-description {
    max-width: 800px;
    margin-bottom: 60px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.category-tag {
    display: inline-block;
    margin-top: 20px;
    padding: 5px 15px;
    background: var(--secondary-color);
    font-size: 0.85rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.modal-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.modal-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-gallery img.active {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 90vh;
    max-width: 90vw;
    z-index: 2500;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    cursor: zoom-out;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .container { 
        padding: 0; 
    }
    
    .hero-container {
        padding: 120px 0 80px;
    }
    
    .hero-title { 
        font-size: 3rem; 
    }
    
    .hero-visual {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hero-card-secondary {
        width: 100%;
        justify-self: stretch;
        margin-top: 0;
    }
    
    .hero-floating-note {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0;
    }

    .nav-container {
        padding: 0;
    }

    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }

    .brand-mark {
        height: 100px;
        max-width: 320px;
        margin-top: -8px;
        transition: none !important;
    }

    .navbar.scrolled .brand-mark {
        height: 100px !important;
        max-width: 320px !important;
        margin-top: -8px !important;
        transition: none !important;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(23, 66, 73, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 15px 0;
        display: block;
        width: 100%;
    }

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

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

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

    .nav-menu .social-links {
        display: none;
    }

    .social-links-header {
        display: flex;
        align-items: center;
        gap: 15px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    .social-links-header .social-link {
        width: 32px;
        height: 32px;
    }

    .social-links-header .social-link svg {
        width: 18px;
        height: 18px;
    }

    .social-links-mobile {
        display: none;
    }

    .nav-menu.active .social-links-mobile {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
        padding-top: 30px;
        padding-left: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
    }

    .social-links-mobile .social-link {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-links-mobile .social-link svg {
        width: 20px;
        height: 20px;
        color: var(--white);
        transition: var(--transition);
    }

    .social-links-mobile .social-link:hover svg {
        color: var(--accent-color);
        transform: scale(1.1);
    }

    .hero {
        min-height: auto;
    }

    .hero-container {
        padding: 90px 0 0;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .hero-visual {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        order: 1;
        margin: 0;
        padding: 0;
    }

    .hero-text {
        max-width: 100%;
        padding: 15px;
        order: 2;
        margin-top: 0;
    }

    .hero-title {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.65rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .hero-visual {
        display: block;
        position: relative;
        width: 100%;
        order: 1;
        margin-top: 0;
        margin-bottom: 0;
    }

    .hero-eyebrow {
        font-size: 0.6rem;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 18px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.7rem;
        text-align: center;
        letter-spacing: 0.5px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 15px;
        justify-content: space-between;
        margin-top: 18px;
    }

    .hero-stat {
        min-width: auto;
        flex: 1;
    }

    .hero-stat .stat-number {
        font-size: 1.3rem;
        line-height: 1.2;
    }

    .hero-stat .stat-label {
        font-size: 0.6rem;
        letter-spacing: 1px;
        margin-top: 4px;
    }

    .hero-visual {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        margin: 20px 0 0 0;
        padding: 0;
    }

    .hero-card {
        width: 100%;
        height: 200px;
        border-radius: 0;
    }

    .hero-card-full {
        height: 200px;
    }

    .hero-card-secondary {
        width: 100%;
        margin-top: 0;
        height: 180px;
    }

    .hero-floating-note {
        position: static;
        margin-top: 20px;
        padding: 0;
    }

    .projects-section {
        padding: 60px 0;
    }

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

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .projects-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .latest-project-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-text {
        order: 1;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .modal-content { 
        margin: 0; 
        min-height: 100vh; 
        width: 100%;
    }
    
    .modal-header, 
    .modal-content-wrapper { 
        padding: 20px; 
    }

    .brand-text { 
        display: none; 
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0;
    }

    .nav-container {
        padding: 0;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar.scrolled {
        padding: 6px 0;
    }

    .brand-mark {
        height: 30px;
        max-width: 90px;
    }

    .nav-menu {
        gap: 25px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 12px 0;
    }

    .hero-container {
        padding: 75px 0 35px;
    }

    .hero-title {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.6rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .hero-eyebrow {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
        margin-bottom: 6px;
    }

    .hero-cta {
        gap: 6px;
        margin-bottom: 15px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 9px 18px;
        font-size: 0.65rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 10px;
        margin-top: 15px;
        justify-content: space-between;
    }

    .hero-stat {
        flex: 1;
        text-align: center;
    }

    .hero-stat .stat-number {
        font-size: 1.1rem;
    }

    .hero-stat .stat-label {
        font-size: 0.55rem;
        letter-spacing: 0.8px;
    }

    .hero-visual {
        display: none;
    }

    .projects-section {
        padding: 40px 0;
    }

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