body{
    background-image: url('ankara.jfif');
    background-repeat: no-repeat;
    background-size: cover;
}
.home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px; /* space between items */
    padding: 40px;
    background:rgba(226, 24, 142, 0.2);
    max-height: 500px;
    border-radius: 20px;
    color: white;
}

/* Make the text and links stay together */
.textbox, .links {
    max-width: 50%;
}

/* Style the links so they don’t overlap */
.links a {
    display: inline-block;
    margin-right: 15px;
    margin-top: 10px;
    padding: 30px 20px;
    background: #ffcc00;
    color: #000;
    text-decoration: none;
    border-radius: 50%;
    font-weight: bold;
}
.links a:hover{
    color: aqua;
    background-color: #e22171;
}
/* Optional: make the image round or styled */
.image img {
    border-radius: 50%;
}
.footer {
    background: #111;
    border-radius: 20px;
    color: #fff;
    padding: 40px 20px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
}

.footer-logo h2 {
    font-size: 28px;
    margin-bottom: 5px;
    color: #ffcc00;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-social a img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    transition: 0.3s;
    border-radius: 50%;
}

.footer-social a img:hover {
    transform: scale(1.2);
}

.footer-contact p {
    font-size: 14px;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 14px;
    opacity: 0.7;
}
.about{
    background-color: rgba(226, 24, 142, 0.4);
}
.about-section {
    padding: 60px 40px;
    background: #e22171;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.owner-image img {
    border-radius: 10px;
}

.about-text {
    max-width: 600px;
    color: white;
}

.owner-desc {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fcf9f9;
}

.store-history {
    font-size: 16px;
    line-height: 1.6;
    color: #f8f7f7;
}
.works-section {
    padding: 60px 40px;
    background-color: #f9f9f9;
    text-align: center;
}

.works-section h2 {
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.work-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.work-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.design-desc {
    margin-top: 10px;
    font-size: 15px;
    color: #555;
}
.works{
    background: rgba(226, 24, 142, 0.6);
}
.contact-section {
    padding: 60px 40px;
    background-color: #f9f9f9;
    text-align: center;
}

.contact-section h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.contact-intro {
    font-size: 16px;
    color: #faf8f8;
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 15px;
}

.contact-info p {
    margin: 8px 0;
    color: #f8f7f7;
}

.contact-social img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    transition: 0.3s;
}

.contact-social img:hover {
    transform: scale(1.2);
}

.contact-form {
    flex: 1;
    min-width: 280px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.contact-form button {
    padding: 12px;
    background-color: #ffcc00;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: #e6b800;
}
.contact{
    background: rgba(226, 24, 142, 0.8);
}
@media (max-width: 768px) {
    /* Fix anchor buttons dropping into About section */
.home {
    max-height: none;        /* remove height limit */
    padding-bottom: 60px;    /* add breathing space */
}

.links a {
    padding: 20px 15px;      /* reduce button size on mobile */
    margin-top: 15px;
}

    /* Home section */
    .home {
        flex-direction: column;
        text-align: center;
    }

    .home img {
        width: 180px;
        height: auto;
    }

    .textbox, .links {
        max-width: 100%;
    }

    /* About section */
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .owner-image img {
        width: 200px;
        height: auto;
    }

    /* Works section */
    .works-grid {
        grid-template-columns: 1fr;
    }

    /* Contact section */
    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info, .contact-form {
        width: 100%;
    }
}
section {
    padding: 40px 20px;
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}
.back-to-top {
    display: block;              /* makes it take full width so it can center */
    width: fit-content;          /* button only as wide as its content */
    margin: 50px auto;           /* centers the button */
    padding: 18px 40px;          /* bigger button */
    background-color: #ffcc00;   /* bright gold */
    color: #000;
    text-decoration: none;
    font-size: 20px;             /* bigger text */
    font-weight: bold;
    border-radius: 10px;         /* smoother corners */
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* makes it pop */
}

.back-to-top:hover {
    background-color: #e6b800;
    transform: scale(1.05);      /* slight zoom on hover */
}
html {
    scroll-behavior: smooth;
}
/* ✅ Fade‑In for all sections */
section {
    animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ✅ Slide‑In for Home Section */
.home {
    animation: slideIn 1.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ✅ Fade‑Up for About Section */
.about-section {
    animation: fadeUp 1.3s ease-in-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ✅ Zoom‑In for Works Items */
.work-item {
    animation: zoomIn 0.8s ease-in-out;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ✅ Slide‑Up for Contact Section */
.contact-section {
    animation: contactSlide 1.2s ease-in-out;
}

@keyframes contactSlide {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ✅ Smooth Hover Animations for Buttons & Icons */
button, 
.back-to-top, 
.links a, 
.whatsapp-float img {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover, 
.back-to-top:hover, 
.links a:hover {
    transform: scale(1.05);
}
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

body, p, a, button {
    font-family: 'Montserrat', sans-serif;
}
