/* Enhanced Minimalist Styles - Light Theme */

/* Service Cards - Clean Hover */
.service-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 3rem 2rem;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
}

.service-card i {
    font-size: 2rem;
    margin-bottom: 2rem;
    display: block;
    color: var(--color-accent);
    transition: var(--transition-smooth);
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Portfolio Items - Elegant Hover */
.portfolio-item {
    position: relative;
    overflow: hidden;
    background: #fff;
    transition: var(--transition-smooth);
}

.portfolio-item img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%);
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Overlay - Subtle but Visible */
.p-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.3) 0%, rgba(26, 26, 26, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.p-overlay h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.p-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.portfolio-item:hover .p-overlay {
    opacity: 1;
}

/* Form Inputs - Clean & Minimal */
input,
textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.5;
}

/* Stats - Minimal Numbers */
.stats {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    justify-content: center;
}

.stats>div {
    text-align: center;
}

.stats h3 {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.stats span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

/* Value Cards - Paper-like */
.value-card {
    padding: 2.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 2px solid var(--color-accent);
    transition: var(--transition-smooth);
}

.value-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.value-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

/* Social Icons - Minimal */
.socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition: var(--transition-smooth);
    color: var(--color-text-muted);
}

.socials a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-3px);
}

/* Custom Scrollbar - Minimal */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c49563;
}

/* Parallax Sections */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 248, 243, 0.85);
    z-index: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

/* Lightbox - Clean */
#lightbox {
    background: rgba(250, 248, 243, 0.98);
    backdrop-filter: blur(10px);
}

#lightbox-close {
    color: var(--color-text-main);
    font-size: 2.5rem;
    font-weight: 300;
}

#lightbox-img {
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Filter Buttons */
.filter-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 0.7rem 1.8rem;
    font-size: 0.8rem;
}

.filter-btn.active {
    background: var(--color-text-main);
    color: #fff;
    border-color: var(--color-text-main);
}

.filter-btn:hover {
    border-color: var(--color-text-main);
    background: var(--color-text-main);
    color: #fff;
}

/* Contact Items */
.contact-item {
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--color-accent);
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

/* Success/Error Messages */
.success-message {
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid var(--color-accent);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.success-message h4 {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.error-message {
    background: rgba(200, 100, 100, 0.1);
    border: 1px solid #c86464;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.error-message p {
    color: #c86464;
    margin: 0;
}

/* Stagger Animation for Grid Items */
.fade-in-up:nth-child(1) {
    transition-delay: 0.1s;
}

.fade-in-up:nth-child(2) {
    transition-delay: 0.2s;
}

.fade-in-up:nth-child(3) {
    transition-delay: 0.3s;
}

.fade-in-up:nth-child(4) {
    transition-delay: 0.4s;
}

.fade-in-up:nth-child(5) {
    transition-delay: 0.5s;
}

.fade-in-up:nth-child(6) {
    transition-delay: 0.6s;
}

/* Smooth Page Transitions */
body {
    animation: fadeIn 0.5s ease-in;
}

/* Image Lazy Load Effect */
img {
    transition: opacity 0.6s ease, filter 0.6s ease;
}

img[loading="lazy"] {
    opacity: 0.3;
    filter: blur(5px);
}

img[loading="lazy"].loaded {
    opacity: 1;
    filter: blur(0);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Print Styles */
@media print {

    header,
    footer,
    .btn,
    .hamburger {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}