header, section, footer, aside, nav, article, main {
    display: block;
}

:root {
    --bg-dark: #2a2524;
    --bg-card: #36302e;
    --bg-darker: #221d1d;
    --text-main: #e8e2df;
    --text-muted: #a39c9a;
    --accent: #5e524f;
    --accent-hover: #756763;
    --border-color: #4a413f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(42, 37, 36, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-logo img {
    height: 40px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    align-items: center;
}

.nav-links a {
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.nav-socials {
    display: flex;
    gap: 15px;
}

.nav-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--text-muted);
    border-radius: 50%;
    font-size: 1.1rem;
}

.nav-socials a:hover {
    background-color: var(--text-main);
    color: var(--bg-dark);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    min-height: 80vh;
    position: relative;
}

.hero-left, .hero-right {
    flex: 1;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.5));
}

.credit {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

.hero-right {
    text-align: center;
    padding: 40px;
}

.hero-logo {
    max-width: 80%;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-subtitle::before, .hero-subtitle::after {
    content: "";
    height: 1px;
    width: 30px;
    background-color: var(--text-muted);
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: #fff;
    color: #fff;
}

section {
    padding: 80px 5%;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.about-container {
    display: flex;
    gap: 50px;
    align-items: center;
    background-color: var(--bg-darker);
    padding: 40px;
    border-radius: 15px;
}

.about-text {
    flex: 1;
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-img-container {
    flex: 1;
    text-align: center;
}

.about-img {
    max-width: 80%;
    border-radius: 10px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.gallery-header {
    padding: 60px 5% 20px;
    text-align: center;
}

.gallery-header h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    text-align: center;
}

.gallery-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.gallery-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-preview-header .section-title {
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0 60px 0; 
}

#gallery-preview .gallery-grid {
    padding: 0;
}

.gallery-item {
    position: relative;
    background-color: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 40%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    opacity: 0;
    transition: 0.3s ease;
}

.gallery-item .overlay span {
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.gallery-item .overlay i {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-style: normal;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--text-muted);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    margin-top: 30px;
}

.process-card {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.process-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.process-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.important-notes {
    background-color: rgba(94, 82, 79, 0.2);
    padding: 20px;
    border-left: 4px solid var(--accent);
    margin-top: 30px;
    border-radius: 0 10px 10px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.span-2 {
    grid-column: span 2;
}

.service-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.service-card h3 {
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.service-card strong {
    color: var(--text-main);
}

.service-card ul {
    list-style-type: none;
}

.service-card ul li {
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.commission-outro {
    text-align: center;
    background-color: var(--bg-darker);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-top: 30px;
}

.commission-outro h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.commission-outro p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.contact-section {
    background-color: var(--bg-card);
    text-align: center;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-item .icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.social-item:hover .icon {
    background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: var(--bg-darker);
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

@media (max-width: 1200px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 900px) {
    nav {
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-socials {
        display: none;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(42, 37, 36, 0.98);
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hero, .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-right {
        padding: 20px 0;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .span-2 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .gallery-grid, .process-grid {
        grid-template-columns: 1fr !important;
    }
    
    .gallery-header h1 { 
        font-size: 1.6rem; 
    }
}
