/* ===================================
   MIGAC Crystal Crafts - Main Stylesheet
   =================================== */

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo img {
    height: 50px;
}

.logo span {
    color: #ffd700;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #ffd700;
}

.header-cta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-btn {
    background: #ffd700;
    color: #1a237e;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
}

.header-btn:hover {
    background: #ffeb3b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #1565c0 100%);
    color: white;
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.hero p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,215,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-badge span {
    color: #ffd700;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.hero-btn-primary {
    background: #ffd700;
    color: #1a237e;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
}

.hero-btn-primary:hover {
    background: #ffeb3b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,215,0,0.4);
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
    display: inline-block;
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: #ffd700;
    color: #ffd700;
}

/* ===================================
   Section Styles
   =================================== */
.section {
    padding: 80px 20px;
}

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

.section-title {
    text-align: center;
    font-size: 38px;
    color: #1a237e;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background-color: #ffc107;
    color: #1a237e;
}

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

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: white;
    color: #1a237e;
}

/* ===================================
   Cards
   =================================== */
.card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #ffd700;
}

/* ===================================
   Grid Layouts
   =================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

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

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

/* ===================================
   Application Cards
   =================================== */
.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.application-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #ffd700;
}

.application-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.application-card h3 {
    font-size: 24px;
    color: #1a237e;
    margin-bottom: 15px;
    font-weight: 700;
}

.application-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.application-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.application-btn:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26,35,126,0.3);
}

/* ===================================
   Products Grid
   =================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #ffd700;
}

.product-image {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-info {
    padding: 25px;
}

.product-badge {
    display: inline-block;
    background: #ff5252;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-info h3 {
    font-size: 20px;
    color: #1a237e;
    margin-bottom: 10px;
    font-weight: 700;
}

.product-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.spec-item {
    background: #f5f5f5;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.product-btn {
    display: block;
    background: #ffd700;
    color: #1a237e;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s;
}

.product-btn:hover {
    background: #ffeb3b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

.view-all-btn {
    display: block;
    text-align: center;
    margin-top: 50px;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 15px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s;
}

.view-all-btn:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26,35,126,0.4);
}

/* ===================================
   Why Section
   =================================== */
.why-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
}

.why-section .section-title {
    color: white;
}

.why-section .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background: rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255,215,0,0.2);
    backdrop-filter: blur(10px);
}

.why-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 22px;
    color: #ffd700;
    margin-bottom: 15px;
    font-weight: 700;
}

.why-card p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===================================
   Trust Section
   =================================== */
.trust-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.trust-item {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.trust-item h3 {
    font-size: 24px;
    color: #1a237e;
    margin-bottom: 15px;
    font-weight: 700;
}

.trust-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    background: #ffd700;
    color: #1a237e;
    padding: 18px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #ffeb3b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.4);
}

/* ===================================
   Contact Form
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-label {
    font-size: 16px;
    font-weight: bold;
    color: #1a237e;
    margin-bottom: 10px;
}

.contact-info-value {
    font-size: 18px;
    color: #666;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

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

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

/* WhatsApp Button */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    margin-top: 20px;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* ===================================
   Stats Section
   =================================== */
.stats {
    padding: 60px 20px;
    background-color: #f5f5f5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #1a237e;
}

.stat-label {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
}

/* ===================================
   Catalog Section
   =================================== */
.catalog-hero {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.catalog-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.3;
}

.catalog-hero h1 span {
    display: block;
    font-size: 32px;
    font-weight: 600;
    margin-top: 20px;
    opacity: 0.9;
}

.catalog-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.catalog-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.catalog-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 10px;
    border: 2px solid rgba(255,215,0,0.3);
}

.catalog-badge .icon {
    font-size: 24px;
}

.catalog-badge span:last-child {
    font-size: 15px;
    font-weight: 600;
}

.content-section {
    padding: 80px 20px;
    background: white;
}

.content-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.content-section .section-title h2 {
    font-size: 38px;
    color: #1a237e;
    margin-bottom: 15px;
}

.content-section .section-title p {
    font-size: 16px;
    color: #666;
}

.catalog-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-item {
    text-align: center;
}

.catalog-item .icon {
    margin-bottom: 20px;
}

.catalog-item h3 {
    font-size: 22px;
    color: #1a237e;
    margin-bottom: 10px;
    font-weight: 700;
}

.catalog-item p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.catalog-item ul {
    text-align: left;
    padding-left: 20px;
}

.catalog-item li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.catalog-section {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.catalog-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.catalog-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* ===================================
   Contact Page Styles
   =================================== */
.content {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 32px;
    color: #1a237e;
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: #e8eaf6;
    transform: translateX(5px);
}

.contact-item .icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-item .text h3 {
    font-size: 18px;
    color: #1a237e;
    margin-bottom: 5px;
}

.contact-item .text a,
.contact-item .text p {
    font-size: 15px;
    color: #666;
}

.contact-item .text a:hover {
    color: #ffd700;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-container h3 {
    font-size: 28px;
    color: #1a237e;
    margin-bottom: 10px;
}

.contact-form-container > p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.form-submit {
    width: 100%;
    background: #ffd700;
    color: #1a237e;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit:hover {
    background: #ffeb3b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

.required {
    color: #ff5252;
}

.faq-section {
    margin-top: 80px;
}

.faq-section h2 {
    font-size: 36px;
    color: #1a237e;
    text-align: center;
    margin-bottom: 40px;
}

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

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #ffd700;
}

.faq-item h3 {
    font-size: 18px;
    color: #1a237e;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ===================================
   Features
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1a237e;
}

.feature-description {
    color: #666;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: #1a237e;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.footer-section {
    min-width: 0;
}

.footer-section h3 {
    font-size: 18px;
    color: #ffd700;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 18px;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.8;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-subheadline {
        font-size: 18px;
    }

    .nav {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-wrap: wrap;
    }
}
