/* style.css - c41shawn photography */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f8f8f8;
    color: #121212;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Contact page keeps pavement background */
body.contact-page {
    background-image: url('images/pavement.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    body.contact-page {
        background-image: url('images/pavement_vert.jpg');
    }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Minion Pro', 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { 
    margin-bottom: 1rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
}

/* === NAVIGATION === */
nav {
    background: rgba(248, 248, 248, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #121212;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    list-style: none;
}

.nav-menu a {
    color: #121212;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem;
    }
}

/* === COLLECTIONS HOME === */
.collections-container {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
}

.collections-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #121212;
    letter-spacing: 2px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .collections-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
}

.collection-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.4s ease;
}

.collection-card:hover {
    transform: translateY(-8px);
}

.collection-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid #121212;
}

.collection-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.collection-info {
    text-align: center;
    background: #f8f8f8;
    padding: 1.5rem;
    border: 1px solid #121212;
}

.collection-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.collection-description {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: 400;
}

/* === GALLERY GRID (Individual Collections) === */
.gallery-container {
    flex: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
}

.gallery-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #121212;
    letter-spacing: 2px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
}

.photo-card {
    position: relative;
    cursor: pointer;
    background: #f8f8f8;
    border: 1px solid #121212;
    padding: 1rem;
}

.photo-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    margin-bottom: 1rem;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-card:hover img {
    transform: scale(1.03);
}

.photo-info {
    padding: 0.5rem;
}

.photo-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #121212;
    letter-spacing: 0.5px;
}

.photo-description {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
    font-weight: 400;
}

.buy-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #121212;
    color: #f8f8f8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid #121212;
    transition: all 0.3s;
    cursor: pointer;
}

.buy-button:hover {
    background-color: #f8f8f8;
    color: #121212;
}

/* === LIGHTBOX === */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #f8f8f8;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-weight: 300;
}

.lightbox-close:hover {
    opacity: 1;
}

/* === CONTACT PAGE === */
.contact-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.contact-content {
    max-width: 600px;
    width: 100%;
    background: rgba(248, 248, 248, 0.00);
    padding: 3rem;
    border: 2px solid #121212;
}

.contact-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #121212;
    background: #f8f8f8;
    color: #121212;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
}

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

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

.submit-button {
    padding: 1rem 2rem;
    background: #121212;
    color: #f8f8f8;
    border: 1px solid #121212;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background: #f8f8f8;
    color: #121212;
}

/* === ABOUT PAGE === */
.about-container {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.about-content {
    background: #f8f8f8;
    padding: 3rem;
    border: 1px solid #121212;
}

.about-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
    display: block;
    border: 1px solid #121212;
}

/* === FOOTER === */
footer {
    background-color: #121212;
    color: #f8f8f8;
    padding: 2rem;
    margin-top: auto;
    border-top: 1px solid #121212;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #f8f8f8;
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.8;
    letter-spacing: 0.5px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}