/*
Theme Name: Sibtain Reyaz Modern Minimal
Theme URI: https://sibtain.in
Author: Sibtain Reyaz
Description: Crazy modern minimalist, full-width animated portfolio theme in yellow and white.
Version: 2.1
Text Domain: sibtain-modern
*/

:root {
    --bg-color: #ffffff;
    --section-alt: #fffdf0;
    --text-main: #111111;
    --text-muted: #555555;
    --accent-yellow: #ffde00;
    --accent-yellow-dark: #ccb200;
    --border-color: #eaeaea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: var(--bg-color) !important;
    color: var(--text-main) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    width: 100%;
}

/* Full-Width Section Wrapper with Entry Animation */
.fw-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 100px 10%;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fw-section:nth-child(even) {
    background-color: var(--section-alt) !important;
}

.content-wrap {
    width: 100%;
    max-width: 1200px;
}

/* Hero Section */
.hero-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #ffffff 100%) !important;
    padding: 140px 10% 120px 10%;
    border-bottom: 1px solid var(--border-color);
}

.hero-content h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: slideInLeft 0.8s ease-out forwards;
}

.hero-content .tagline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    color: var(--text-muted);
    max-width: 900px;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* Headings & Text */
h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
    color: var(--text-main);
}

p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 800px;
}

/* Grid Layouts */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.grid-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-yellow-dark);
    box-shadow: 0 20px 40px rgba(255, 222, 0, 0.25);
}

.grid-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

/* Contact Box */
.contact-box {
    background: var(--text-main);
    color: #ffffff;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.contact-box:hover {
    transform: scale(1.01);
}

.contact-box p {
    color: #cccccc;
    margin-bottom: 0;
}

.contact-box a {
    color: var(--accent-yellow);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-box a:hover {
    color: #ffffff;
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    padding: 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

/* Keyframe Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Staggered Delays */
.fw-section:nth-of-type(1) { animation-delay: 0.1s; }
.fw-section:nth-of-type(2) { animation-delay: 0.25s; }
.fw-section:nth-of-type(3) { animation-delay: 0.4s; }
.fw-section:nth-of-type(4) { animation-delay: 0.55s; }