/* SumudaSoft Unified CSS Framework 
    System: Geez Habesha Printing 
    Version: Extreme Max 1.0 
*/

/* --- 1. CORE VARIABLES --- */
:root {
    --primary: #f15b25;
    --primary-light: #ff9e5c;
    --dark: #505051;
    --light: #fff;
    --bg-off: #fff8f3;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(241, 91, 37, 0.15);
    --shadow-lg: 0 20px 50px rgba(241, 91, 37, 0.25);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- 2. GLOBAL RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; scroll-behavior: smooth; }
body { color: var(--dark); line-height: 1.7; background: var(--light); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- 3. EXTREME ANIMATIONS --- */
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes float-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
@keyframes bounce-icon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse-glow { 0% { box-shadow: 0 0 0 0 rgba(241, 91, 37, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(241, 91, 37, 0); } 100% { box-shadow: 0 0 0 0 rgba(241, 91, 37, 0); } }

.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.fade-up.show, .fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- 4. SHARED HEADER (Glassmorphism) --- */
header {
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; position: sticky; top: 0; z-index: 1000;
    box-shadow: var(--shadow-sm); border-bottom: 1px solid rgba(255,255,255,0.3);
}
.logo img { height: 55px; }
nav ul { display: flex; gap: 35px; align-items: center; }
nav ul li a { font-weight: 500; font-size: 0.95rem; position: relative; }
nav ul li a:hover { color: var(--primary); }
nav ul li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background: var(--primary); transition: 0.3s; }
nav ul li a:hover::after { width: 100%; }

.cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light) !important; padding: 12px 30px; border-radius: 50px;
    font-weight: 600; box-shadow: 0 4px 15px rgba(241,91,37,0.4);
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 6px; }
.hamburger div { width: 30px; height: 3px; background: var(--dark); border-radius: 2px; transition: 0.3s; }

/* --- 5. ARTISTIC PAGE HEROES --- */
.hero, .service-hero, .about-hero {
    background: var(--bg-off); padding: 120px 5% 80px; text-align: center;
    position: relative; overflow: hidden;
}
.hero h1, .service-hero h1, .about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 25px;
    background: linear-gradient(90deg, var(--primary), #d14412);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* --- 6. GRID & CARDS (Extreme Version) --- */
.extreme-grid, .services {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; padding: 80px 5%;
}
.art-card, .service-card {
    background: #fff; border-radius: 30px; padding: 50px 40px; text-align: center;
    transition: var(--transition); border: 1px solid rgba(0,0,0,0.05); position: relative;
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.art-card:hover { transform: translateY(-20px) scale(1.02); box-shadow: var(--shadow-lg); }

.bouncing-icon-wrapper {
    width: 100px; height: 100px; margin: 0 auto 30px; background: var(--bg-off);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative;
}
.bouncing-icon-wrapper i { font-size: 3rem; color: var(--primary); animation: bounce-icon 3s infinite ease-in-out; }
.bouncing-icon-wrapper::after {
    content: ''; position: absolute; width: 120%; height: 120%; border: 2px dashed var(--primary-light);
    border-radius: 50%; animation: spin-slow 15s linear infinite;
}

/* --- 7. STORY STACKS & FEATURES --- */
.img-stack { position: relative; width: 100%; height: 450px; }
.img-stack img { 
    width: 85%; border-radius: 30px; position: absolute; 
    box-shadow: var(--shadow-lg); border: 8px solid #fff; transition: 0.5s;
}
.img-stack img:nth-child(1) { top: 0; right: 0; z-index: 2; }
.img-stack img:nth-child(2) { bottom: 0; left: 0; z-index: 1; transform: rotate(-8deg); filter: grayscale(1); opacity: 0.4; }

/* --- 8. SHARED FOOTER --- */
footer { background: #2b2b2b; color: #f0f0f0; padding-top: 80px; border-radius: 40px 40px 0 0; position: relative; margin-top: 50px; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 30px 60px; display: flex; flex-wrap: wrap; gap: 50px; justify-content: space-between; }
.footer-col h4 { color: var(--primary); margin-bottom: 25px; font-size: 1.2rem; }
.social-links a { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); color: #fff; border-radius: 50%; margin-right: 10px; }
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.bottom-bar { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 0; text-align: center; color: #888; }

/* --- 9. FLOATING UTILITIES --- */
.back-btn-fixed {
    position: fixed; bottom: 30px; left: 30px; z-index: 999;
    background: var(--dark); color: #fff; padding: 12px 25px;
    border-radius: 50px; font-weight: 600; box-shadow: var(--shadow-lg);
}
.floating-contact {
    position: fixed; bottom: 30px; right: 30px; background: var(--primary);
    color: #fff; width: 60px; height: 60px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    z-index: 1000; animation: pulse-glow 2s infinite; cursor: pointer;
}

/* --- 10. RESPONSIVE --- */
@media(max-width: 900px) {
    nav ul {
        display: none; flex-direction: column; position: absolute;
        top: 80px; left: 5%; right: 5%; background: #fff;
        padding: 30px; border-radius: 20px; box-shadow: var(--shadow-lg);
        align-items: flex-start;
    }
    nav ul.active { display: flex; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 2.8rem; }
}
