:root {
    --coffee-dark: #ffc800;
    --coffee-light: #8D6E5A;
    --blue-accent: #58175c;
    --green-nature: #287ab8;
    --white: #ffffff;
    --bg-cream: #FDFBF7;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow-soft: 0 15px 40px rgba(0, 0, 0, 0.08);
    --radius-lg: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    outline: none;
    border: none;
}

::selection{
    color: white;
    background-color: var(--blue-accent);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-cream);
    color: var(--coffee-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    background: var(--coffee-dark);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(40, 122, 184, 0.3);
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--blue-accent);
    transition: width 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(12, 56, 20, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--blue-accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    padding-bottom: 20px;
    font-size: 3rem;
    color: var(--white);
}


header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--green-nature);
    display: flex;
    align-items: center;
    gap: 10px;
    align-content: stretch;
    flex-direction: row;
}

.logo span {
    color: var(--blue-accent);

}

nav ul {
    display: flex;
    gap: 35px;
}


nav a {
    color: var(--blue-accent);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}


nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coffee-dark);
    transition: width 0.3s ease;
}


nav a:hover {
    color: var(--coffee-dark);
}

nav a:hover::after {
    width: 100%;
}


.hero {
    min-height: 100vh;
    background-image: url('../img/abaut-bg.svg');
    background-size: cover; /* Resmi ekranı tamamen kaplayacak şekilde yayar */
    background-position: center; /* Ortalar */
    background-repeat: no-repeat; /* Tekrar etmesini engeller */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--blue-accent);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
    max-width: 500px;
}

.hero-img {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.hero-img img {
    width: 85%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: 20px 20px 0px var(--blue-accent);
    animation: morph 8s ease-in-out infinite;
    object-fit: cover;
    height: 500px;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}


.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: #58175c;
}


.about {
    min-height: 100vh;
    background-image: url('../img/hero-bg-1.svg');
    background-size: cover; /* Resmi ekranı tamamen kaplayacak şekilde yayar */
    background-position: center; /* Ortalar */
    background-repeat: no-repeat; /* Tekrar etmesini engeller */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;

    position: relative;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.about-visual img:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5)
}

.floating-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--blue-accent);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    transition: all 0.4s ease;
}

.floating-box:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5)
}

.floating-box h4 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.floating-box p {
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
}


.products {
    padding: 6rem 0;
    background-color: #F3F6F8;
    position: relative;
}


.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-top .shape-fill {
    fill: #58175c;
}

.swiper {
    padding: 50px 20px !important;
}

.swiper-slide {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: auto;
}

.swiper-slide:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(40, 122, 184, 0.15);
}

.product-header {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.swiper-slide:hover .product-header img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--green-nature);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-body {

    padding: 25px;
    text-align: center;
}

.product-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--coffee-dark);
}

.product-price {
    color: var(--blue-accent);
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.add-btn {
    margin-top: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-cream);
    color: var(--coffee-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    cursor: pointer;
}

.swiper-slide:hover .add-btn {
    background: var(--coffee-dark);
    color: white;
}


.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    aspect-ratio: 1;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 1;
}

.gallery-item:nth-child(3) {
    grid-column: span 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.g-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
    color: white;
    z-index: 2;
}

.gallery-item:hover .g-overlay {
    opacity: 1;
}


footer {
    padding: 2rem 0 0 0;
    position: relative;

}


.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%230C3814" fill-opacity="1" d="M0,224L80,213.3C160,203,320,181,480,186.7C640,192,800,224,960,224C1120,224,1280,192,1360,176L1440,160L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    top: -100px;
    height: 101px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    border-bottom: 1px solid rgba(88, 23, 92, 1);
    padding-bottom: 3rem;
}

.f-col h5 {
    color: var(--coffee-dark);
    font-family: 'Playfair Display';
    font-size: 2.3rem;
    margin-bottom: 2rem;
}

.f-links li {
    margin-bottom: 12px;
	color: #510062 !important;
}

.f-links li a {
	color: #510062 !important;
    transition: 0.3s;
    display: inline-block;
}

.f-links a:hover {
    color: var(--coffee-dark);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--blue-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-accent);
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--coffee-dark);
    border-color: var(--coffee-dark);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.85rem;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
}


@media (max-width: 992px) {
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-top: 30px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

}


body {
    background-color: #F9F7F2;
    background-image: linear-gradient(to bottom, #F9F7F2 0%, #fff 100%);
}


.about {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


.about::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(12, 56, 20, 0.05);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: floatCloud 10s infinite alternate;
}


@keyframes floatCloud {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(30px, 30px) rotate(10deg);
    }
}


.products {
    background-image: url('../img/ürünler-bg.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center
}


.products .section-header h2 {
    color: var(--blue-accent) !important;
}

.products .section-subtitle {
    color: var(--white) !important;
}


.swiper-slide {
    background: var(--white);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.swiper-slide {
    background: #ffffff;
    border: 1px solid rgba(90, 62, 43, 0.1);
}


.gallery {
    background-image: url(../img/gülücükler-bg.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


header {
    background: #fffdf5d9 !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 62, 43, 0.051);
}


.hidden-item {
    display: none;
}


.gallery-item {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hidden {
    display: none !important;
}

#loadMoreBtn {
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}


.swiper-button-next, .swiper-button-prev {
    color: #333;
    font-weight: bold;
}


.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 25px;
}


.swiper-button-next,
.swiper-button-prev {
    background-color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
    transition: all 0.3s ease;
}


.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}


.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #58175c;
    color: #fff;
    transform: scale(1.1);
}


@media (max-width: 768px) {
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
}

.urun-card {
    height: 300px;
}

.btn:hover {
    color: white;
}
.swiper-pagination-bullet-active{
    background: var(--blue-accent) !important;
}

footer .footer-alt-bg {
    border-top: 8px solid var(--blue-accent);
    background: #fff;
    color: #fff;
    font-size: 15px;
    position: relative;
    z-index: 30;
    padding-bottom: 8px
}

.footer-alt-bg::before{
    content: "";
    width: 100%;
    height: 5px;
    background-color: white;
    position: absolute;
    top: -10px;
    left: 0;
}

footer .footer-alt-bg .footer-alt-ic {
    margin-right: auto
}

footer .footer-alt-bg p {
    padding: .8em 0 .4em;
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: #555;
    text-align: right
}

footer .footer-Link{
    transition: all .4s;
}

footer .footer-Link:hover{
    padding-left: 10px;
}

footer .footer-ust-img {
    position: absolute;
    width: 100%;
    height: 55px;
    top: -40px;
    transform: perspective(1px)
}

footer .hakanbt-logo:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: -44px;
    left: -16px;
    border-style: solid;
    border-width: 0 30px 35px 30px;
    border-color: transparent transparent #fff transparent;
    filter: drop-shadow(0 8px 24px rgba(149, 157, 165, 0.5));
}

footer .hakanbt-logo:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: -34px;
    left: -6px;
    border-style: solid;
    border-width: 0 20px 24px 20px;
    border-color: transparent transparent var(--blue-accent) transparent
}

footer .hakanbt-logo {
    position: absolute;
    bottom: -14px;
    left: 15px;
    height: 35%;
    width: 100%
}

.hakanbt {
    width: 28px !important;
    height: 25px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    transition: all .5s ease-in-out .1s !important
}

.hakanbt img {
    max-width: none !important;
    user-select: none;
}

.hakanbt:hover {
    width: 125px !important
}
