/* =====================
   GLOBAL
===================== */

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

body{
    background:#e8e5e5;
    color:#222;
    font-family:'Inter', sans-serif;
}

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

header{
    background:#e5e1e1;
    border-bottom:1px solid #999;
}

.nav-wrapper{
    max-width:1200px;
    width:100%;
    margin:auto;
    padding:0 20px;
    height:90px;

    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
}

/* Logo Link */

.logo{
    text-align:center;
    line-height:1.1;
    text-decoration:none;
    color:#222;
    display:block;
    cursor:pointer;
    transition:opacity .3s ease;
}

.logo:hover{
    opacity:.8;
}

.logo h1{
    font-family:'Cormorant Garamond', serif;
    font-size:36px;
    letter-spacing:1px;
    font-weight:600;
}

.logo span{
    font-size:11px;
    letter-spacing:4px;
}

/* Social Image */

.socials{
    justify-self:start;
}

.socials a{
    display:inline-block;
}

.socials img{
    width:50px;
    height:auto;
    display:block;
    transition:opacity .3s ease;
}

.socials img:hover{
    opacity:.8;
}

/* Navigation */

nav{
    justify-self:end;
}

nav ul{
    display:flex;
    list-style:none;
    gap:40px;
}

nav a{
    text-decoration:none;
    color:#222;
    font-size:15px;
    transition:opacity .3s ease;
}

nav a:hover{
    opacity:.7;
}

/* =====================
   MAIN CONTENT
===================== */

.container{
    max-width:1200px; 
    width:100%;
    margin:25px auto 0;
    padding:0 20px;
}

/* Hero Images */

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.hero-grid img{
    width:100%;
    height:800px;
    object-fit:cover;
    display:block;
}

/* =====================
   ABOUT SECTION
===================== */

.about{
    margin-top:28px;

    display:grid;
    grid-template-columns:38% 62%;
    gap:18px;
    align-items:start;
}

.about-image img{
    width:100%;
    height:250px;
    object-fit:cover;
    border:1px solid #555;
}

.about-content small{
    display:block;
    margin-bottom:14px;
    font-size:14px;
}

.about-content h2{
    font-size:58px;
    font-weight:300;
    margin-bottom:25px;
    font-family:'Cormorant Garamond', serif;
}

.about-content p{
    max-width:520px;
    line-height:1.9;
    color:#555;
    margin-bottom:22px;
}

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

.cta{
    text-align:center;
    margin:55px 0 40px;
}

.cta h3{
    font-family:'Cormorant Garamond', serif;
    font-size:64px;
    font-weight:400;
}

/* =====================
   DIVIDER
===================== */

.divider{
    border-top:1px solid #999;
}

/* =====================
   FOOTER
===================== */

footer{
    background:#e5e1e1;
    padding:35px 0;
}

.footer-inner{
    max-width:1200px;
    width:100%;
    margin:auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
}

/* Footer Social Image */

.footer-socials{
    justify-self:start;
}

.footer-socials a{
    display:inline-block;
}

.footer-socials img{
    width:50px;
    height:auto;
    display:block;
    transition:opacity .3s ease;
}

.footer-socials img:hover{
    opacity:.8;
}

/* Footer Logo Link */

.footer-logo{
    text-align:center;
    text-decoration:none;
    color:#222;
    display:block;
    cursor:pointer;
    transition:opacity .3s ease;
}

.footer-logo:hover{
    opacity:.8;
}

.footer-logo h4{
    font-family:'Cormorant Garamond', serif;
    font-size:36px;
    line-height:1;
}

.footer-logo span{
    font-size:11px;
    letter-spacing:4px;
}

.footer-links{
    justify-self:end;
}

.footer-links ul{
    list-style:none;
}

.footer-links li{
    margin:8px 0;
}

.footer-links a{
    text-decoration:none;
    color:#222;
}

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

/* =====================
   TABLET
===================== */

@media (max-width:900px){

    .nav-wrapper,
    .footer-inner{
        grid-template-columns:1fr;
        gap:20px;
        height:auto;
        padding:20px;
        text-align:center;
    }

    nav,
    .footer-links{
        justify-self:center;
    }

    .socials,
    .footer-socials{
        justify-self:center;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
    }

    .hero-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .hero-grid img{
        height:auto;
        aspect-ratio:4/5;
    }

    .about{
        grid-template-columns:1fr;
        gap:30px;
    }

    .about-content{
        text-align:center;
    }

    .about-content p{
        max-width:100%;
    }

    .about-content h2{
        font-size:42px;
    }

    .cta{
        padding:0 20px;
    }

    .cta h3{
        font-size:42px;
        line-height:1.2;
    }
}

/* =====================
   MOBILE
===================== */

@media (max-width:480px){

    .container{
        padding:0 16px;
    }

    .nav-wrapper,
    .footer-inner{
        padding:16px;
    }

    .logo h1,
    .footer-logo h4{
        font-size:28px;
    }

    .about-content h2{
        font-size:34px;
    }

    .cta h3{
        font-size:32px;
    }

    nav ul{
        gap:15px;
    }

    .socials img,
    .footer-socials img{
        width:40px;
    }
}
/* =====================
   GALLERY PAGE
===================== */

.page-header{
    text-align:center;
    margin:60px 0;
}

.page-header h1{
    font-family:'Cormorant Garamond', serif;
    font-size:72px;
    font-weight:400;
    margin-bottom:15px;
}

.page-header p{
    max-width:600px;
    margin:0 auto;
    line-height:1.8;
    color:#555;
}

.gallery-section{
    margin-bottom:80px;
}

.gallery-section h2{
    font-family:'Cormorant Garamond', serif;
    font-size:48px;
    font-weight:400;
    margin-bottom:25px;
    text-align:center;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:20px;
}

.gallery-grid img{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    display:block;
    transition:transform .3s ease;
}

.gallery-grid img:hover{
    transform:scale(1.02);
}

@media (max-width:768px){

    .page-header h1{
        font-size:52px;
    }

    .gallery-section h2{
        font-size:36px;
    }

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

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

.contact-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    margin-bottom:80px;
}

.contact-info h2{
    font-family:'Cormorant Garamond', serif;
    font-size:48px;
    font-weight:400;
    margin-bottom:20px;
}

.contact-info p{
    line-height:1.9;
    color:#555;
    margin-bottom:20px;
}

.contact-social{
    margin-top:30px;
}

.contact-social a{
    text-decoration:none;
    color:#222;
    border-bottom:1px solid #222;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.contact-form label{
    font-size:14px;
    margin-top:10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
    padding:14px;
    border:1px solid #bbb;
    background:#fff;
    font-size:16px;
    font-family:'Inter', sans-serif;
}

.contact-form textarea{
    resize:vertical;
}

.submit-btn{
    margin-top:20px;
    padding:15px;
    border:none;
    background:#222;
    color:#fff;
    cursor:pointer;
    font-size:16px;
    transition:opacity .3s ease;
}

.submit-btn:hover{
    opacity:.85;
}

@media (max-width:900px){

    .contact-section{
        grid-template-columns:1fr;
        gap:40px;
    }

    .contact-info{
        text-align:center;
    }

    .contact-info h2{
        font-size:40px;
    }
}

/* =====================
   SERVICES PAGE
===================== */

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:30px;
    margin-bottom:80px;
}

.service-card{
    background:#fff;
    overflow:hidden;
    border:1px solid #ddd;
}

.service-card img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    display:block;
}

.service-card h2{
    font-family:'Cormorant Garamond', serif;
    font-size:36px;
    font-weight:400;
    padding:25px 25px 10px;
}

.service-card p{
    padding:0 25px;
    line-height:1.8;
    color:#555;
}

.service-card h3{
    padding:20px 25px;
    font-size:18px;
    font-weight:500;
}

.service-btn{
    display:inline-block;
    margin:0 25px 25px;
    padding:12px 24px;
    background:#222;
    color:#fff;
    text-decoration:none;
    transition:opacity .3s ease;
}

.service-btn:hover{
    opacity:.85;
}

.services-cta{
    text-align:center;
    padding:80px 20px;
}

.services-cta h2{
    font-family:'Cormorant Garamond', serif;
    font-size:52px;
    font-weight:400;
    margin-bottom:20px;
}

.services-cta p{
    max-width:600px;
    margin:0 auto 30px;
    line-height:1.8;
    color:#555;
}

@media (max-width:768px){

    .services-cta h2{
        font-size:38px;
    }

    .service-card h2{
        font-size:30px;
    }
}