:root {
    /* Color Palette */
    --bg-color: #0d1117;
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --accent-primary: #d2a849; /* Premium Gold/Amber */
    --accent-hover: #e8c468;
    --card-bg: rgba(22, 27, 34, 0.6);
    --card-border: rgba(210, 168, 73, 0.2);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --sp-sm: 0.5rem;
    --sp-md: 1rem;
    --sp-lg: 2rem;
    --sp-xl: 4rem;
    
    /* Effects */
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
    --glass-blur: blur(16px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--sp-xl);
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--sp-xl) var(--sp-lg);
    background: url('../images/hero-bg.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13, 17, 23, 0.7); /* Dark overlay for better readability */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeUp 1s ease-out forwards;
}

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

.rating-stars {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--sp-md);
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-features {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: var(--sp-lg);
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.headline {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: var(--sp-md);
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #b0c4de 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--sp-xl);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #b48c36 100%);
    color: #111;
    box-shadow: 0 4px 15px rgba(210, 168, 73, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 168, 73, 0.4);
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-primary) 100%);
}

.btn-primary:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

/* Pricing Section */
.pricing-section {
    padding: var(--sp-xl) 0;
    background: var(--bg-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--sp-lg);
    margin-bottom: var(--sp-lg);
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.pricing-card.highlight {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(210, 168, 73, 0.1);
}

.pricing-card.highlight::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent-primary);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent-primary);
    color: #111;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 30px;
    transform: rotate(45deg);
}

.card-badge-alt {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #2ecc71;
    color: #111;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 30px;
    transform: rotate(45deg);
}

.mat-name {
    font-size: 1.5rem;
    margin-bottom: var(--sp-sm);
    font-family: var(--font-heading);
}

.mat-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--sp-lg);
    min-height: 50px;
}

.mat-price {
    font-size: 1rem;
    color: var(--text-muted);
}

.mat-price .price-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-heading);
    margin-top: var(--sp-sm);
}

.min-size-disclaimer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.7;
}

/* Calculator Section */
.calculator-section {
    padding: var(--sp-xl) 0;
    position: relative;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(210,168,73,0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.glass-panel {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
}

.calc-left, .calc-right {
    padding: 3rem;
}

.calc-right {
    background: rgba(0,0,0,0.2);
    border-left: 1px solid rgba(255,255,255,0.05);
}

.calc-left .section-title, .calc-right .section-title {
    font-size: 2rem;
    text-align: left;
    margin-bottom: var(--sp-sm);
}

.calc-left p {
    color: var(--text-muted);
    margin-bottom: var(--sp-lg);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: #ccc;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 0 3px rgba(210, 168, 73, 0.1);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d2a849' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

select option {
    background: #111;
    color: #fff;
}

.calc-method-toggle {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius);
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #ccc;
}

.radio-label input {
    accent-color: var(--accent-primary);
    width: 18px;
    height: 18px;
}

.method-group {
    display: none;
    animation: fadeIn 0.3s ease;
}

.method-group.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.result-box {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(210,168,73,0.1) 0%, rgba(210,168,73,0.02) 100%);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius);
    text-align: center;
}

.result-label {
    font-size: 1.1rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.result-value {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
}

.small-disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem !important;
    text-align: center;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.form-msg {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    display: none;
    font-weight: 500;
}

.form-msg.success {
    display: block;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.form-msg.error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Footer */
.site-footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #090c10;
    text-align: center;
}

.legal-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    color: #555;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .headline { font-size: 3rem; }
    .glass-panel { grid-template-columns: 1fr; }
    .calc-right { border-left: none; border-top: 1px solid rgba(255,255,255,0.05); }
}

/* Portfolio Gallery */
.portfolio-section { padding: var(--sp-xl) 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 250px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); }
.gallery-title {
    color: #fff;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.gallery-details {
    list-style: none;
    color: #ddd;
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 0;
    margin: 0;
}
.gallery-details li { margin-bottom: 2px; }
.gallery-details strong { color: var(--accent-primary); }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, padding 0.3s ease;
    padding: 15px;
    gap: 10px;
}

.whatsapp-float.prominent .whatsapp-text {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    max-width: 250px;
    line-height: 1.2;
}

.whatsapp-float:hover { transform: scale(1.05); }
.whatsapp-icon { width: 35px; height: 35px; flex-shrink: 0; }

.cta-or {
    text-align: center;
    margin: 10px 0;
    font-weight: 600;
    color: #aaa;
}

.btn-whatsapp-large {
    display: inline-block;
    width: 100%;
    padding: 14px 16px;
    background-color: #25d366;
    color: #fff;
    text-align: center;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    border: none;
}

.btn-whatsapp-large:hover {
    background-color: #20b858;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .headline { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .calc-left, .calc-right { padding: 2rem 1.5rem; }
    .input-row { grid-template-columns: 1fr; }
    .whatsapp-float { bottom: 20px; right: 20px; border-radius: 50%; padding: 10px; }
    .whatsapp-float.prominent .whatsapp-text { display: none; } /* Hide text on mobile to avoid covering screen */
    .whatsapp-icon { width: 30px; height: 30px; }
    .hero-features { flex-direction: column; gap: 0.5rem; align-items: center; }
}
