@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
  --navy-dark: #0a192f;
  --navy-darker: #020c1b;
  --blue-light: #00b4d8;
  --blue-accent: #0077b6;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --gray-text: #555555;
  --whatsapp-green: #25D366;
  --transition: all 0.3s ease-in-out;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--gray-light); color: var(--gray-text); line-height: 1.6; overflow-x: hidden; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.section-title { color: var(--navy-dark); font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.section-subtitle { color: var(--blue-accent); font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; display: block; }

.btn { display: inline-block; padding: 15px 35px; border-radius: 5px; font-weight: 600; text-decoration: none; font-size: 1.1rem; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background-color: var(--blue-light); color: var(--white); box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4); }
.btn-primary:hover { background-color: var(--blue-accent); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 119, 182, 0.5); }
.btn-whatsapp { background-color: var(--whatsapp-green); color: var(--white); }
.btn-whatsapp:hover { background-color: #1ebe5d; transform: translateY(-3px); }

header { position: fixed; top: 0; width: 100%; background-color: rgba(10, 25, 47, 0.95); backdrop-filter: blur(10px); z-index: 1000; padding: 15px 0; transition: var(--transition); }
header.scrolled { padding: 10px 0; box-shadow: var(--shadow); }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--white); font-size: 1.8rem; font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--blue-light); }
.logo-img { height: 65px; width: 65px; object-fit: contain; }
.footer-logo-img { height: 90px; width: 90px; object-fit: contain; margin-bottom: 20px; }

.nav-right { display: flex; align-items: center; gap: 30px; }
nav ul { display: flex; list-style: none; gap: 30px; }
nav a { color: var(--white); text-decoration: none; font-weight: 500; transition: var(--transition); position: relative; }
nav a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px; background-color: var(--blue-light); transition: var(--transition); }
nav a:hover::after { width: 100%; }
nav a:hover { color: var(--blue-light); }
.social-header a { color: var(--white); font-size: 1.5rem; transition: var(--transition); }
.social-header a:hover { color: var(--blue-light); }

.hero { min-height: 100vh; background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(2, 12, 27, 0.9)), url('../assets/images/hero_boat_mechanic.png') center/cover; display: flex; align-items: center; position: relative; padding-top: 80px; }
.hero-content { color: var(--white); max-width: 800px; animation: fadeIn 1s ease-in-out; }
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--blue-light); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; color: #ccc; }
.hero-buttons { display: flex; gap: 20px; }

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

@keyframes techFluid {
  0% { background-position: 0px bottom, 0px bottom, 0px bottom; }
  100% { background-position: 1440px bottom, -1440px bottom, 2880px bottom; }
}

.about { 
  padding: 100px 0; 
  background-color: #f7fbff; 
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400'%3E%3Cpath fill='%2300b4d8' fill-opacity='0.1' d='M0,150 Q360,50 720,150 T1440,150 V600 H0 Z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400'%3E%3Cpath fill='%230077b6' fill-opacity='0.08' d='M0,250 Q360,100 720,250 T1440,250 V600 H0 Z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400'%3E%3Cpath fill='%230a192f' fill-opacity='0.05' d='M0,200 Q360,300 720,200 T1440,200 V600 H0 Z'/%3E%3C/svg%3E");
  background-repeat: repeat-x, repeat-x, repeat-x;
  background-size: 1440px 500px, 1440px 450px, 1440px 400px;
  position: relative;
  animation: techFluid 18s linear infinite;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.about-img { width: 100%; max-height: 500px; object-fit: contain; filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15)); }

.features { padding: 80px 0; background-color: var(--gray-light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: var(--white); padding: 40px 30px; border-radius: 10px; text-align: center; transition: var(--transition); border-bottom: 4px solid var(--blue-light); box-shadow: var(--shadow); }
.feature-card:hover { transform: translateY(-10px); }
.feature-icon { font-size: 3rem; color: var(--navy-dark); margin-bottom: 20px; }
.feature-card h3 { color: var(--navy-dark); font-size: 1.5rem; margin-bottom: 15px; }

.services { padding: 100px 0; background-color: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin-top: 50px; }
.service-item { background: var(--gray-light); border-radius: 15px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; }
.service-item:hover { transform: translateY(-12px); box-shadow: 0 15px 35px rgba(0, 180, 216, 0.15); }
.service-img { width: 100%; height: 250px; object-fit: cover; background-color: var(--navy-dark); transition: transform 0.5s ease; }
.service-item:hover .service-img { transform: scale(1.05); }
.service-content { padding: 30px; }
.service-content h3 { color: var(--navy-dark); margin-bottom: 10px; font-size: 1.4rem; }
.service-content h3 a { color: var(--navy-dark); text-decoration: none; transition: var(--transition); }
.service-content h3 a:hover { color: var(--blue-light); }
.service-content p { margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: rgba(0, 180, 216, 0.1); color: var(--blue-accent); padding: 5px 10px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }

.quote-section { background: linear-gradient(135deg, var(--navy-dark), #030a14); color: var(--white); padding: 80px 0; text-align: center; border-bottom: 4px solid var(--blue-light); }
.quote-text { font-size: 1.8rem; font-style: italic; font-weight: 300; max-width: 900px; margin: 0 auto; line-height: 1.5; margin-bottom: 20px;}
.quote-author { color: var(--blue-light); font-weight: 600; font-size: 1.2rem; }

.cta-section { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--blue-accent) 100%); padding: 80px 0; color: var(--white); }

.faq-section { padding: 100px 0; background: var(--gray-light); }
.faq-container { max-width: 800px; margin: 0 auto; margin-top: 40px; }
.faq-item { border-bottom: 1px solid #ddd; padding: 20px 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.2rem; color: var(--navy-dark); }
.faq-question i { transition: var(--transition); }
.faq-answer { max-height: 0; overflow: hidden; transition: var(--transition); color: var(--gray-text); }
.faq-answer p { padding-top: 15px; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--blue-light); }

.map-section { padding: 0; line-height: 0; }
.map-container iframe { width: 100%; height: 450px; border: 0; display: block; filter: grayscale(80%) contrast(110%); }

footer { background-color: var(--navy-darker); color: rgba(255,255,255,0.7); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-title { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--blue-light); padding-left: 5px; }
.social-icons { margin-top: 15px; display: flex; gap: 15px; }
.social-icons a { color: var(--white); font-size: 1.8rem; transition: var(--transition); }
.social-icons a:hover { color: var(--blue-light); }
.copyright { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

.floating-whatsapp { position: fixed; bottom: 30px; right: 30px; background-color: var(--whatsapp-green); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 1000; transition: var(--transition); text-decoration: none; }
.floating-whatsapp:hover { transform: scale(1.1); }

/* Instagram Section */
.instagram-section { padding: 100px 0; background: var(--white); }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 40px; margin-bottom: 40px; }
.ig-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; cursor: pointer; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ig-item:hover img { transform: scale(1.08); filter: brightness(0.7); }
.ig-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 180, 216, 0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.ig-item:hover .ig-overlay { opacity: 1; }
.ig-overlay i { color: white; font-size: 2.5rem; }
.btn-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; font-weight: bold; border-radius: 30px; padding: 15px 40px; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 5px 20px rgba(220, 39, 67, 0.4); }
.btn-ig:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(220, 39, 67, 0.6); color: white; }

@media (max-width: 768px) {
  header .container { flex-direction: column; gap: 15px; }
  .nav-right { flex-direction: column; gap: 15px; }
  nav ul { flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 2.5rem; }
  .hero-buttons { flex-direction: column; }
  .about-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
}
