@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary: #2A2D34;
    --secondary: #F9F9F9;
    --accent: #097a6e;
    --text: #333333;
    --overlay: rgba(42, 45, 52, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Rajdhani', sans-serif; */
}

body {
    background-color: var(--secondary);
    color: var(--text);
    overflow-x: hidden;
}

.container-about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(45deg, #3fb0a5 30%, #52827d);
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
    z-index: -1;
    animation: slideIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.hero-title {
    font-family: 'Rajdhani', serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 800px;
    color: #222;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.about-text {
    opacity: 0;
    transform: translateX(50px);
    animation: slideLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text);
}

/* Custom Section */
.custom-section {
    position: relative;
    padding: 8rem 0;
    /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./images/About-us/bespoke.jpg'); */
    background: linear-gradient(rgba(0, 0, 0, 0.371), rgba(0, 0, 0, 0.7)), url('../images/Banner/Banner1.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.custom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* backdrop-filter: blur(4px); */
    z-index: 0;
}

.custom-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.custom-title {
    font-family: 'Rajdhani', serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.custom-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px #097a6e;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .custom-section{
        background-position: -200px;
    }

    .hero::before {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    .hero-content {
        text-align: center;
    }

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

    .custom-title {
        font-size: 2.5rem;
    }

    .about-image img {
        height: 100%;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .custom-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}