/**
 * Front Page styles - FTD Modern Theme
 */

body.home {
    background: url('../img/hero-bg.jpg') center top no-repeat fixed;
    background-size: cover;
    background-color: #0f172a; /* fallback */
    color: #e2e8f0;
}

body.home a {
    color: var(--primary-color);
}

body.home a:hover {
    color: #38bdf8;
}

/* AOS delays */
[data-aos][data-aos][data-aos-delay="100"].aos-animate { transition-delay: .1s; }
[data-aos][data-aos][data-aos-delay="200"].aos-animate { transition-delay: .2s; }
[data-aos][data-aos][data-aos-delay="300"].aos-animate { transition-delay: .3s; }

/* Sections */
section {
    padding: 60px 0;
    overflow: hidden;
}

.section-bg {
    background-color: rgba(0, 0, 0, 0.45);
}

.section-title {
    padding-bottom: 40px;
}

.section-title h2 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1px;
    margin: 0 0 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
}

.section-title h2:after {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    margin: 4px 10px;
}

.section-title p {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Hero */
#hero {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    background: url('../img/hero-bg.jpg') center top no-repeat;
    background-size: cover;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
}

#hero h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

#hero h1 span {
    color: var(--primary-color);
}

#hero .btns {
    margin-top: 30px;
}

.btn-menu,
#hero .btn-menu {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    transition: 0.3s;
    color: #fff;
    border: 2px solid var(--primary-color);
    text-decoration: none;
}

.btn-menu:hover,
#hero .btn-menu:hover {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 768px) {
    #hero h1 { font-size: 28px; line-height: 1.3; }
    #hero .container { padding-top: 60px; padding-bottom: 60px; }
}

/* About */
.about {
    background: rgba(0, 0, 0, 0.85);
    padding: 80px 0;
}

.about .about-img {
    position: relative;
}

.about .about-img img {
    max-width: 100%;
    border-radius: 12px;
    border: 2px solid rgba(205, 164, 94, 0.3);
}

.about .content h3 {
    color: var(--primary-color);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about .content p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.about .content p:last-child {
    margin-bottom: 0;
}

/* Why Us */
.why-us {
    background: rgba(0, 0, 0, 0.6);  
}

.why-us .box {
    padding: 40px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(205, 164, 94, 0.2);
}

.why-us .box span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.why-us .box h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 16px 0 12px;
    color: #f8fafc;
}

.why-us .box p {
    color: #94a3b8;
    font-size: 15px;
    margin: 0;
}

.why-us .box:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(205, 164, 94, 0.3);
}

.why-us .box:hover h4,
.why-us .box:hover p,
.why-us .box:hover span {
    color: #fff;
}

/* Specials */
.specials {
    background: rgba(0, 0, 0, 1);
    padding: 60px 0;
}

.specials .nav-tabs {
    border: 0;
}

.specials .nav-link {
    border: 0;
    padding: 12px 16px;
    transition: 0.3s;
    color: #94a3b8;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

.specials .nav-link:hover {
    color: var(--primary-color);
}

.specials .nav-link.active {
    color: #fff;
    background: var(--primary-color);
}

.specials .details h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.specials .details p {
    color: #94a3b8;
}

.specials .details .img-fluid {
    border-radius: 12px;
}

/* Testimonials */
.testimonials-slider {
    padding-bottom: 40px;
}

.testimonials .testimonial-item {
    min-height: 280px;
    box-sizing: content-box;
}

.testimonials .testimonial-item p {
    font-style: italic;
    margin: 0 15px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    color: #cbd5e1;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: var(--primary-color);
    font-size: 22px;
}

.testimonials .testimonial-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 12px 0 4px 45px;
    color: #fff;
}

.testimonials .testimonial-item h4 {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 0 45px;
}

.testimonials .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Gallery */
.gallery {
    background: rgba(0, 0, 0, 1);
}
.gallery .gallery-item {
    overflow: hidden;
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.gallery .gallery-item img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery .gallery-item:hover img {
    transform: scale(1.08);
}

/* Contact */
.contact {
    background: rgba(0, 0, 0, 1);
}

.contact .info {
    width: 100%;
}

.contact .info i {
    font-size: 20px;
    float: left;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact .info h4 {
    padding: 0 0 0 60px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.contact .info p {
    padding: 0 0 0 60px;
    margin-bottom: 0;
    font-size: 14px;
    color: #94a3b8;
}

.contact .info .email {
    margin-top: 32px;
}

.contact .info .phone {
    margin-top: 32px;
}

.contact .info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact .info a:hover {
    text-decoration: underline;
}

/* Front page body override */
body.page-template-default:not(.woocommerce) #main,
body.home #main {
    padding: 0;
}
