/* Root Variables */
:root {
    --font-signature: 'Great Vibes', cursive;
    --font-body: 'Poppins', sans-serif;
    --color-cream: #d4c4a8;
    --color-text: #C4BC9A;
    --color-white: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.5);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-color: #000000;
}

/* Container and Background */
.container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-image: url('Images/Background.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 1;
}

/* Content Wrapper */
.content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    padding: 3rem 1rem;
}

/* Brand Name */
.brand-name {
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    line-height: 1.8;
    text-transform: uppercase;
}

/* Description Section */
.description {
    margin-bottom: 4rem;
}

.intro {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: var(--color-text);
}

.highlight {
    color: var(--color-text);
    font-weight: 600;
}

.cta {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-top: 2rem;
}

/* Icons Grid */
.icons-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 200px));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 2rem 0;
    align-items: center;
    justify-content: center;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    height: 200px;
}

.icon-link img {
    width: auto;
    height: 100%;
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(1);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.icon-link:hover {
    transform: translateY(-10px);
}

.icon-link:hover img {
    filter: brightness(1.2);
}

.icon-link:focus {
    outline: 2px solid var(--color-cream);
    outline-offset: 8px;
}

/* Footer */
.footer {
    margin-top: 3rem;
    padding-top: 2rem;
}

.social,
.email {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    letter-spacing: 2px;
    color: var(--color-text);
    margin: 0.5rem 0;
    font-weight: 300;
}

.email {
    margin-bottom: 0;
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media screen and (max-width: 1024px) {
    .container {
        background-attachment: scroll;
    }

    .icons-grid {
        grid-template-columns: repeat(2, minmax(150px, 200px));
        gap: 2rem;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .content {
        padding: 2rem 0.5rem;
    }

    .brand-name {
        margin-bottom: 1.5rem;
    }

    .description {
        margin-bottom: 3rem;
    }

    .intro {
        line-height: 1.6;
        letter-spacing: 1px;
    }

    .icons-grid {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .icon-link {
        height: 150px;
    }

    .icon-link img {
        max-height: 150px;
    }
}

/* Mobile Devices */
@media screen and (max-width: 480px) {
    .container {
        padding: 1rem;
        min-height: 100svh;
    }

    .content {
        padding: 1.5rem 0.5rem;
    }

    .brand-name {
        margin-bottom: 1.5rem;
    }

    .intro {
        letter-spacing: 1px;
        line-height: 1.6;
    }

    .intro br {
        display: none;
    }

    .cta {
        letter-spacing: 2px;
        margin-top: 1.5rem;
    }

    .icons-grid {
        grid-template-columns: repeat(2, minmax(100px, 150px));
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }

    .icon-link {
        height: 100px;
    }

    .icon-link img {
        max-height: 100px;
    }

    .footer {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .social,
    .email {
        letter-spacing: 1px;
    }
}

/* Extra Small Devices */
@media screen and (max-width: 360px) {
    .icons-grid {
        gap: 1rem;
    }

    .icon-link {
        height: 100px;
    }

    .icon-link img {
        max-height: 100px;
    }
}

/* Print Styles */
@media print {
    .container {
        background: white;
        color: black;
    }

    .container::before {
        display: none;
    }

    .icon-link {
        page-break-inside: avoid;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .container::before {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .highlight {
        font-weight: 600;
    }
}
