/* ===================================
   NARO GROUP - Custom Styles
   Monochromatic, Linear & Diagonal Design
   =================================== */

/* Typography */
body {
    font-family: 'Helvetica Neue', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #000000;
    line-height: 1.6;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ===================================
   BUTTONS
   =================================== */

.btn-primary {
    background-color: #000000;
    color: #FFFFFF;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.btn-primary-large {
    background-color: #000000;
    color: #FFFFFF;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    text-decoration: none;
}

.btn-primary-large:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.btn-secondary-large {
    background-color: transparent;
    color: #FFFFFF;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary-large:hover {
    background-color: #FFFFFF;
    color: #000000;
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
}

/* ===================================
   NAVIGATION
   =================================== */

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000000;
    transition: width 0.3s ease-in-out;
}

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

.mobile-nav-link {
    position: relative;
    transition: all 0.3s ease-in-out;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background-color: #FFFFFF;
    transition: transform 0.3s ease-in-out;
    transform-origin: right;
}

.mobile-nav-link:hover::before {
    transform: translateY(-50%) scaleX(1);
    transform-origin: left;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    padding-top: 80px;
}

.hero-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* Diagonal Separator */
.diagonal-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49%, #000000 50%);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

/* ===================================
   SERVICE CARDS
   =================================== */

.service-card {
    transition: transform 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Bracket Frame Effect */
.bracket-frame {
    position: relative;
    background-color: #0A0A0A;
    overflow: hidden;
}

.bracket-frame::before,
.bracket-frame::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #FFFFFF;
    transition: all 0.3s ease-in-out;
}

.bracket-frame::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.bracket-frame::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.service-card:hover .bracket-frame::before,
.service-card:hover .bracket-frame::after {
    width: 50px;
    height: 50px;
}

.bracket-frame-large {
    position: relative;
    overflow: hidden;
}

.bracket-frame-large::before,
.bracket-frame-large::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid #FFFFFF;
    z-index: 10;
}

.bracket-frame-large::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.bracket-frame-large::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.service-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
}

.service-card:hover .service-image {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

/* ===================================
   PROJECTS SECTION
   =================================== */

.project-card {
    cursor: pointer;
}

.slider-dot {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.slider-dot:hover {
    transform: scale(1.2);
}

.slider-dot.active {
    background-color: #000000 !important;
    width: 32px;
    border-radius: 4px;
}

.slider-dot.active-white {
    background-color: #FFFFFF !important;
    width: 32px;
    border-radius: 4px;
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonial-dot {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.testimonial-dot:hover {
    transform: scale(1.2);
}

.testimonial-dot.active {
    background-color: #000000 !important;
    width: 32px;
    border-radius: 4px;
}

/* ===================================
   CONTACT FORM
   =================================== */

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #FFFFFF;
    outline: none;
}

#contact-form input.error,
#contact-form textarea.error {
    border-color: #EF4444;
}

.error-message {
    display: none;
    font-size: 12px;
    margin-top: 4px;
}

.error-message.show {
    display: block;
}

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    animation: none;
}

/* ===================================
   SOCIAL ICONS
   =================================== */

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
    color: #000000;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #CCCCCC;
    transform: translateY(-4px);
}

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

/* Mobile */
@media (max-width: 767px) {
    .hero-title {
        font-size: 28px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    p {
        font-size: 14px;
    }
    
    .diagonal-separator {
        height: 50px;
    }
    
    .service-image-wrapper {
        height: 200px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: 42px;
    }
    
    h2 {
        font-size: 32px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
    
    h2 {
        font-size: 40px;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.grayscale {
    filter: grayscale(100%);
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Success Message */
.success-message {
    background-color: #10B981;
    color: #FFFFFF;
    padding: 16px;
    border-radius: 4px;
    margin-top: 16px;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* ===================================
   ACCESSIBILITY
   =================================== */

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-primary-large {
        border: 2px solid #FFFFFF;
    }
    
    .nav-link::after {
        height: 3px;
    }
}
