/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Custom child theme for GeneratePress with a modern coffee-lover design.
Author: Your Name
Author URI: https://yourwebsite.com
Template: generatepress
Version: 1.0.0
*/

/* =========================
   GLOBAL VARIABLES & FONTS
   ========================= */

:root {
    --primary: #DA9F5B;
    --light: #F5F5F5;
    --dark: #2B2825;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-semi-bold {
    font-weight: 600;
}

[class^=container] {
    max-width: 1320px;
}

.btn {
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 0;
}

.btn-primary {
    color: #ffffff;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 30px 15px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        padding: 10px 15px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 40, 37, .9);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 767.98px) {
    .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(43, 40, 37, .9), rgba(43, 40, 37, .9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.section-title {
    position: relative;
    padding: 115px 0 35px 0;
    text-align: center;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 2px;
    height: 100px;
    top: 0;
    left: 50%;
    margin-left: -1px;
    background: var(--primary);
}

.section-title.text-start::after {
    left: 0;
    margin-left: 0;
}

.section-title.text-white::after {
    background: var(--light);
}

.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.about-img img {
    transition: .5s;
}

.about-img img:hover {
    transform: scale(1.05);
}

.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.05);
}

.team-item .team-social {
    position: absolute;
    padding: 0;
    margin: 0;
    list-style: none;
    top: 15px;
    right: 15px;
    opacity: 0;
}

.team-item:hover .team-social {
    opacity: 1;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.05);
}

/* Additional Custom Styles */
.nav-bar {
    position: relative;
    background: var(--dark);
    transition: .5s;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 999;
}

.overlay-top::before,
.overlay-bottom::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 15px;
    left: 0;
    z-index: 1;
}

.overlay-top::before {
    top: -15px;
    background: url(../img/overlay-top.png);
}

.overlay-bottom::after {
    bottom: -15px;
    background: url(../img/overlay-bottom.png);
}

.service-icon {
    width: 45px;
    height: 45px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 45px;
    background: var(--primary);
    color: var(--dark);
}

.offer {
    background: url(../img/offer.jpg) center center no-repeat;
    background-size: cover;
}

.offer .text-md-right {
    text-align: right;
}

.offer .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.offer .btn-primary:hover {
    background-color: var(--dark);
    border-color: var(--dark);
}

.menu-price {
    position: absolute;
    width: 100%;
    height: 45px;
    top: -45px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    font-size: 24px;
    font-weight: bold;
}

.reservation {
    background: url(../img/reservation.jpg) center center no-repeat;
    background-size: cover;
}

.reservation .form-control {
    background: transparent;
    border: 1px solid var(--light);
    color: var(--light);
}

.reservation .form-control::placeholder {
    color: var(--light);
}

.reservation .form-control:focus {
    box-shadow: none;
}

.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(43, 40, 37, .9);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: rgba(43, 40, 37, .9);
}

.footer {
    background: linear-gradient(rgba(43, 40, 37, .9), rgba(43, 40, 37, .9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.footer .btn:hover {
    color: var(--dark);
    background: var(--primary);
    border-color: var(--primary);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/* Animation Classes */
.fadeIn {
    animation: fadeIn 1s;
}

.slideInUp {
    animation: slideInUp 1s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translate3d(0, 100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar {
        padding: 15px;
    }
    
    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (max-width: 767.98px) {
    .carousel-caption h5 {
        font-size: 18px;
    }

    .carousel-caption h1 {
        font-size: 30px;
    }
    
    .section-title {
        padding: 60px 0 20px 0;
    }

    .section-title::after {
        height: 50px;
    }
}

@media (max-width: 575.98px) {
    .carousel-caption h5 {
        font-size: 16px;
    }

    .carousel-caption h1 {
        font-size: 25px;
    }
}
""")

print("CSS file created successfully!")