@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&family=Cormorant+Garamond:wght@300;400;500&display=swap');

body {
    padding-top: 6rem;  
    background-color: rgba(223, 225, 226, 255);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 0.3rem 0;
    position: relative;
}

nav a.contact-btn {
    background-color: rgba(240, 128, 128, 0.2);
    border-radius: 25px;
    padding: 0.3rem 2rem;
    transition: all 0.3s ease;
}

nav a.contact-btn:hover {
    background-color: lightcoral;
    color: white;
}

#contact {
    color: lightcoral;
}

#contactContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 10vw;
    gap: 10vw;
    min-height: 80vh;
}

.contact-info {
    flex: 1;
    max-width: 600px;
}

.contact-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.contact-info > p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.social-location {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    margin-top: 2rem;
}

.social-location .contact-item {
    margin-bottom: 0;  
}

.social-location .contact-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #444;
}

.social-location .contact-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #444;
}

.contact-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: lightcoral;
}

.gallery-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #444;
}

.gallery-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

.contact-image {
    flex: 1;
    max-width: 600px;
    display: flex;
    align-items: center;
    align-self: center;
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {
    nav {
        padding: 1rem 0;
        font-size: 0.8rem;
        gap: 1.5rem;
    }

    #contactContainer {
        flex-direction: column;
        padding: 3rem 1rem;
    }

    .contact-info {
        padding: 0 10vw;
    }

    .contact-image {
        margin-top: 2rem;
        padding: 0 2rem;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-image img {
        width: 100%;
    }
}

/* Tablet*/
@media (min-width: 768px) {
    nav {
        gap: 2rem;
        position: sticky;
    }
    
    nav a {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }

    body {
        padding-top: 0; 
    }
}

/* Desktop  */
@media (min-width: 1024px) {
    nav {
        gap: 8rem;
        padding: 1.5rem 0;
    }
    
    nav a {
        font-size: 1.6rem;
        letter-spacing: 0.2em;
    }
}

/* Medium Desktop (780px - 1441px) - Fix header visibility */
@media (min-width: 780px) and (max-width: 1441px) {
    body {
        padding-top: 0;  /* Remove padding when navbar becomes sticky */
    }
    
    nav {
        position: sticky;
        top: 0;
        gap: 3rem;
        padding: 1rem 0;
    }
    
    nav a {
        font-size: 1.1rem;
        letter-spacing: 0.12em;
        padding: 0.4rem 0.6rem;
    }
    
    nav a.contact-btn {
        padding: 0.4rem 1.2rem;
    }
}

/* 1440×900 Specific Breakpoint - Adjusted for narrower screens */
@media (min-width: 1441px) and (max-width: 1919px) {
  nav {
    gap: 4rem;
    padding: 1rem 0;
  }
  
  nav a {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    padding: 0.5rem 0.8rem;
  }
  
  nav a.contact-btn {
    padding: 0.5rem 1.5rem;
  }
}

html {
    scroll-behavior: smooth;
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: lightcoral;
    box-shadow: 0 0 0 2px rgba(240, 128, 128, 0.1);
}

.contact-form button {
    background-color: rgba(240, 128, 128, 0.2);  
    border: none;
    color: #333;
    padding: 0.8rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: lightcoral;  
    border-color: lightcoral;
    color: white;
}

.contact-form button:disabled {
    cursor: default;
    opacity: 0.8;
}

.contact-form button.sent {
    background-color: lightcoral;
    color: white;
}


@media (max-width: 768px) {
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; 
    }
}


.hidden {
    display: none;
}
