/* Olivia Fashion - Static Site CSS */
/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #1d1d1d;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
}

/* Header */
.header {
    background-color: #000;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 24px;
    color: #e29a10;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.logo:hover {
    color: #f0b030;
    text-shadow: 1px 1px 4px rgba(226, 154, 16, 0.5);
}

/* Lightbox Styles */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: #e29a10;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(226, 154, 16, 0.8);
    border: none;
    color: #000;
    font-size: 24px;
    cursor: pointer;
    padding: 15px 20px;
    transition: background 0.3s ease;
    border-radius: 4px;
}

.lightbox-nav:hover {
    background: #e29a10;
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-caption {
    text-align: center;
    color: #fff;
    margin-top: 15px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lightbox-counter {
    color: #e29a10;
    font-size: 14px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        padding: 10px 15px;
        font-size: 18px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: -35px;
        right: 0;
    }
}

/* Navigation */
.nav {
    display: flex;
    gap: 10px;
}

.nav a {
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #e29a10;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    background-color: #e29a10;
    border-radius: 4px;
}

/* Hero Section */
.hero {
    background-color: #000;
    padding: 0;
}

.hero-slider {
    max-width: 100%;
    overflow: hidden;
}

.hero-slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Section Base */
.section {
    padding: 60px 20px;
    max-width: 1170px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 31.5px;
    color: #1b1b1b;
    background-color: #e9e9e9;
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 30px;
    letter-spacing: -0.1pt;
}

/* About Section */
.about {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-signature {
    font-style: italic;
    color: #666;
    margin-top: 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Portfolio Section */
.portfolio {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

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

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(226, 154, 16, 0.4);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.portfolio-name {
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.portfolio-price {
    font-size: 14px;
    color: #e29a10;
    font-weight: 500;
}

/* Gallery Section */
.gallery {
    padding: 60px 20px;
}

.gallery-container {
    max-width: 1170px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 20px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact .section-title {
    background-color: #333;
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

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

.form-group label {
    font-size: 14px;
    color: #ccc;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid #333;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e29a10;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #e29a10;
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #f0b030;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #171717;
    color: #999;
    padding: 40px 20px;
    text-align: center;
}

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

.footer-location {
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-copyright {
    font-size: 13px;
    color: #666;
}

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

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 15px;
        background-color: #111;
        border-radius: 4px;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 15px 20px;
        border-bottom: 1px solid #222;
    }

    .section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .about {
        flex-direction: column;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }

    .section-title {
        font-size: 20px;
        padding: 8px 15px;
    }

    .portfolio-item img {
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gallery-item img {
        height: 150px;
    }
}
