/* --- LEVEL HAIR AND BEAUTY STYLE --- */

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

:root {
    /* Defined brand colours for easy modification */
    --color-primary: #303030;    /* Charcoal Grey */
    --color-accent: #B38867;     /* Muted Gold/Bronze */
    --color-text: #1A1A1A;       /* Near Black */
    --color-background: #F5F5F5; /* Off-White */
    --color-white: #FFFFFF;
}

.squada-one-regular {
  font-family: "Squada One", sans-serif;
  font-weight: 400;
  font-style: normal;
}


body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
	background-image: url("BG_textured.jpg");
	background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styling */
.header {
    background-color: var(--color-primary);
    font-family: 'Squada One', sans-serif;
	color: var(--color-white);
    padding: 50px 20px;
    text-align: center;
    border-bottom: 5px solid var(--color-accent); /* Gold line accent */
}

.header h1 {
    font-size: 2.8rem;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 3px;
}

.header p {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Container for Main Content */
.content {
    max-width: 700px; 
    margin: 30px auto;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

/* Content Headings and Text */
.content h2 {
    font-family: 'Squada One', sans-serif;
	color: var(--color-accent);
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: center;
    text-transform: uppercase;
}

.content p {
    margin-bottom: 15px;
    text-align: left;
}

/* Contact Information Block */
.contact-info {
    margin: 35px 0;
    padding: 25px;
    border: 1px solid var(--color-accent); /* Gold border */
    text-align: center;
    background-color: #FAFAFA;
    border-radius: 4px;
}

.contact-info p {
    margin: 8px 0;
    text-align: center;
}

.contact-info a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
    color: var(--color-primary);
}

.follow-us {
    text-align: center;
    font-style: italic;
    color: #666;
}

/* Footer Styling */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 18px;
    font-size: 0.85rem;
}

/* --- NEW STYLES FOR PROFILE BLOCKS AND IMAGES --- */

/* Parent container for image and text details */
.contact-block {
    display: flex; /* Enables side-by-side layout */
    align-items: center; /* Vertically aligns items */
    gap: 20px; /* Space between the image and details */
    margin-bottom: 40px; 
    padding: 25px;
    /* Resetting previous border and background for a cleaner block style */
    border: 1px solid #e0e0e0; 
    background-color: var(--color-white);
    border-radius: 4px;
}

/* Image container styling */
.profile-image {
    flex: 0 0 120px; /* Fixed width for the image container */
    overflow: hidden;
    border-radius: 50%; /* Makes the image circular */
    border: 3px solid var(--color-accent); /* Gold border around the image */
    height: 200px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    display: block;
    /* Scales and crops the image to cover the entire container */
    object-fit: cover; 
}

/* Details container styling */
.profile-details {
    flex-grow: 1; /* Allows details block to take remaining space */
}

.profile-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-accent);
}

.profile-details p {
    text-align: left; /* Ensures text inside details block is left-aligned */
}


/* --- RESPONSIVENESS (Media Query) --- */

/* For smaller screens (below 600px) */
@media (max-width: 600px) {
    
    .header {
        padding: 40px 15px;
    }

    .header h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .header p {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .content {
        margin: 15px;
        padding: 20px;
    }

    .content h2 {
        font-size: 1.4rem;
    }
	    /* Change profile layout to stack vertically on small screens */
    .contact-block {
        flex-direction: column; 
        text-align: center; /* Center the stacked elements */
        gap: 15px;
    }

    .profile-image {
        flex: none; /* Remove fixed flex properties */
        margin-bottom: 10px; 
    }

    .profile-details p {
        text-align: center; /* Center text details on small screens */
    }
}