/* CUSTOM STYLES FOR JANA IVEZIC PORTFOLIO */
/* Save this file as: assets/css/styles.css */

/* Fonts */
body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Playfair Display', serif;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Image Hover Effects */
.hover-zoom {
    transition: transform 0.7s ease;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

/* Contact Form Styles */
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    ring: 2px;
    ring-color: #9ca3af;
}

button[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
    background-color: #111827;
    color: white;
    transition: opacity 0.3s;
}

button[type="submit"]:hover {
    opacity: 0.9;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Loading State for Images */
img {
    background-color: #f3f4f6;
}

/* Print Styles */
@media print {
    header, footer, #mobile-menu-button {
        display: none;
    }
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}


/* Responsive hero image handling */
.hero-image {
    object-position: center center;
}

@media (max-width: 640px) {
    .hero-image {
        object-position: center top;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .hero-image {
        object-position: center center;
    }
}
