/* =======================
   Color palette
======================= */
:root {
    --color-primary: #bc002d;   /* red highlight */
    --color-dark:   #000000;    /* black for text/background */
    --color-light:  #ffffff;    /* white for text/background */
    --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* =======================
   Base styles
======================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-light);
    color: var(--color-dark);
    font-family: var(--font-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Main content expands to push footer down */
main {
    flex: 1;
}

footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* =======================
   Header / Navigation
======================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--color-dark);
    color: var(--color-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
}

@font-face {
    font-family: 'Salonica';
    src: url('Salonica.ttf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}

.logo-container h1 {
    font-family: 'Salonica', sans-serif;
    font-size: 5rem;
    margin: 0;
    color: var(--color-light);
    line-height: 1;    /* remove extra vertical space */
    transform: translateY(10px);

    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
    cursor: default;
}


.logo-container h1:hover {
    color: var(--color-primary);
}

header img.logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

header img.logo:hover {
    transform: scale(1.1);
}

header h1 {
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.nav-bar a {
    margin-left: 2rem;
    color: var(--color-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-bar a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: var(--color-primary);
    transition: width 0.3s ease;
    position: absolute;
    bottom: -4px;
    left: 0;
}

.nav-bar a:hover {
    color: var(--color-primary);
}

.nav-bar a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-bar {
        display: none; /* can later add burger menu toggle */
    }
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    background: linear-gradient(to right, var(--color-light), var(--color-primary) 95%);
    color: var(--color-dark);
}

.hero-content {
    display: flex;
    flex-direction: row; /* side by side */
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Text part */
.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero h1 {
    font-family: 'Salonica', sans-serif;
    font-size: 6rem;
    color: var(--color-primary);
    line-height: 1.1;
    margin: 0;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 160px;
    padding: 0.6rem 1.2rem;
    background-color: var(--color-primary);
    color: var(--color-light);
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
}

/* Image part */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .hero-image img {
        max-width: 80%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-buttons .btn {
        width: 100%;
    }
}

/* =======================
   Section titles
======================= */
.section-title {
    color: var(--color-primary);
    text-align: center;
    margin: 3rem 0 2rem 0;
    font-size: 2rem;
    letter-spacing: 0.5px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 8px auto 0 auto;
    border-radius: 2px;
}

/* =======================
   Sections
======================= */
.section-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 3rem 2rem;
    font-size: 1.1rem;
    color: var(--color-dark);
    box-sizing: border-box;
}

.section-content p {
    margin-bottom: 1rem;
}

.about ul {
    list-style: disc inside;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* =======================
   Gallery
======================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.4s ease;
    display: block;
}

.gallery-item.small { grid-row-end: span 1; }
.gallery-item.medium { grid-row-end: span 2; }
.gallery-item.large { grid-row-end: span 3; }

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.gallery-item:hover img {
    filter: brightness(1.1) contrast(1.05);
}

/* =======================
   Lightbox
======================= */
#lightbox {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top:0; left:0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    cursor: zoom-out;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#lightbox.show {
    opacity: 1;
    pointer-events: auto;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid var(--color-primary);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

/* =======================
   Buttons
======================= */
button, .btn {
    padding: 0.6rem 1.2rem;
    background-color: var(--color-primary);
    color: var(--color-light);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover, .btn:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
}

/* =======================
   Responsive typography
======================= */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    .gallery {
        gap: 15px;
    }
    header h1 {
        font-size: 1.2rem;
    }
}

.contact-info {
    margin-top: 2rem;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--color-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--color-dark);
}

.about-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.about-images {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.about-image {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.about-text {
  max-width: 600px;
}

.about-text .section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--color-dark);
}

.about-links a:hover {
    color: var(--color-dark);
}

.site-footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-top: 3rem;
}

.site-footer a:hover {
    color: #ffffff;
}

.version-badge {
    background-color: #bc002d; /* your highlight red */
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}
