/* Global Typography */
body {
    font-family: "Source Sans Pro", sans-serif;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: "Playfair Display", serif;
}
/* fix issues on small screens */
@media (max-width: 768px) {
    #hero {
        display: none;
    }
    .navbar{
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    #mywork{
        margin-top: 25%;
    }
    #smallScreenFix{
        margin-top: 2% !important;
    }
    
    /* change buttons to grid so they align propeperly on mobile */
    #filter-buttons {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        justify-items: stretch;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
}
/* Navbar */
.navbar {
    font-family: "Playfair Display", serif;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.navbar-brand{
    transition: all 1s ease;
}
.navbar-brand:hover{
    transform: scale(1.05);
}
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px) 
}
.nav-link {
    /* position: relative; */
    transition: all 0.5s ease;
    color: black;
}
.nav-link:hover {
    transform: translateY(-2px) scale(1.2);
    font-weight: 600;
}
.navbar-toggler-icon{
    transform: scaleX(1.6);    
}
.navbar-toggler {
    transition: all 0.5s ease;
}
.navbar-toggler:hover {
    transform: scale(1.2);
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: #ffc107;
    transition: all 0.5s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 65%;
}
/* Mobile Navbar Dropdown */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        margin-top: 15px;
        padding: 20px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        margin: 5px 0;
        padding: 15px 20px !important;
        border-radius: 10px;
        font-size: 1.1rem;
    }
    #smallScreenFix{
        margin-top: 2% !important;
    }
}
/* Portfolio Functionality*/
.filter-btn {
    border: 2px solid #6B6B6B;
    background: transparent;
    color: #6B6B6B;
    transition: all 0.3s ease;
}
.filter-btn:hover,
.filter-btn.active {
    background: #ffc107;
    border-color: #ffc107;
    color: #2C2C2C;
    transform: translateY(-2px);
}
.portfolio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.1);
    transition: all 1s ease;
    transform-style: preserve-3d;
}
.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 44, 44, 0.15);
}
.portfolio-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 44, 44, 0.9));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
}
.portfolio-overlay h5 {
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 1.1rem;
}
.portfolio-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}
/* WhatsApp Book Now Buttons */
.btn-success, .btn-outline-success, #about .btn {
    background: linear-gradient(135deg, #34ce57, #26d0ce, #ffc107, #ff8c00) !important;
    background-size: 400% 400% !important;
    border: none !important;
    box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.15),
    0 0 0 0 rgba(44, 44, 44, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    animation: gradientShift 4s ease infinite, pulse 2s ease-in-out infinite !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}
.btn-success::before, .btn-outline-success::before, #about .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}
.btn-success:hover::before, .btn-outline-success:hover::before, #about .btn:hover::before {
    left: 100%;
}
.btn-success:hover, .btn-outline-success:hover, #about .btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
.btn-success:active, .btn-outline-success:active, #about .btn:active {
    transform: translateY(-2px) scale(1.02) !important;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(44, 44, 44, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 0 5px rgba(44, 44, 44, 0), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
}
/* Social Media Links */
.social-link {
    width: 28px;
    transition: transform 0.3s ease;
}
.social-link:hover{
    transform: scale(1.2);
}
@media (min-width: 1000px) and (max-width: 2000px){
    #socials{
        padding: 2em !important;
    }  
    #getInTouch{
        margin-top: 0.5em !important;
    }
    #smallScreenFix{
        margin-top: 1em !important;
    }
    #amr{
        margin-bottom: 1em;
    }
    
}
#getInTouch{
    margin: 3% !important ;
}