/* 
 * Mounted Website - Main Stylesheet
 * Inspired by GBRS Group design aesthetic
 */

/* ===== Base Styles ===== */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #cc0000; /* Red accent */
    --text-color: #ffffff;
    --background-color: #121212;
    --dark-gray: #1a1a1a;
    --light-gray: #333333;
    --font-primary: 'Roboto Condensed', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 400;
}

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

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 12px 24px;
    border: 1px solid var(--text-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--text-color);
    color: var(--primary-color);
}

/* ===== Header & Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px 0;
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.main-nav {
    flex-grow: 1;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.logo img {
    height: 80px; /* Adjust as needed */
    margin: 0 20px;
}


/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    width: 100%;
    background-image: url('../images/hero-placeholder.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate; /* create stacking context for z-index */
}

/* Video background sits under content */
.hero > video.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0; /* video at base */
    pointer-events: none;
}

/* Overlay for readability (applies to both video and image fallback) */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1; /* overlay above video */
}

.hero-content {
    max-width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 2; /* content above overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero .video-bg { display: none; }
}

/* ===== Featured Collections ===== */
.featured-collections {
    padding: 80px 0;
    background-color: var(--background-color);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.collection-item {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.collection-image {
    height: 100%;
    width: 100%;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-item:hover .collection-image img {
    transform: scale(1.05);
}

.collection-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px; /* 8px grid */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: all 0.3s ease;
}

.collection-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px; /* 8px grid */
    text-transform: uppercase;
}

/* ===== Featured Products ===== */
.featured-products {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-item {
    background-color: var(--background-color);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about-placeholder.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ===== Newsletter ===== */
.newsletter {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    background-color: var(--light-gray);
    color: var(--text-color);
    font-family: var(--font-primary);
}

.newsletter-form button {
    border: none;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 0 25px;
    font-weight: 700;
    cursor: pointer;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--primary-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-info li i {
    margin-right: 10px;
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ===== Services Page Specifics ===== */
.service-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--dark-gray);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-grid.reverse .service-image {
    order: 2;
}

.service-grid.reverse .service-content {
    order: 1;
}

.service-image img {
    border-radius: 4px;
}

.service-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.service-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.service-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start; /* Align to top for precise control */
    margin-bottom: 20px;
}

.feature-icon {
    margin-top: 3px; /* Final nudge for perfect alignment */
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 15px; /* Adds space between icon and text */
    width: 30px; /* Give a fixed width for alignment */
    text-align: center;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.feature-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}


/* ===== About Page Styles ===== */
.team-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.team-member {
    background-color: var(--dark-gray);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.team-info p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.team-info .bio {
    font-size: 0.9rem;
    opacity: 0.8;
    min-height: 20px; /* Maintain some space even when empty */
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header adjustments for smaller screens */
    .site-header {
        padding: 15px 0;
    }

    .nav-links a {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

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

    .logo img {
        height: 55px;
        margin: 0 10px;
    }

    /* Hero text */
    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

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

    /* Newsletter form */
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        margin-bottom: 10px;
        border-radius: 4px;
        padding: 14px 15px;
    }

    .newsletter-form button {
        width: 100%;
        padding: 12px 0;
        border-radius: 4px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .collection-item {
        height: 300px;
    }
}
