/* --- Add this at the very top --- */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* General body and HTML styling */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    /* Background properties are now moved to the ::before pseudo-element */
}

/* NEW: Pseudo-element for the blurred background */
body::before {
    content: ''; /* A pseudo-element needs content to be generated */
    position: fixed; /* Position relative to the viewport, stays in place */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* This is the key: it pushes the layer behind your content */

    /* The background image properties are moved here */
    background-image: url('background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    /* The dark overlay is also moved here */
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: multiply;

    /* --- THIS IS THE BLUR EFFECT --- */
    filter: blur(2px);
}

/* Container for the text content */
.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 20px;
    position: relative; /* MODIFIED: Ensures this container sits above the z-index: -1 layer */
}

/* --- Text Styles --- */

.large-text {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

.medium-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 10px 0;
}

.small-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    margin: 20px 0 0 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Text outline for all text elements */
.large-text,
.medium-text,
.small-text {
  /* This creates a 4-point shadow around the text, faking an outline. */
  /* It works in ALL browsers and is a great fallback. */
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* --- Social Media Buttons --- */
.social-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook:hover {
    background: rgba(24, 119, 242, 0.8);
    border-color: #1877f2;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e1306c;
}

/* Social media icons using Unicode symbols */
.facebook-icon::before {
    content: "f";
    font-family: serif;
    font-weight: bold;
}

.instagram-icon::before {
    content: "📷";
    font-size: 1.2rem;
}

/* --- Responsive Adjustments for Smaller Screens (e.g., Mobile) --- */
@media (max-width: 768px) {
    .large-text {
        font-size: 2rem;
    }

    .medium-text {
        font-size: 1.3rem;
    }

    .small-text {
        font-size: 1rem;
    }

    .social-buttons {
        gap: 15px;
        margin-top: 25px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .social-buttons {
        gap: 12px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
