/* RESET */

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

/* WEBFONTS */

@font-face {
font-family:"Inter";
src:url("../fonts/Inter-VariableFont_opsz,wght.woff") format("woff");
font-display: swap;
}

@font-face {
font-family:"Playfair Display";
src:url("../fonts/PlayfairDisplay-Italic-VariableFont_wght.woff") format("woff");
font-display: swap;
}

@font-face {
font-family:"Oswald";
src:url("../fonts/Oswald-VariableFont_wght.woff") format("woff");
font-display: swap;
}

/* BASE */

body{
font-family:'Inter',sans-serif;
line-height:1.6;
color:#1a1a1a;
background:#f5f5f5;
opacity:1;
transition:opacity 0.4s ease;
}

body.fade-out{
opacity:0;
}

/* BURGER BUTTON */

.burger {
display:none;
background:none;
border:none;
font-size:1.8rem;
cursor:pointer;
}
/* Burger default */
.burger{
font-size:1.8rem;
background:none;
border:none;
cursor:pointer;
}

/* Calm Nature */
.calm-nature .burger{
color:#C2B280;
}

/* Living Creatures */
.living-creatures .burger{
color:#C2B280;
}

/* Urban Energy */
.urban-energy .burger{
color:#FFD400;
}
/* TYPOGRAPHY */

h1,h2,h3{
font-family:'Playfair Display',serif;
font-weight:700;
line-height:1.2;
letter-spacing:0.5px;
}

p{
font-size:1rem;
font-weight:400;
}

/* HEADER TITLE */

.main-header h1{
font-size:2.4rem;
text-shadow:2px 2px 6px rgba(0,0,0,0.35);
}

/* HERO TEXT */

.hero h2{
font-size:2.8rem;
max-width:900px;
margin:0 auto;
}

/* CTA TEXT */

.cta-overlay h2{
font-size:1.8rem;
}

.cta-overlay span{
font-size:0.85rem;
font-weight:500;
}

/* CONTAINER */

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

/* NAV */

.nav-item{
font-size:1.5rem;
text-decoration:none;
transition:transform 0.3s ease;
}

.nav-item:hover{
transform:translateY(-3px) scale(1.1);
}

/* DIVIDER */

.section-divider{
border:none;
height:2px;
background-color:#3E5F4F;
opacity:0.5;
margin:5rem auto;
max-width:900px;
}

/* ========================= */
/* PAGE STRUCTURE            */
/* ========================= */

html, body{
height:100%;
}

body{
display:flex;
flex-direction:column;
min-height:100vh;
}

main{
flex:1;
}

footer{
text-align:center;
padding:2rem;
}

/* ========================= */
/* HEADER                    */
/* ========================= */

.main-header{
padding:2rem 3rem;
}

.header-inner{
display:flex;
align-items:center;
justify-content:space-between;
}

.header-left{
display:flex;
align-items:center;
}

.header-center{
text-align:center;
flex:1;
}

.header-right{
display:flex;
align-items:center;
justify-content:flex-end;
}

.site-logo{
height:80px;
display:block;
}

/* ========================= */
/* NAVIGATION                */
/* ========================= */

.icon-nav{
display:flex;
gap:2rem;
background:#c7d6df;
padding:0.8rem 2rem;
border-radius:50px;
}

/* ========================= */
/* HERO                      */
/* ========================= */

.hero{
padding:10rem 2rem;
text-align:center;
}
.hero{
opacity:1;
}
/* ========================= */
/* INTRO SECTIONS            */
/* ========================= */

.intro{
max-width:650px;
margin:4rem auto;
text-align:center;
}

.intro h2{
font-size:2.4rem;
margin-bottom:1.5rem;
}

.intro p{
font-size:1.25rem;
line-height:1.8;
}

.page-intro{
max-width:900px;
margin:6rem auto;
text-align:center;
padding:0 2rem;
}

.page-intro p{
font-size:1.55rem;
line-height:1.9;
margin-bottom:2rem;
max-width:760px;
margin-left:auto;
margin-right:auto;
}

.page-intro p:first-child{
font-size:1.75rem;
font-weight:500;
}

/* ========================= */
/* CTA SECTION               */
/* ========================= */

.cta-section{
padding:5rem 2rem;
}

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

.cta-card{
position:relative;
overflow:hidden;
border-radius:20px;
display:block;
text-decoration:none;
color:white;
}

.cta-card img{
width:100%;
height:420px;
object-fit:cover;
display:block;
transition:transform 0.4s ease;
}

.cta-overlay{
position:absolute;
bottom:0;
left:0;
right:0;

padding:1.5rem;

background:linear-gradient(
to top,
rgba(0,0,0,0.85),
rgba(0,0,0,0.45),
rgba(0,0,0,0.15),
transparent
);
}

.cta-overlay h2{
text-shadow:
0 2px 6px rgba(0,0,0,0.9),
0 0 10px rgba(0,0,0,0.6);
}

/* Hide text initially */

.cta-overlay p,
.cta-overlay span{
opacity:0;
transform:translateY(15px);
transition:all 0.35s ease;
}

/* Hover */

.cta-card:hover img{
transform:scale(1.05);
}

.cta-card:hover .cta-overlay p,
.cta-card:hover .cta-overlay span{
opacity:1;
transform:translateY(0);
}

/* ========================= */
/* GALLERY                   */
/* ========================= */

.gallery-title{
text-align:center;
font-size:2rem;
margin-bottom:3rem;
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(3, 1fr);
gap:1.2rem;
max-width:900px;
margin:0 auto;
}

/* ========================= */
/* GALLERY CARD              */
/* ========================= */

.photo-card{
position:relative;
overflow:hidden;
border-radius:18px;
border:3px solid;
transition:border-color 0.25s ease, transform 0.25s ease;
}

/* IMAGE */

.photo-card img{
width:100%;
height:220px;
object-fit:cover;
display:block;
transition:transform 0.4s ease;
pointer-events:none;
border-radius:inherit;
}

/* HOVER */

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

/* Overlay */

.photo-card .cta-overlay{
position:absolute;
bottom:0;
left:0;
right:0;

padding:1rem;

background:linear-gradient(
to top,
rgba(0,0,0,0.85),
rgba(0,0,0,0.35),
transparent
);
}

/* Hidden text */

.photo-card .cta-overlay h3,
.photo-card .cta-overlay p{
opacity:0;
transform:translateY(10px);
transition:all 0.35s ease;
color:white;
}

/* Reveal */

.photo-card:hover .cta-overlay h3,
.photo-card:hover .cta-overlay p{
opacity:1;
transform:translateY(0);
}

/* ========================= */
/* TIPS SECTION              */
/* ========================= */

.tips{
max-width:700px;
margin:4rem auto;
padding:3rem 4rem;
border-radius:16px;
line-height:1.8;
}

.tips h2{
margin-bottom:2rem;
}

.tips ol{
padding-left:1.4rem;
}

.tips li{
margin-bottom:1rem;
}

/* ========================= */
/* CONTACT PAGE              */
/* ========================= */

.contact-layout{
display:grid;
grid-template-columns:260px 1fr;
gap:3rem;
max-width:900px;
margin:3rem auto;
align-items:start;
}

/* Sidebar */

.contact-sidebar{
display:flex;
flex-direction:column;
align-items:center;
gap:1.5rem;
max-width:260px;
margin:0 auto;
margin-top:1rem;
}

.contact-profile{
width:100%;
border-radius:12px;
border:3px solid #dcdcdc;
padding:6px;
}

/* About box */

.contact-about{
width:100%;
background:#7b7b7b;

border-radius:14px;
padding:2rem 1.8rem;

text-align:center;
color:#111;

box-shadow:0 6px 18px rgba(0,0,0,0.15);
}

.contact-about h2{
margin-bottom:1rem;
font-size:1.6rem;
}

.contact-about p{
font-size:0.8rem;
line-height:1.7;
max-width:220px;
margin:0 auto;
}

/* Form */

.contact-form-wrapper{
border:3px solid #6e6e6e;
border-radius:12px;
padding:3rem;
max-width:520px;
width:100%;
background:white;
box-shadow:0 8px 24px rgba(0,0,0,0.12);
}

.contact-form{
display:flex;
flex-direction:column;
align-items:center;
}

.contact-form input,
.contact-form textarea{
width:380px;
padding:14px;
margin:18px 0;
border-radius:10px;
border:3px solid #c22a0e;
background:#ff3b12;
color:white;
text-align:center;
}

.contact-form button{
width:200px;
padding:12px;
margin-top:16px;
border:none;
border-radius:6px;
background:#ff3b12;
color:white;
font-size:1rem;
cursor:pointer;
}

.contact-form button:hover{
background:#d72f0b;
}

/* ========================= */
/* POPUP                     */
/* ========================= */

.popup{
position:fixed;
bottom:40px;
right:40px;

background:#1e1e1e;
color:white;

padding:1rem 1.5rem;
border-radius:8px;

opacity:0;
transform:translateY(20px);

transition:all 0.3s ease;
pointer-events:none;
}

.popup.show{
opacity:1;
transform:translateY(0);
}

/* ========================= */
/* NYC EASTER EGG            */
/* ========================= */

#nyc-secret{
position:fixed;
bottom:40px;
left:50%;
transform:translateX(-50%) translateY(100px);

background:#FFD400;
color:#1E1E1E;

padding:1rem 2rem;
border-radius:30px;

opacity:0;
transition:all 0.4s ease;
z-index:999;
}

#nyc-secret.show{
opacity:1;
transform:translateX(-50%) translateY(0);
}

#secret-close{
background:none;
border:none;
font-size:1rem;
cursor:pointer;
font-weight:bold;
}

.nyc-photo.found{
outline:3px solid #FFD400;
transform:scale(1.03);
}
@media (max-width:768px){

.main-header{
padding:1.5rem 1rem;
}

.hero{
padding:4rem 1rem;
}
@media (max-width:768px){

/* hide desktop nav */
.icon-nav{
display:none;
}

/* show menu when burger clicked */
.icon-nav.show{
display:flex;
flex-direction:column;
position:absolute;
top:80px;
right:15px;
background:#c7d6df;
padding:1.2rem;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* show burger */
.burger{
display:block;
}

}
.hero h2{
font-size:1.4rem;
line-height:1.4;
}

.cta-grid{
grid-template-columns:1fr;
gap:1.5rem;
}

.cta-card img{
height:460px;
}

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

.gallery-grid img{
height:260px;
}

.intro{
padding:0 1.5rem;
}

.site-logo{
height:75px;
}

.nav-item{
font-size:1.3rem;
}

/* burger only on mobile */

.burger{
display:block;
}

}