/* Variáveis de Cores */
:root {
    --primary: #E68C3A;
    --secondary: #CD4662;
    --accent: #D8D1BD;
    --background: #F4F2EF;
    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    html {
        -webkit-text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -webkit-text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
    }
    
    input, textarea, select {
        -webkit-appearance: none;
        border-radius: 0;
    }
    
    button {
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* iPhone specific viewport fixes */
@media screen and (max-device-width: 414px) and (-webkit-min-device-pixel-ratio: 2) {
    /* Header fixes */
    .header {
        padding-top: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        top: 0 !important;
        position: fixed !important;
        z-index: 1000 !important; /* High z-index to stay on top */
        background: rgba(244, 242, 239, 0.98) !important; /* Solid background */
        backdrop-filter: blur(10px) !important;
    }
    
    .nav-container {
        height: 60px !important;
        min-height: 60px !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
        margin-top: 0 !important;
    }
    
    /* Hero section fixes - prevent cutting */
    .hero {
        padding-top: 70px !important; /* Reduced padding for tighter spacing */
        margin-top: 0 !important;
        min-height: 95vh !important; /* Increased to hide services section */
        position: relative !important;
        top: 0 !important;
        z-index: 1 !important; /* Ensure content is above background elements */
    }
    
    .hero-container {
        min-height: 75vh !important; /* Increased to hide services section */
        padding: 20px 15px 20px 15px !important; /* Reduced top padding for tighter spacing */
        gap: 1.5rem !important; /* Reduced gap */
        margin-top: 0 !important;
        position: relative !important;
        top: 0 !important;
        z-index: 2 !important; /* Ensure content is visible */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .hero-content {
        padding: 0 !important;
        margin-top: 0 !important;
        position: relative !important;
        z-index: 3 !important; /* Ensure text is above everything */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        position: relative !important;
        z-index: 3 !important;
    }
    
    .hero-description {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        position: relative !important;
        z-index: 3 !important;
    }
    
    .hero-buttons {
        gap: 1rem !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        font-size: 0.9rem !important;
        min-height: 44px !important;
        margin-top: 0 !important;
    }
    
    .hero-visual {
        display: none !important;
    }
    
    .floating-card {
        display: none !important;
    }
    
    .gradient-orb {
        display: none !important;
    }
    html {
        -webkit-text-size-adjust: none;
    }
    
    body {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-description {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    .container {
        padding: 0 15px !important;
    }
    
    .nav-container {
        padding: 0 15px !important;
    }
    
    .logo-text {
        font-size: 20px !important;
    }
    
    .logo-image {
        height: 32px !important;
    }
    
    .btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        min-height: 44px !important;
    }
    
    .service-card {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .portfolio-item {
        margin-bottom: 1rem !important;
    }
    
    .contact-form {
        padding: 1rem !important;
    }
    
    .section-header h2 {
        font-size: 1.6rem !important;
    }
    
    .section-header p {
        font-size: 0.9rem !important;
    }
}

/* iPhone SE and small devices */
@media screen and (max-device-width: 375px) and (-webkit-min-device-pixel-ratio: 2) {
    .hero-content h1 {
        font-size: 1.6rem !important;
    }
    
    .hero-description {
        font-size: 0.85rem !important;
    }
    
    .container {
        padding: 0 10px !important;
    }
    
    .nav-container {
        padding: 0 10px !important;
    }
    
    .logo-text {
        font-size: 18px !important;
    }
    
    .logo-image {
        height: 28px !important;
    }
}

/* iPhone landscape orientation */
@media screen and (max-device-height: 414px) and (orientation: landscape) {
    .hero {
        min-height: 100vh !important;
    }
    
    .hero-container {
        gap: 1rem !important;
        padding: 1rem 0 !important;
    }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-description {
        margin-bottom: 0.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .hero-buttons {
        margin-bottom: 0.5rem !important;
    }
    
    .btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
    background: #F4F2EF;
    /* iPhone notch support */
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(244, 242, 239, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(216, 209, 189, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    /* iPhone notch support */
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    /* iPhone specific */
    min-height: 60px;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: #E68C3A;
}

.logo-accent {
    background: linear-gradient(135deg, #E68C3A 0%, #CD4662 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #E68C3A;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #E68C3A 0%, #CD4662 100%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #E68C3A 0%, #CD4662 100%);
    /* iPhone specific */
    padding-top: calc(80px + env(safe-area-inset-top));
    box-sizing: border-box;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    /* iPhone specific */
    min-height: calc(100vh - 80px - env(safe-area-inset-top));
    box-sizing: border-box;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #D8D1BD 0%, #F4F2EF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #D8D1BD 0%, #F4F2EF 100%);
    color: #2d3748;
    box-shadow: 0 10px 30px rgba(216, 209, 189, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(216, 209, 189, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: white;
    color: #E68C3A;
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(216, 209, 189, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(216, 209, 189, 0.3);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    top: 10%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: moveOrb 20s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(216, 209, 189, 0.4) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 140, 58, 0.4) 0%, transparent 70%);
    bottom: 20%;
    right: 10%;
    animation-delay: 7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(205, 70, 98, 0.4) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes moveOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #F4F2EF;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E68C3A 0%, #CD4662 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.service-card p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #4a5568;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E68C3A;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E68C3A 0%, #CD4662 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-photo {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #E68C3A 0%, #CD4662 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.photo-placeholder {
    text-align: center;
    color: white;
}

.photo-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.photo-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: #F4F2EF;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, #E68C3A 0%, #CD4662 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.image-placeholder i {
    font-size: 3rem;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-results {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.result {
    background: rgba(230, 140, 58, 0.1);
    color: #E68C3A;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #F4F2EF 0%, #ffffff 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #718096;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E68C3A 0%, #CD4662 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-method strong {
    display: block;
    color: #2d3748;
    font-weight: 600;
}

.contact-method span {
    color: #718096;
}

/* Make WhatsApp contact link inherit text color and remove underline */
.contact-method a {
    color: #718096;
    text-decoration: none;
}

.contact-method a:hover {
    color: #2d3748;
    text-decoration: underline;
}

.contact-form {
    background: #F4F2EF;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(216, 209, 189, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E68C3A;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #E68C3A;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #E68C3A;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer logo style - Rumo in white */
.footer .logo-rumo {
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Base responsive utilities */
.responsive-hidden {
    display: none;
}

.responsive-visible {
    display: block;
}

@media (max-width: 768px) {
    .responsive-hidden {
        display: block;
    }
    
    .responsive-visible {
        display: none;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-menu a {
        padding: 12px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-links a {
        min-width: 44px;
        min-height: 44px;
    }
    
    .service-card,
    .portfolio-item {
        cursor: pointer;
    }
}

/* Improved focus states for accessibility */
.btn:focus,
.nav-menu a:focus,
.social-links a:focus {
    outline: 2px solid #E68C3A;
    outline-offset: 2px;
}

/* Smooth scrolling for all devices */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Better text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
    
    .team-photo {
        width: 350px;
        height: 250px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    /* Ensure hero section is not overlapped by header */
    .hero {
        padding-top: 75px !important;
        margin-top: 0 !important;
        min-height: 90vh !important; /* Increased to hide services section */
    }
    
    .hero-container {
        padding-top: 20px !important;
        margin-top: 0 !important;
        min-height: 70vh !important; /* Increased to hide services section */
    }
    
    .hero-content {
        padding-top: 0.5rem !important;
        margin-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        height: 100% !important;
    }
    .container {
        max-width: 540px;
        padding: 0 20px;
    }
    
    /* Header & Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(244, 242, 239, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        border-top: 1px solid rgba(216, 209, 189, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    /* Hero Section */
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-visual {
        height: 300px;
        order: -1;
    }
    
    .floating-card {
        display: none;
    }
    
    /* Sections */
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .team-photo {
        width: 100%;
        max-width: 400px;
        height: 250px;
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Buttons */
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        height: 60px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .portfolio-item {
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Mobile Small (320px - 575px) */
@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h1 br {
        display: none;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .portfolio-content h3 {
        font-size: 1.3rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .orb-1,
    .orb-2,
    .orb-3 {
        display: none;
    }
}

/* Mobile Extra Small (320px - 479px) */
@media (max-width: 479px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .portfolio-item {
        border-radius: 15px;
    }
    
    .contact-form {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        border-radius: 25px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-image {
        height: 28px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-container {
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        margin-bottom: 1rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E68C3A 0%, #CD4662 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(230, 140, 58, 0.3);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 140, 58, 0.4);
}

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

.back-to-top i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Mobile adjustments for back to top button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-visual,
    .floating-card,
    .gradient-orb,
    .hamburger,
    .hero-buttons,
    .contact-form,
    .social-links {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
    }
    
    .hero-content h1 {
        color: black !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
} 