/* Custom CSS for IKIGGE DESIGNZ PHP Website */

/* Font Families */
.brand-text {
    font-family: 'Playfair Display', serif;
}

.sub-he {
    font-family: 'Playfair Display', serif;
}

.main-he {
    font-family: 'Inter', sans-serif;
}

.thank-u {
    font-family: 'Inter', sans-serif;
}

.form-bar-txt {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.sub-titel {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: italic;
    color: #4a5568;
}

/* Header Specific Styles to Match Screenshot */
header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

header .brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #4a5568;
    font-size: 1.25rem;
    line-height: 1.2;
}

header .sub-titel {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: italic;
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 1.2;
}

header img {
    width: 48px !important;
    height: 48px !important;
    margin-right: 12px;
}

header button {
    padding: 8px;
    border-radius: 4px;
    color: #4a5568;
}

header button:hover {
    background-color: #f7fafc;
    color: #2d3748;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-image.active {
    opacity: 1;
    animation: hero-zoom 6s ease-in;
}

@keyframes hero-zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Enhanced Text Shadow for Hero Section */
.text-shadow-lg {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Hero Section Text Readability and Layout */
.hero-section .hero-text {
    width: 100%;
    overflow: visible;
}

.hero-section .hero-text h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    word-wrap: break-word;
    line-height: 1.2;
}

.hero-section .hero-text p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}

/* Responsive text container */
@media (max-width: 768px) {
    .hero-section .hero-text {
        max-width: 100%;
        padding: 0 10px;
    }
}

/* Enhanced overlay for better text contrast */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce-slow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-in-right {
    animation: slide-in-right 0.8s ease-out forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scale-in 0.5s ease-out forwards;
    opacity: 0;
}

.animate-bounce-in {
    animation: bounce-in 0.6s ease-out forwards;
    opacity: 0;
}

.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}

/* Custom height classes */
.h-30 {
    height: 7.5rem;
}

.h-35 {
    height: 8.75rem;
}

.h-40 {
    height: 10rem;
}

.w-27 {
    width: 6.75rem;
}

/* Custom padding */
.pt-40 {
    padding-top: 10rem;
}

/* Custom gap */
.gap-18 {
    gap: 4.5rem;
}

/* Custom border radius */
.rounded-4xl {
    border-radius: 2rem;
}

/* Form styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(88, 140, 126, 0.2);
}

/* Button hover effects */
button {
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
}

/* Scrollbar hide */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Toast notification styles */
.toastify {
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 500;
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
    .hero-image {
        object-position: center;
    }
    
    .text-8xl {
        font-size: 3rem;
    }
    
    .text-6xl {
        font-size: 2.5rem;
    }
    
    .text-5xl {
        font-size: 2rem;
    }
    
    .text-4xl {
        font-size: 1.8rem;
    }
}

/* Loading states */
.loading {
    position: relative;
    color: transparent;
}

.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    border-color: #ffffff transparent #ffffff transparent;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility classes */
.transition-all {
    transition: all 0.3s ease;
}

.cursor-pointer {
    cursor: pointer;
}

.pointer-events-none {
    pointer-events: none;
}

.select-none {
    user-select: none;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}