/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --primary-color: #d32f2f; /* Deep Red for Meat */
    --secondary-color: #fbd38d; /* Egg yolk yellow accent */
    --text-dark: #1f2937;
    --text-light: #f3f4f6;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
    animation: pulse 2s infinite ease-in-out;
}

.preloader-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    mix-blend-mode: multiply;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.preloader-message {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    animation: fadeText 1.5s infinite alternate;
}

@keyframes fadeText {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3 { font-weight: 800; color: var(--text-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; margin-bottom: 3rem; font-size: 2.5rem; color: var(--primary-color); }
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}
.btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    color: var(--white);
}

/* ==========================================================================
   Top Header & Navbar
   ========================================================================== */
.top-header {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1001;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-item i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-menu {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: 20px;
}

.nav-side {
    display: flex;
    gap: 30px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin: 0 20px;
}

.mobile-logo {
    display: none;
}

.nav-logo {
    height: 110px;
    width: 110px;
    mix-blend-mode: multiply;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-logo:hover {
    transform: scale(1.15) rotate(-5deg);
}

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--primary-color); }

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    background-image: url('../images/mutton.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.highlight-text {
    background: #fee2e2;
    padding: 20px;
    border-radius: 12px;
    color: var(--primary-color) !important;
    font-weight: 600;
    margin-top: 30px;
    border-left: 5px solid var(--primary-color);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-card:hover .card-image {
    transform: scale(1.08);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    margin-top: 2rem;
}

.info-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
}

.info-list i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.info-list a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.info-list a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 40px 0;
}

footer p {
    margin-bottom: 10px;
}

.developer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================================================
   Floating Widgets
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #b71c1c;
    transform: translateY(-5px);
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .d-none-mobile { display: none; }
    .top-header-content { justify-content: center; }
    
    .desktop-logo { display: none !important; }
    .mobile-logo { display: flex; margin: 0; }
    .mobile-nav-logo { height: 60px; width: 60px; margin-right: 15px; }

    .grid-2-col { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    
    .menu-toggle { display: block; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 15px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    .nav-side {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}
