/**
 * Gnutech Starter - Desktop Styles
 * Stili specifici per schermi >= 1024px
 */

/* ========================================
   Layout & Container Desktop
   ======================================== */

/* Container più ampi per desktop */
.wp-block-group.alignwide,
.wp-site-blocks .alignwide {
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-group.alignfull,
.wp-site-blocks .alignfull {
	max-width: 100%;
}

/* Content containers */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 1140px;
}

.is-layout-constrained > .alignwide {
	max-width: 1440px;
}

/* ========================================
   Header Desktop - Single Row Layout
   ======================================== */
.site-header {
	padding: 0;
}

.site-header .header-wrapper {
	padding: 1rem 2rem;
	max-width: 1440px;
	margin: 0 auto;
}

/* Main header row - flex layout */
.site-header .header-row-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

/* Logo */
.site-header .site-branding {
	flex-shrink: 0;
}

.site-header .header-logo img,
.site-header .custom-logo {
	max-width: 180px;
	height: auto;
}

/* Hide mobile elements on desktop */
.mobile-menu-toggle {
	display: none !important;
}

.mobile-nav-container {
	display: none !important;
}

/* Show desktop navigation inline */
.desktop-nav-container {
	display: flex !important;
	align-items: center;
	flex: 1;
	justify-content: center;
	border: none;
	padding: 0;
	margin: 0 2rem;
}

.main-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
}

.main-navigation .wp-block-navigation-item {
	margin: 0;
}

.main-navigation .wp-block-navigation-item__content {
	padding: 0.5rem 0;
	font-size: 0.9375rem;
}

/* Header actions - phone + CTA */
.header-actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-shrink: 0;
	margin-left: auto;
}

/* Show CTA button on desktop */
.header-cta-wrapper {
	display: block !important;
}

.header-cta-btn .wp-block-button__link {
	padding: 0.65rem 1.25rem !important;
	font-size: 0.875rem !important;
}

/* ========================================
   Hero Desktop
   ======================================== */
.hero-section .wp-block-cover {
	min-height: 92vh;
}

.hero-section .wp-block-columns {
	gap: 5rem;
}

.hero-section .hero-content {
	max-width: 600px;
}

.hero-title {
	font-size: clamp(2.75rem, 5vw, 4rem);
	line-height: 1.05;
}

.hero-description {
	font-size: 1.25rem;
	max-width: 540px;
}

.hero-stats {
	display: flex !important;
	flex-wrap: nowrap !important;
	flex-direction: row !important;
	gap: 3rem !important;
	margin-top: 4rem;
}

.stat-item {
	padding-right: 3rem;
	flex-shrink: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
	border-right: none;
	padding-right: 0;
}

.hero-visual-col {
	display: block;
}

.hero-card-stack {
	max-width: 420px;
	height: 420px;
}

/* ========================================
   Services Section Desktop
   ======================================== */
.section-servizi {
	padding: 6rem 0;
}

.section-servizi .wp-block-columns {
	gap: 2rem;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.service-card-modern {
	padding: 2.5rem;
}

.service-card-modern h3 {
	font-size: 1.5rem;
}

/* ========================================
   Why Choose Us Desktop
   ======================================== */
.section-why {
	padding: 6rem 0;
}

.section-why .wp-block-columns {
	gap: 4rem;
	align-items: center;
}

.feature-item-modern {
	padding: 1.5rem;
}

/* ========================================
   Blog Section Desktop
   ======================================== */
.section-blog {
	padding: 6rem 0;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.blog-card-modern {
	border-radius: 16px;
}

/* ========================================
   CTA Section Desktop
   ======================================== */
.section-cta {
	padding: 5rem 0;
}

.section-cta h2 {
	font-size: 2.5rem;
	max-width: 700px;
	margin: 0 auto;
}

.cta-buttons {
	gap: 1.5rem;
}

/* ========================================
   Contact Form Desktop
   ======================================== */
.gnutech-contact-form {
	padding: 3rem;
}

.gnutech-form-row {
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

.gnutech-form-group input,
.gnutech-form-group select,
.gnutech-form-group textarea {
	padding: 1.125rem 1.5rem;
}

/* Contact page layout */
.contact-page-layout {
	gap: 4rem;
}

.contact-page-layout .wp-block-column:first-child {
	flex-basis: 60%;
}

.contact-page-layout .wp-block-column:last-child {
	flex-basis: 40%;
}

/* ========================================
   Footer Desktop
   ======================================== */
.site-footer {
	padding: 5rem 0 2rem;
}

.site-footer .wp-block-columns {
	gap: 4rem;
}

.footer-col {
	flex: 1;
}

.footer-col:first-child {
	flex: 1.5;
	max-width: 380px;
}

/* ========================================
   Typography Desktop
   ======================================== */
h1, .has-huge-font-size {
	font-size: clamp(2.5rem, 4vw, 3.5rem);
}

h2, .has-x-large-font-size {
	font-size: clamp(2rem, 3vw, 2.75rem);
}

h3 {
	font-size: 1.5rem;
}

/* ========================================
   Page Templates Desktop
   ======================================== */
.page-hero {
	padding: 8rem 0 5rem;
}

.page-hero h1 {
	font-size: 3.5rem;
}

.page-content {
	padding: 5rem 0;
}

.page-content .wp-block-columns {
	gap: 3rem;
}

/* Service pages */
.service-page-header {
	padding: 6rem 0 4rem;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

/* ========================================
   Hover Effects Desktop Only
   ======================================== */
@media (hover: hover) {
	.service-card-modern:hover {
		transform: translateY(-8px);
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
	}
	
	.blog-card-modern:hover {
		transform: translateY(-8px);
	}
	
	.feature-item-modern:hover {
		transform: translateX(8px);
	}
	
	.wp-block-button__link:hover {
		transform: translateY(-3px);
	}
}

/* ========================================
   Wide Screens (1600px+)
   ======================================== */
@media (min-width: 1600px) {
	.wp-block-group.alignwide,
	.wp-site-blocks .alignwide {
		max-width: 1600px;
	}
	
	.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
		max-width: 1280px;
	}
	
	.hero-section .wp-block-columns {
		gap: 6rem;
	}
	
	.services-grid {
		gap: 2.5rem;
	}
}

/* ========================================
   Chi Siamo - Value Icons Desktop
   ======================================== */
.value-icon-image {
	width: 80px;
	height: 80px;
	margin-bottom: 1.5rem;
}

.value-icon-image img {
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
	animation: float-icon 3s ease-in-out infinite;
}

/* Floating animation per le icone (Desktop) */
@keyframes float-icon {
	0%, 100% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-6px) scale(1.05);
	}
}

/* Hover effect sulle card valori (Desktop) */
.value-card:hover .value-icon-image img {
	transform: scale(1.15) rotate(5deg);
	filter: drop-shadow(0 8px 24px rgba(30, 144, 255, 0.3));
}

/* ========================================
   Chi Siamo - Story Images Desktop
   ======================================== */
.story-visual-images {
	padding: 2rem;
	min-height: 400px;
}

.story-image-grid {
	gap: 1.5rem;
	max-width: 600px;
}

.story-image-item {
	border-radius: 20px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Floating Animation Desktop */
@keyframes float-gentle {
	0%, 100% {
		transform: translateY(0) rotate(0deg);
	}
	25% {
		transform: translateY(-8px) rotate(1deg);
	}
	50% {
		transform: translateY(-4px) rotate(-1deg);
	}
	75% {
		transform: translateY(-12px) rotate(0.5deg);
	}
}

.story-image-item.animate-float {
	animation: float-gentle 6s ease-in-out infinite;
}

/* Hover Effects Desktop */
.story-image-item:hover {
	transform: scale(1.05) translateY(-8px);
	box-shadow: 0 16px 48px rgba(30, 144, 255, 0.25);
	z-index: 10;
}

.story-image-item:hover img {
	transform: scale(1.1);
}

.story-image-item:hover .image-overlay {
	opacity: 1;
}

.image-overlay {
	padding: 1.5rem 1rem 1rem;
}

.image-label {
	font-size: 1.125rem;
}

