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

:root {
  --primary-color: #0b1d3a;
  --secondary-color: #1a365d;
  --accent-color: #c5a880; /* Elegant gold/bronze */
  --text-color: #333;
  --text-light: #f5f5f5;
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --whatsapp-color: #25D366;
  --email-color: #EA4335;
  --transition: all 0.3s ease;
}

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

/* Navigation */
header {
  background-color: var(--primary-color); padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.logo { color: var(--accent-color); font-size: 1.5rem; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 500; transition: var(--transition); cursor: pointer; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-color); }
.lang-switch { display: flex; gap: 0.5rem; }
.lang-switch button { background: none; border: 1px solid var(--accent-color); color: var(--accent-color); padding: 0.3rem 0.6rem; cursor: pointer; border-radius: 4px; font-weight: 600; }
.lang-switch button.active { background: var(--accent-color); color: var(--primary-color); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--accent-color); font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero { background: linear-gradient(rgba(11, 29, 58, 0.7), rgba(11, 29, 58, 0.9)), url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80') center/cover; height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--text-light); padding: 0 1rem; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; color: var(--accent-color); font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; max-width: 700px; margin-bottom: 2rem; line-height: 1.6; }

/* Sections */
section { padding: 5rem 5%; min-height: 60vh; }
.section-title { text-align: center; color: var(--primary-color); font-size: 2.2rem; margin-bottom: 3rem; position: relative; font-weight: 700; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: var(--accent-color); border-radius: 2px; }
.section-content { max-width: 900px; margin: 0 auto; text-align: center; font-size: 1.1rem; line-height: 1.8; color: #555; }

/* Portfolios */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; margin-top: 2rem; }
.portfolio-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: var(--transition); border: 1px solid #eee; display: flex; flex-direction: column; }
.portfolio-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.portfolio-img-container { position: relative; width: 100%; height: 250px; overflow: hidden; background: #000; }
.carousel-inner { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.carousel-inner::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; display: flex; justify-content: center; align-items: center; }
/* IMPORTANT: exact image size not cutted */
.carousel-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.carousel-controls { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 0.5rem; pointer-events: none; }
.carousel-controls button { background: rgba(0,0,0,0.5); color: white; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; pointer-events: auto; display: flex; justify-content: center; align-items: center; }
.carousel-controls button:hover { background: var(--accent-color); }
.portfolio-info { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.portfolio-title { font-size: 1.3rem; color: var(--primary-color); margin-bottom: 0.5rem; font-weight: 600; }
.portfolio-desc { font-size: 0.95rem; color: #666; margin-bottom: 1.5rem; line-height: 1.5; flex-grow: 1; }
.portfolio-links { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.portfolio-links a { font-size: 0.85rem; color: var(--secondary-color); text-decoration: none; display: flex; align-items: center; gap: 0.3rem; background: var(--bg-light); padding: 0.4rem 0.8rem; border-radius: 20px; }
.portfolio-links a:hover { background: var(--accent-color); color: white; }
.portfolio-actions { display: flex; flex-direction: column; gap: 0.5rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid #eee; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border-radius: 6px; text-decoration: none; font-weight: 500; cursor: pointer; transition: var(--transition); border: none; font-size: 0.95rem; width: 100%; }
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover { background-color: var(--secondary-color); }

/* Form button colors are dynamic based on CSS vars, which can be modified by JS if admin changes it */
.btn-whatsapp { background-color: var(--whatsapp-color); color: white; }
.btn-whatsapp:hover { filter: brightness(0.9); }
.btn-email { background-color: var(--email-color); color: white; }
.btn-email:hover { filter: brightness(0.9); }

/* Contact Forms */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1000px; margin: 0 auto; }
.contact-info { background: var(--primary-color); color: white; padding: 2rem; border-radius: 12px; }
.contact-info h3 { color: var(--accent-color); margin-bottom: 1.5rem; font-size: 1.5rem; }
.contact-info p { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; }
.contact-form { background: white; padding: 2rem; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--primary-color); }
.form-control { width: 100%; padding: 0.8rem; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 1rem; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }

/* Footer */
footer { background-color: var(--primary-color); color: var(--text-light); padding: 4rem 5% 2rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h3 { color: var(--accent-color); margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-col p { margin-bottom: 0.8rem; color: #ccc; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #999; font-size: 0.9rem; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--primary-color); padding: 1rem 5% 2rem; box-shadow: 0 10px 10px rgba(0,0,0,0.1); }
  .nav-links.show { display: flex; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .contact-wrapper { grid-template-columns: 1fr; }
  section { padding: 3rem 5%; }
  .form-actions { flex-direction: column; }
  .portfolio-img-container { height: 300px; } /* taller for mobile so land pictures look good */
}

/* Modals */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 29, 58, 0.8); z-index: 2000; justify-content: center; align-items: center; padding: 1rem; backdrop-filter: blur(5px); }
.modal.active { display: flex; }
.modal-content { background: white; padding: 2.5rem; border-radius: 12px; max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.modal-close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; font-size: 2rem; cursor: pointer; color: #999; transition: var(--transition); }
.modal-close:hover { color: var(--primary-color); }
.modal h2 { color: var(--primary-color); margin-bottom: 1.5rem; }

/* Utilities */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
