/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Clash Display', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
}

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #777777;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #607D8B;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #607D8B;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #455A64;
}

/* Intro Section */
.intro {
    padding: 5rem 10%;
    text-align: center;
    background-color: #F5F5F5;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.secondary-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #333333;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.secondary-cta:hover {
    background-color: #555555;
}

/* Transformations Section */
.transformations {
    padding: 5rem 10%;
}

.transformations h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.transformation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.transformation-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

/* Blogs Section */
.blogs {
    padding: 5rem 10%;
    background-color: #F5F5F5;
}

.blogs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.blog-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.blog-preview article {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.blog-preview article:hover {
    transform: translateY(-5px);
}

.blog-preview img {
    width: 100%;
}

.blog-preview h3 {
    padding: 1rem;
    font-size: 1.2rem;
}

.blog-preview p {
    padding: 0 1rem 1rem;
    color: #777777;
}

/* Remove hyperlink styles in blog articles */
.blog-preview article a {
    text-decoration: none;
    color: #333333; /* Change to desired color */
    transition: color 0.3s ease;
}

.blog-preview article a:hover {
    color: #607D8B; /* Change to desired hover color */
}

/* Footer */
footer {
    background-color: #333333;
    color: #FFFFFF;
    text-align: center;
    padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        margin-right: 1rem;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: #333333;
        height: 2px;
        width: 2rem;
        border-radius: 2px;
        position: relative;
    }

    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }

    .nav-toggle-label span::before {
        bottom: 7px;
    }

    .nav-toggle-label span::after {
        top: 7px;
    }

    nav ul {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.9);
        flex-direction: column;
        align-items: center;
        height: calc(100vh - 60px);
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease-in-out;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .nav-toggle:checked ~ ul {
        transform: scale(1, 1);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .transformation-grid,
    .blog-preview {
        grid-template-columns: 1fr;
    }

    .intro, .transformations, .blogs {
        padding: 3rem 5%;
    }
}