@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Montserrat:wght@300;400;500;600;700&display=swap');

.arp-slider-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: var(--arp-height-desktop, 520px);
    overflow: hidden;
    background-color: #000000;
    font-family: 'Montserrat', sans-serif;
    user-select: none;
}

.arp-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* --- Individual Slide Styles --- */
.arp-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    display: flex;
    align-items: var(--arp-valign-flex, flex-end);
    justify-content: center;
    padding: var(--arp-slide-padding, 0 0 50px 0);
    box-sizing: border-box;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.arp-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* --- Slide Image & Ken Burns Zoom-In Animation --- */
.arp-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1);
    transition: transform 1.2s ease-out;
}

@keyframes arpKenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.arp-slide.active .arp-slide-image {
    animation: arpKenBurns 12s cubic-bezier(0.1, 0.1, 0.25, 1) forwards;
}

/* --- Saydam Kaplama (Gradient Overlay) --- */
.arp-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(var(--arp-overlay-rgb, 18, 18, 18), var(--arp-overlay-opacity, 0.85)) 100%
    );
}

/* --- Slide Content & Micro-Animations --- */
.arp-slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--arp-content-width-desktop, 100%) !important;
    padding: 0 80px;
    box-sizing: border-box;
    text-align: var(--arp-text-align, center);
    margin: 0 auto;
    pointer-events: none; /* Prevents dragging container instead of swiping */
}

.arp-slide-content-inner {
    pointer-events: auto; /* Re-enable events for buttons and links */
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto;
    text-align: inherit;
}

/* Title Styling */
.arp-slide-title {
    font-family: var(--arp-title-font, 'Playfair Display', Georgia, serif);
    font-size: var(--arp-title-size, 64px);
    text-transform: var(--arp-title-transform, none);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: var(--arp-title-color, #ffffff);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    text-align: inherit;
    width: 100%;
}

.arp-slide-title p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    text-transform: inherit !important;
    font-family: inherit !important;
    display: block !important;
    text-align: inherit !important;
}

/* Subtitle Styling */
.arp-slide-subtitle {
    font-family: var(--arp-subtitle-font, 'Montserrat', sans-serif);
    font-size: var(--arp-subtitle-size, 18px);
    text-transform: var(--arp-subtitle-transform, none);
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 30px 0;
    color: var(--arp-subtitle-color, #f0f0f0);
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 100% !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    text-align: inherit;
}

/* Button Styling */
.arp-slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    font-size: var(--arp-btn-size, 15px);
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--arp-btn-color, #ffffff);
    background-color: var(--arp-btn-bg, #a38a5e);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-transform: var(--arp-btn-transform, uppercase);
}

.arp-slide-button:hover {
    color: var(--arp-btn-hover-color, #ffffff) !important;
    background-color: var(--arp-btn-hover-bg, #8a734d) !important;
}

.arp-btn-arrow {
    width: 18px;
    height: 18px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.arp-slide-button:hover .arp-btn-arrow {
    transform: translateX(6px);
}

/* --- Entry Micro-Animations when Slide becomes active --- */
.arp-slide-title,
.arp-slide-subtitle,
.arp-slide-button {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.arp-slide.active .arp-slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.arp-slide.active .arp-slide-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.arp-slide.active .arp-slide-button {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* --- Navigation Arrows --- */
.arp-slider-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    opacity: 0.85 !important;
    outline: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.arp-slider-arrow:hover {
    opacity: 1 !important;
    background: var(--arp-global-color, #a38a5e) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-50%) scale(1.05) !important;
}

.arp-slider-arrow svg {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    display: block !important;
    fill: none !important;
    stroke: #ffffff !important;
    transition: transform 0.3s ease !important;
}

.arp-slider-arrow svg path {
    stroke: #ffffff !important;
    stroke-width: 2px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    fill: none !important;
}

.arp-prev-arrow {
    left: 20px !important;
    right: auto !important;
}

.arp-prev-arrow:hover svg {
    transform: translateX(-2px);
}

.arp-next-arrow {
    right: 20px !important;
    left: auto !important;
}

.arp-next-arrow:hover svg {
    transform: translateX(2px);
}

/* --- Pagination Bullets (Dots) --- */
.arp-slider-bullets {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.arp-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.arp-bullet:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.arp-bullet.active {
    background-color: var(--arp-global-color, #a38a5e) !important;
    width: 22px; /* Slight pill shape for active state */
    border-radius: 5px;
}

/* --- Mobile and Tablet Adaptations (Responsive) --- */
@media (max-width: 1024px) {
    .arp-slider-container {
        height: var(--arp-height-tablet, 480px);
    }
    
    .arp-slide-title {
        font-size: calc(var(--arp-title-size, 64px) * 0.8) !important;
    }
    
    .arp-slide-subtitle {
        font-size: calc(var(--arp-subtitle-size, 18px) * 0.9) !important;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .arp-slider-container {
        height: var(--arp-height-mobile, 400px);
    }
    
    .arp-slide-content {
        max-width: var(--arp-content-width-mobile, 100%) !important;
        padding: 0 50px;
    }
    
    .arp-slide-title {
        font-size: var(--arp-title-size-mobile, 32px) !important;
        margin-bottom: 15px;
    }
    
    .arp-slide-subtitle {
        font-size: var(--arp-subtitle-size-mobile, 14px) !important;
        margin-bottom: 25px;
        line-height: 1.5;
    }
    
    .arp-slide-button {
        padding: 12px 24px;
        font-size: var(--arp-btn-size-mobile, 13px) !important;
    }
    
    .arp-slider-arrow {
        width: 44px !important;
        height: 44px !important;
    }
    
    .arp-slider-arrow svg {
        width: 26px !important;
        height: 26px !important;
    }
    
    .arp-prev-arrow {
        left: 10px !important;
    }
    
    .arp-next-arrow {
        right: 10px !important;
    }
}

@media (max-width: 480px) {
    .arp-slider-container {
        height: var(--arp-height-mobile, 400px);
    }
    
    .arp-slide-content {
        padding: 0 45px;
    }

    .arp-slide-subtitle {
        margin-bottom: 20px;
    }
    
    .arp-slide-button {
        padding: 10px 20px;
    }
    
    .arp-slider-bullets {
        bottom: 4%;
    }
}

