/* ===== Global Reset ===== */
body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #2c2c2c;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #524f4f;
}

/* ===== Typography ===== */
.large-text {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 600;
    color: #2c2c2c;
}

.big-text {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 500;
    color: #3a3a3a;
}

/* ===== Nav Bar ===== */
#logo {
    font-size: 30px;
    font-weight: 600;
}
.nav-bar, .nav-bar-responsive {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    align-items: center;
    background-color: black;
}
.logo {
    height: 100px;
    width: 100px;
}
.nav-bar-links {
    display: flex;
    gap: 50px;
}
.nav-bar ul {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
}
.nav-bar li {
    list-style: none;
}
.nav-bar a, .nav-bar-responsive a {
    text-decoration: none;
    color: white;
}
.nav-bar-responsive {
    display: none;
}
.nav-bar-links ul li:nth-child(1) {
    text-decoration: underline rgba(165, 102, 102, 0.765) 3px;
}
.nav-bar-links a:hover {
    text-decoration: underline rgba(165, 102, 102, 0.765) 3px;
}

/* Buttons */
.button-style {
    padding: 12px 30px;
    background: #a87c7c;
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.button-style:hover {
    background: #7a5454;
    transform: translateY(-2px);
}

/* ===== Container 1 - Hero Section ===== */
.container-1 {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    max-width: 1500px;
    margin: 40px auto;
    padding: 40px;
    overflow: hidden;
    background: #fdf8f6;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.container-1 .container-text {
    position: relative;
    z-index: 3;
    padding-right: 30px;
}
.container-1 .container-text h1 {
    display: inline-block;
    position: relative;
    transition: transform 0.6s ease, color 0.4s ease;
    cursor: pointer;
    z-index: 3;
}

/* Hover effect */
.container-1 .container-text h1:hover {
    transform: translateX(30px); /* Moves text 30px to the right */
    color: gold; /* Optional: change color when hovered */
}

.container-1 .container-text p {
    font-size: 18px;
    color: #524f4f;
    line-height: 1.6;
    margin: 15px 0 25px;
}

/* ===== Floating Perfume Image ===== */
#image-container-1 {
    position: absolute;
    top: 50%;
    right: -180px; /* Push image slightly more to the right */
    width: 600px; /* Increased width */
    height: 600px; /* Increased height */
    background: url('../images/first-image.png') no-repeat center;
    background-size: contain; /* Prevents distortion */
    z-index: 1;
    transform: translateY(-50%);
    opacity: 0.95; /* Slightly more visible */
    animation: floatImage 15s linear infinite;
    pointer-events: none;
}

/* Optional: smooth floating animation */
@keyframes floatImage {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(-50px);
    }
}


/* ===== Container 2 ===== */
.container-2 {
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 20px 50px;
    margin-top: 30px;
}
.container-2 img {
    width: 100%;
}
.container-2 button {
    margin-left: 15px;
    color: #EBD9D1;
}

.slogan {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.slogan * {
    padding: 10px;
}

/* ===== Container 3 - Services ===== */
.container-3 {
    text-align: center;
    margin-top: 50px;
}
.container-3 h1 {
    font-size: 50px;
}
.container-3 h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 100;
}
.container-3-services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 20px 60px;
    margin-top: 30px;
}
.container-3-services div {
    border: 1px #d2c9c154 solid;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
}
.container-3-services div:hover {
    background: #f8f5f5;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.container-3-services img {
    width: 20%;
}
.container-3-services * {
    padding: 10px 0;
}

/* ===== Container 4 - Products ===== */
.container-4 {
    text-align: center;
}
.container-4 h1 {
    font-size: 50px;
}
.container-4 ul {
    display: flex;
    gap: 50px;
    justify-content: center;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}
.container-4 li {
    list-style: none;
}
.container-4 ul a {
    text-decoration: none;
    color: #3e3c3c;
}
.container-4 ul li:nth-child(1) {
    text-decoration: underline rgba(165, 102, 102, 0.765) 3px;
}
.container-4 a:hover {
    text-decoration: underline rgba(165, 102, 102, 0.765) 3px;
}
.container-4 h1, p {
    padding: 10px;
}
.container-4-collection {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    padding: 20px 60px;
}
.container-4-collection img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.container-4-collection img:hover {
    transform: scale(1.05);
}

/* ===== Footer ===== */
#footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    padding: 60px;
    background-color: #d1cece24;
}
#footer p {
    padding: 10px 0;
}
/* Social Media Icons */
#social-logos {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

#social-logos a img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

#social-logos a img:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Scroll-to-Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #333;
    color: #fff;
    font-size: 18px;
    padding: 10px 15px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: #555;
    transform: scale(1.1);
}


