:root {
    /* CSS HEX */
    --black: #000000ff;
    --blackberry-cream: #502f4cff;
    --brilliant-rose: #ea3fa5ff;
    --thistle: #c8b8dbff;
    --snow: #f9f4f5ff;
}

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

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

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    background: var(--snow);
    color: var(--black);
}

/* =========================
   LAYOUT
========================= */

main {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

section {
    margin-bottom: 60px;
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3 {
    margin-bottom: 15px;
    color: var(--blackberry-cream);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 15px;
}

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

header {
    /*background: var(--blackberry-cream);*/
    background: var(--brilliant-rose);
    color: var(--snow);
    padding: 15px 20px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header img {
    height: 50px;
}

header ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header a {
    color: var(--snow);
    text-decoration: none;
    font-weight: bold;
}

header a:hover {
    /*lor: var(--brilliant-rose);*/
    color: var(--blackberry-cream);
}

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



.hero {
    background-image: linear-gradient(to bottom, rgba(212, 0, 201, 0.788), rgba(90, 7, 69, 0.842)), url("../images/hero_1a.jpg");
    /*background-size: 100% auto;*/   /* full width */
    background-size: cover;
    background-position: center;  /* vertically + horizontally centered */
    background-repeat: no-repeat; /* prevents tiling */
    
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
}

.hero2 {
    background-image: linear-gradient(to bottom, rgba(212, 0, 201, 0.788), rgba(90, 7, 69, 0.842)), url("../images/hero_2a.jpg");
    background-size: cover;   /* full width */
    background-position: center;  /* vertically + horizontally centered */
    background-repeat: no-repeat; /* prevents tiling */
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero2 h1 {
    color: white;
    font-size: 3rem;
}

.hero3 {
    background-image: linear-gradient(to bottom, rgba(212, 0, 201, 0.788), rgba(90, 7, 69, 0.842)), url("../images/hero_3a.jpg");
    background-size: cover;   /* full width */
    background-position: center;  /* vertically + horizontally centered */
    background-repeat: no-repeat; /* prevents tiling */
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero3 h1 {
    color: white;
    font-size: 3rem;
}

.hero4 {
    background-image: linear-gradient(to bottom, rgba(212, 0, 201, 0.788), rgba(90, 7, 69, 0.842)), url("../images/hero_4a.jpg");
    background-size: cover;   /* full width */
    background-position: center;  /* vertically + horizontally centered */
    background-repeat: no-repeat; /* prevents tiling */
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero4 h1 {
    color: white;
    font-size: 3rem;
}

.hero5 {
    background-image: linear-gradient(to bottom, rgba(212, 0, 201, 0.788), rgba(90, 7, 69, 0.842)), url("../images/hero_5a.jpg");
    background-size: cover;   /* full width */
    background-position: center;  /* vertically + horizontally centered */
    background-repeat: no-repeat; /* prevents tiling */
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero5 h1 {
    color: white;
    font-size: 3rem;
}



/* =========================
   CARDS / CONTENT BLOCKS
========================= */

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

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

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

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.anna_image {
    height:280px;
}

/* =========================
   BUTTONS
========================= */

.button {
    display: inline-block;
    background: var(--brilliant-rose);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.button:hover {
    background: var(--blackberry-cream);
}


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

footer {
    background: var(--black);
    color: white;
    text-align: center;
    padding: 20px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 768px) {

    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 20px;
    }

    header nav {
        flex-direction: column;
        gap: 10px;
    }

    header ul {
        flex-direction: column;
        /*align-items: center;*/
        align-items: right;
    }
}

/* =========================
   HAMBURGER MENU
========================= */

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--snow);
}

/* Mobile styles 
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    #nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--blackberry-cream);
        margin-top: 10px;
    }

    #nav-links.active {
        display: flex;
    }

    #nav-links li {
        text-align: centre;
        padding: 10px 0;
    }
}*/

/* NAV LAYOUT */
header nav {
    display: flex;
    justify-content: space-between;
    align-items: centre;
    flex-wrap: wrap;
}

/* Logo */
header nav img {
    height: 50px;
}

/* Hamburger */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--snow);
}

/* Default nav (desktop) */
#nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* =========================
   MOBILE STYLES
========================= */
@media (max-width: 768px) {

    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 20px;
    }

    /* KEEP NAV HORIZONTAL */
    header nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Show hamburger */
    .menu-toggle {
        display: block;
    }

    /* Hide menu initially */
    #nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        /*background: var(--blackberry-cream);*/
        margin-top: 10px;
    }

    /* Show when active */
    #nav-links.active {
        display: flex;
    }

    #nav-links li {
        /*text-align: center;
        text-align: right;*/
        text-align: right;
        padding: 12px 0;
    }

    .contact-image {
        display: none;
    }
}
/*.gallery-grid{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
 gap:20px;
}*/



/*
.gallery img{
 width:100%;
 border-radius:8px;
}
.gallery p{
 font-size:0.9rem;
 margin-top:5px;
}

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

.gallery-grid div {
    overflow: hidden;
    border-radius: 8px;
}


.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

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

.gallery-grid div {
    aspect-ratio: 4 / 3;
}

.gallery-grid img {
    height: 100%;
}
*/

/* GALLERY LAYOUT */
.gallery {
    margin-top: 40px;
}

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

/* CARD CONTAINER */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

/* PERFECT IMAGE FRAMING */
.gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* HOVER ZOOM */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* OVERLAY */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;

    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

/* SHOW OVERLAY ON HOVER */
.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* TEXT STYLING */
.gallery-overlay p {
    margin: 0;
    font-size: 0.95rem;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    text-align: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    margin-top: 20px;
    border-radius: 8px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox .controls {
    margin-top: 20px;
    font-size: 40px;
    color: white;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.lightbox .controls span {
    cursor: pointer;
}

/* gallery hover */
.gallery img {
    cursor: pointer;
    transition: 0.3s;
}

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

/* LOGO SECTION */
.logo-section {
    margin-top: 60px;
    text-align: center;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* CARD */
.logo-card {
    background: white;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

/* LOGO IMAGE FIX */
.logo-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
}

/* HOVER EFFECT */
.logo-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* OPTIONAL: subtle hover lift */
.logo-card:hover {
    transform: translateY(-5px);
}

ul {
    padding-left: 18px;
}

#site-header {
    /*min-height: 90px;*/
}