@import 'https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i|Playfair+Display:400,400i,700,700i,900,900i';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* TESTS NAVBAR */
header {
    text-align: center;
    -webkit-transition: all .5s;
    transition: all .5s;
    height: 65px;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }
}

.navbar-fixed-top {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    background-color: #fff;
}
@media (min-width: 768px) {
  .navbar-fixed-top {
    border-radius: 0;
  }
}
.navbar-fixed-top {
  top: 0;
  border-width: 0 0 1px;
}
@media (min-width: 768px) {
  .navbar-fixed-top {
    padding-right: 0;
    padding-left: 0;
  }
}
.navbar-fixed-top{
  max-height: 340px;
}
@media (max-device-width: 480px) and (orientation: landscape) {
  .navbar-fixed-top{
    max-height: 200px;
  }
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

nav ul {
    display: inline-block;
    padding-left: 0;
    list-style: none;
    padding: 20px;
    margin-bottom: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
}

nav li {
    display: inline-block;
    margin: 10px;
}

nav li a {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}

nav li select {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    font-size: 11px;
    font-weight: bold;
    background-color: transparent;
    border: none;
}

a:focus {
    color: #444;
    text-decoration: none;
}

a:hover {
    color: #425BB5;
    text-decoration: none;
}

a.active {
    color: #425BB5;
}

@media (max-width: 420px) {
    nav li{
        margin: 4px;
    }

    nav li a {
        font-size: 8px;
    }
}
/* END TESTS */


body {
    font-family: "Open Sans", sans-serif;
    color: #444;
    background: #fff;
    line-height: 1.6;
}

.home-pf h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
}

.tagline {
  margin-top: .5rem;
  font-size: 1.2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
  color: #000;
}

.home-pf {
    background: url(../img/home-pf2.png) center center no-repeat;
    background-size: 100%;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-block {
    margin: 6rem auto;
    width: 90%;
    max-width: 1100px;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-family: serif;
}

.section-subtitle {
    margin-top: 0.8rem;
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 5rem auto;
}

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

.photo-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 8px;
}

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

.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 8px;
}

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

.gallery-subsection {
    margin-top: 10rem;
}

.subsection-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: left;
    text-transform: uppercase;
}

/* Subsection description */
.subsection-description{
    max-width:700px;
    margin:0.5rem 0 1.2rem 0;
    font-size:1rem;
    line-height:1.6;
    color:#555;
    /* font-family: serif; */
}

.gallery-grid {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    /* scroll-snap-type: x mandatory; */
    scroll-behavior: smooth;
}

.gallery-grid .gallery-item {
    flex: 0 0 auto;
    width: 260px;
}

.gallery-item img {
    scroll-snap-align: start;
}

.about, .contact {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.about h2, .contact h2 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
}

.contact a:hover {
    color: #425BB5;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #777;
}

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

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox.active {
    display: flex;
}

