/* ===================== Body ===================== */
body {
    margin: 0;
    font-family: Times New Roman, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #111;
    color: #f5f5f5;
}

/* ===================== Header ===================== */
header {
    background: #000;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

/* Wrap title + subtitle */
.header-text {
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Main Title */
.header-text h1 {
    margin: 0;
    font-size: 48px;
    letter-spacing: 2px;
}

/* Subtitle */
.subtitle {
    font-size: 26px;   
    color: #c5a880;
    margin-top: 6px;
}

/* ===================== Navigation ===================== */
nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 24px;
}

nav a:hover {
    color: blue;
}

/* ===================== Hero ===================== */
.hero {
    height: 80vh;
    background: url("homepage.jpg") no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    background-color: rgba(0,0,0,0.6);
    padding: 20px 40px;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 24px 30px;
    background: #c5a880;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

/* ===================== Sections ===================== */
.section {
    padding: 80px 60px;
    text-align: center;
}

.section h3 {
    font-size: 32px;
    margin-bottom: 40px;
}

/* ===================== About Page ===================== */
.about-section {
    padding: 120px 20px; /* more padding so it runs down the page */
    display: flex;
    flex-direction: column;
    align-items: center; /* center horizontally */
    text-align: center;
    min-height: 60vh; /* push content down vertically */
    background-color: #111; /* keeps page consistent */
}

.about-section h3 {
    font-size: 40px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.about-section p {
    font-size: 22px;       /* larger text */
    line-height: 1.9;      /* more spacing between lines */
    max-width: 700px;      /* narrower so text doesn't stretch across the page */
    margin: 0 auto;        /* center horizontally */
    color: #f5f5f5;
}

/* ===================== Products ===================== */
.products, .tab-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product {
    background: #1a1a1a;
    padding: 20px;
    border: 1px solid #333;
    text-align: center;
}

.product img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.product img:hover {
    transform: scale(1.05);
}

.product h4 {
    margin: 15px 0 5px;
    font-size: 18px;
    color: #f5f5f5;
}

.product p {
    font-size: 16px;
    color: #c5a880;
}

.tab-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 250px));
    justify-content: center;
    gap: 30px;
}

/* ===================== Footer ===================== */
footer {
    background: #000;
    padding: 40px 60px;
    text-align: center;
    border-top: 1px solid #333;
}

footer p {
    margin: 10px 0;
    font-size: 14px;
    color: #aaa;
}

/* ===================== Inputs ===================== */
input, textarea {
    padding: 10px;
    width: 300px;
    margin: 10px 0;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
}

/* ===================== Homepage Gallery ===================== */
.homepage-gallery {
    padding: 60px 20px;
    text-align: center;
}

.homepage-gallery h3 {
    font-size: 32px;
    margin-bottom: 30px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-img {
    width: 310px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* ===================== Shop thumbnails ===================== */
.main-image {
    display: block;
    margin: 20px auto;
    max-width: 500px;
    width: 100%;
}

.shop-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.shop-item img {
    width: 100px;
    height: auto;
    object-fit: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px auto;
    cursor: pointer;
    border-radius: 5px;
}

.shop-item p {
    color: white;
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
}

/* ===================== Specific tweaks ===================== */
#Blue Horizon .product img {
    height: 240px;
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    nav {
        margin-top: 15px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .about-section h3 {
        font-size: 28px;
    }

    .about-section p {
        font-size: 18px;
    }

    nav a {
        font-size: 18px;
    }

    .gallery-img {
        width: 90%;
        margin: 0 auto;
    }
}
