/*
Theme Name: Salt Creative
Description: A modern, clean WordPress theme for Salt Creative - clothing design and development agency
Version: 1.0
Author: Salt Creative
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Mono', monospace;
    line-height: 1.6;
    color: #0C0B0C;
    background-color: #EEEDEB;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(238, 237, 235, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(12, 11, 12, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0C0B0C;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: #0C0B0C;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #9D7462;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #EEEDEB 0%, #9D7462 100%);
    margin-top: 80px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay for better text readability when background image is used */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 11, 12, 0.4);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: #EEEDEB;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #EEEDEB;
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #0C0B0C;
    color: #EEEDEB;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.cta-button:hover {
    background: #9D7462;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: #EEEDEB;
    border: 2px solid #EEEDEB;
}

.cta-button.secondary:hover {
    background: #EEEDEB;
    color: #0C0B0C;
}

/* Services Section */
.services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: #EEEDEB;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(12, 11, 12, 0.05);
    border: 1px solid rgba(12, 11, 12, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(12, 11, 12, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    background: #9D7462;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background-size: cover;
    background-position: center;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #0C0B0C;
}

.service-card p {
    color: #9D7462;
    margin-bottom: 0;
}

/* Case Studies */
.case-studies {
    background: #9D7462;
    padding: 6rem 0;
    color: #EEEDEB;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-studies h2 {
    color: #EEEDEB;
}

.case-study-card {
    background: #EEEDEB;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(12, 11, 12, 0.1);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(12, 11, 12, 0.2);
}

.case-study-image {
    height: 250px;
    background-color: white;
    /* background: #9D7462; */
    background-size: cover;
    background-position: center;
}

.case-study-content {
    padding: 2rem;
}

.case-study-content h3 {
    margin-bottom: 0.5rem;
    color: #0C0B0C;
}

.case-study-meta {
    color: #9D7462;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.case-study-content p {
    color: #0C0B0C;
    margin-bottom: 1.5rem;
}

.case-study-link {
    color: #9D7462;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.case-study-link:hover {
    color: #0C0B0C;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: #EEEDEB;
    padding: 2.5rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #0C0B0C;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #9D7462;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #EEEDEB;
    color: #0C0B0C;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0C0B0C;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    background: #0C0B0C;
    color: #EEEDEB;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #9D7462;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #0C0B0C;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #0C0B0C;
    color: #EEEDEB;
    text-decoration: none;
    border-radius: 25px;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #9D7462;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: #0C0B0C;
    color: #EEEDEB;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: #9D7462;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #EEEDEB;
}

.copyright {
    color: #9D7462;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    /* Hide navigation links on mobile */
    .main-nav {
        display: none;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid,
    .case-study-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* 
===========================================
IMAGE MANAGEMENT GUIDE FOR SALT CREATIVE
===========================================

1. Theme Images (static assets): place in themes/salt-creative/images/
   - logo.png
   - hero-bg.jpg  
   - service-icons/
   - backgrounds/

2. User Uploads: place in data/files/
   - gallery/
   - uploads/
   - your-image.jpg

3. How to reference in CSS:
   background-image: url('../images/your-image.jpg');

4. How to reference in PHP theme:
   <img src="<?= $Wcms->asset('images/logo.png') ?>" alt="Logo">

5. How to reference user uploads:
   <img src="data/files/your-upload.jpg" alt="Upload">

Example image implementations (uncomment to use):

.hero {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.logo {
    background-image: url('../images/salt-creative-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 200px;
    height: 40px;
    text-indent: -9999px;
}

.service-card:nth-child(1) .service-image {
    background-image: url('../images/garment-design.jpg');
}

.service-card:nth-child(2) .service-image {
    background-image: url('../images/product-development.jpg');
}

.service-card:nth-child(3) .service-image {
    background-image: url('../images/sourcing.jpg');
}

.case-study-image {
    background-image: url('../images/case-study-1.jpg');
}
*/

.service-card:nth-child(1) .service-image {
    background-image: url('../images/service_1.jpg');
}

.service-card:nth-child(2) .service-image {
    background-image: url('../images/service-design.jpg');
}

.service-card:nth-child(3) .service-image {
    background-image: url('../images/service-sourcing.jpg');
}

.case-study-card:nth-child(1) .case-study-image {
    background-image: url('../images/balling.png');
}

.case-study-card:nth-child(2) .case-study-image {
    background-image: url('../images/slick-gorilla.png');
}

.case-study-card:nth-child(3) .case-study-image {
    background-image: url('../images/fuel.png');
}



/* WonderCMS Login Page Styling */
.wUpdate {
    background: rgba(12, 11, 12, 0.9) !important;
    color: #EEEDEB !important;
}

.wUpdate h2 {
    color: #EEEDEB !important;
    font-family: 'DM Mono', monospace;
    font-weight: 600;
}

/* Login Form Container */
body.login-page {
    background: linear-gradient(135deg, #EEEDEB 0%, #9D7462 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Mono', monospace;
}

/* Login Form Styling */
.winput-group {
    background: rgba(238, 237, 235, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(12, 11, 12, 0.15);
    text-align: center;
    /* max-width: 400px; */
    width: 100%;
}

.winput-group h1 {
    color: #0C0B0C !important;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: 'DM Mono', monospace;
}

/* Password Input Field */
.wform-control {
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    border: 2px solid #9D7462 !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    background: #EEEDEB !important;
    color: #0C0B0C !important;
    font-family: 'DM Mono', monospace !important;
    transition: all 0.3s ease !important;
    margin-bottom: 1.5rem !important;
}

.wform-control:focus {
    outline: none !important;
    border-color: #0C0B0C !important;
    box-shadow: 0 0 0 3px rgba(157, 116, 98, 0.2) !important;
}

.wform-control::placeholder {
    color: rgba(12, 11, 12, 0.6) !important;
}

/* Login Button */
.wbtn.wbtn-info {
    background: #0C0B0C !important;
    border: none !important;
    color: #EEEDEB !important;
    padding: 1rem 2.5rem !important;
    border-radius: 50px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'DM Mono', monospace !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-top: 1rem !important;
}

.wbtn.wbtn-info:hover {
    background: #9D7462 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(12, 11, 12, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .winput-group {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .winput-group h1 {
        font-size: 1.75rem;
    }
}

/* Custom Login Page Styling */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-card {
    background: rgba(238, 237, 235, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(12, 11, 12, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.login-header h1 {
    color: #0C0B0C;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'DM Mono', monospace;
}

.login-header p {
    color: #9D7462;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.login-card .form-group {
    margin-bottom: 2rem;
}

.login-card input[type="password"] {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid #9D7462;
    border-radius: 12px;
    font-size: 1rem;
    background: #EEEDEB;
    color: #0C0B0C;
    font-family: 'DM Mono', monospace;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-card input[type="password"]:focus {
    outline: none;
    border-color: #0C0B0C;
    box-shadow: 0 0 0 3px rgba(157, 116, 98, 0.2);
}

.login-card input[type="password"]::placeholder {
    color: rgba(12, 11, 12, 0.6);
}

.login-btn {
    background: #0C0B0C;
    border: none;
    color: #EEEDEB;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Mono', monospace;
    width: 100%;
}

.login-btn:hover {
    background: #9D7462;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 11, 12, 0.2);
}

/* Alternative Sky-inspired Login Styling */
.login-sky-style {
    background: linear-gradient(45deg, #9D7462 0%, #0C0B0C 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EEEDEB;
}

.login-sky-style .login-card {
    background: rgba(238, 237, 235, 0.1);
    border: 1px solid rgba(238, 237, 235, 0.2);
    backdrop-filter: blur(10px);
}

.login-sky-style .login-header h1 {
    color: #EEEDEB;
}

.login-sky-style .login-header p {
    color: rgba(238, 237, 235, 0.8);
}

.login-sky-style input[type="password"] {
    background: rgba(238, 237, 235, 0.1);
    border: 1px solid rgba(238, 237, 235, 0.3);
    color: #EEEDEB;
}

.login-sky-style input[type="password"]::placeholder {
    color: rgba(238, 237, 235, 0.6);
}
